blob: 1f3f1b519438aa2eebf5446a978022bec3c5ee59 [file] [log] [blame]
/**
* Copyright (c) 2016 Willink Transformations, Univesity of York and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Adolfo Sanchez-Barbudo Herrera - initial API and implementation
*/
package cs2as.company;
import cs2as.company.util.Visitable;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Department</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link cs2as.company.Department#getName <em>Name</em>}</li>
* <li>{@link cs2as.company.Department#getManager <em>Manager</em>}</li>
* <li>{@link cs2as.company.Department#getSubdepts <em>Subdepts</em>}</li>
* <li>{@link cs2as.company.Department#getEmployees <em>Employees</em>}</li>
* </ul>
*
* @see cs2as.company.CompanyPackage#getDepartment()
* @model superTypes="cs2as.company.Visitable"
* @generated
*/
public interface Department extends EObject, Visitable {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see cs2as.company.CompanyPackage#getDepartment_Name()
* @model required="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/companies/AS/1.0!Department!name'"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link cs2as.company.Department#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Manager</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Manager</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Manager</em>' containment reference.
* @see #setManager(Employee)
* @see cs2as.company.CompanyPackage#getDepartment_Manager()
* @model containment="true" required="true" ordered="false"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/companies/AS/1.0!Department!manager'"
* @generated
*/
Employee getManager();
/**
* Sets the value of the '{@link cs2as.company.Department#getManager <em>Manager</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Manager</em>' containment reference.
* @see #getManager()
* @generated
*/
void setManager(Employee value);
/**
* Returns the value of the '<em><b>Subdepts</b></em>' containment reference list.
* The list contents are of type {@link cs2as.company.Department}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Subdepts</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Subdepts</em>' containment reference list.
* @see cs2as.company.CompanyPackage#getDepartment_Subdepts()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/companies/AS/1.0!Department!subdepts'"
* @generated
*/
EList<Department> getSubdepts();
/**
* Returns the value of the '<em><b>Employees</b></em>' containment reference list.
* The list contents are of type {@link cs2as.company.Employee}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Employees</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Employees</em>' containment reference list.
* @see cs2as.company.CompanyPackage#getDepartment_Employees()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/companies/AS/1.0!Department!employees'"
* @generated
*/
EList<Employee> getEmployees();
} // Department