Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java166
1 files changed, 0 insertions, 166 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java
deleted file mode 100644
index a684be18b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: EmployeeImpl.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Employee</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl#getDepartment <em>Department</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EmployeeImpl extends PersonImpl implements Employee {
- /**
- * The default value of the '{@link #getDepartment() <em>Department</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDepartment()
- * @generated
- * @ordered
- */
- protected static final String DEPARTMENT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDepartment() <em>Department</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDepartment()
- * @generated
- * @ordered
- */
- protected String department = DEPARTMENT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EmployeeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AssociationoverridePackage.Literals.EMPLOYEE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDepartment() {
- return department;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDepartment(String newDepartment) {
- String oldDepartment = department;
- department = newDepartment;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.EMPLOYEE__DEPARTMENT, oldDepartment, department));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case AssociationoverridePackage.EMPLOYEE__DEPARTMENT:
- return getDepartment();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case AssociationoverridePackage.EMPLOYEE__DEPARTMENT:
- setDepartment((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.EMPLOYEE__DEPARTMENT:
- setDepartment(DEPARTMENT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.EMPLOYEE__DEPARTMENT:
- return DEPARTMENT_EDEFAULT == null ? department != null : !DEPARTMENT_EDEFAULT.equals(department);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (department: ");
- result.append(department);
- result.append(')');
- return result.toString();
- }
-
-} //EmployeeImpl \ No newline at end of file

Back to the top