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')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Address.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverrideFactory.java73
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverridePackage.java493
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Employee.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Person.java141
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Student.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AddressImpl.java221
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverrideFactoryImpl.java132
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverridePackageImpl.java455
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/EmployeeImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/PersonImpl.java336
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/StudentImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.genmodel26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.xsd56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore92
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore_diagram103
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideAdapterFactory.java178
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideSwitch.java195
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/AddressValidator.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/EmployeeValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/PersonValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/StudentValidator.java20
25 files changed, 0 insertions, 3249 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Address.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Address.java
deleted file mode 100644
index 5ff272017..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Address.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Address.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getStreet <em>Street</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getPostalCode <em>Postal Code</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getAddress()
- * @model extendedMetaData="name='Address' kind='elementOnly'"
- * @generated
- */
-public interface Address extends EObject {
- /**
- * Returns the value of the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Street</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Street</em>' attribute.
- * @see #setStreet(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getAddress_Street()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='street'"
- * @generated
- */
- String getStreet();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getStreet <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Street</em>' attribute.
- * @see #getStreet()
- * @generated
- */
- void setStreet(String value);
-
- /**
- * Returns the value of the '<em><b>Postal Code</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Postal Code</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Postal Code</em>' attribute.
- * @see #setPostalCode(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getAddress_PostalCode()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='postalCode'"
- * @generated
- */
- String getPostalCode();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getPostalCode <em>Postal Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Postal Code</em>' attribute.
- * @see #getPostalCode()
- * @generated
- */
- void setPostalCode(String value);
-
-} // Address \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverrideFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverrideFactory.java
deleted file mode 100644
index 17b33d764..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverrideFactory.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideFactory.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage
- * @generated
- */
-public interface AssociationoverrideFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- AssociationoverrideFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverrideFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Address</em>'.
- * @generated
- */
- Address createAddress();
-
- /**
- * Returns a new object of class '<em>Employee</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Employee</em>'.
- * @generated
- */
- Employee createEmployee();
-
- /**
- * Returns a new object of class '<em>Person</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Person</em>'.
- * @generated
- */
- Person createPerson();
-
- /**
- * Returns a new object of class '<em>Student</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Student</em>'.
- * @generated
- */
- Student createStudent();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- AssociationoverridePackage getAssociationoverridePackage();
-
-} //AssociationoverrideFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverridePackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverridePackage.java
deleted file mode 100644
index 1ade0096e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/AssociationoverridePackage.java
+++ /dev/null
@@ -1,493 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverridePackage.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverrideFactory
- * @model kind="package"
- * @generated
- */
-public interface AssociationoverridePackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "associationoverride";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "associationoverride";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- AssociationoverridePackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getAddress()
- * @generated
- */
- int ADDRESS = 0;
-
- /**
- * The feature id for the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS__STREET = 0;
-
- /**
- * The feature id for the '<em><b>Postal Code</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS__POSTAL_CODE = 1;
-
- /**
- * The number of structural features of the '<em>Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl <em>Person</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getPerson()
- * @generated
- */
- int PERSON = 2;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__ID = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__NAME = 1;
-
- /**
- * The feature id for the '<em><b>Address</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON__ADDRESS = 2;
-
- /**
- * The number of structural features of the '<em>Person</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PERSON_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl <em>Employee</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getEmployee()
- * @generated
- */
- int EMPLOYEE = 1;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE__ID = PERSON__ID;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE__NAME = PERSON__NAME;
-
- /**
- * The feature id for the '<em><b>Address</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE__ADDRESS = PERSON__ADDRESS;
-
- /**
- * The feature id for the '<em><b>Department</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE__DEPARTMENT = PERSON_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Employee</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EMPLOYEE_FEATURE_COUNT = PERSON_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl <em>Student</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getStudent()
- * @generated
- */
- int STUDENT = 3;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT__ID = PERSON__ID;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT__NAME = PERSON__NAME;
-
- /**
- * The feature id for the '<em><b>Address</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT__ADDRESS = PERSON__ADDRESS;
-
- /**
- * The feature id for the '<em><b>Faculty</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT__FACULTY = PERSON_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Student</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STUDENT_FEATURE_COUNT = PERSON_FEATURE_COUNT + 1;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address
- * @generated
- */
- EClass getAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getStreet <em>Street</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Street</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getStreet()
- * @see #getAddress()
- * @generated
- */
- EAttribute getAddress_Street();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getPostalCode <em>Postal Code</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Postal Code</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address#getPostalCode()
- * @see #getAddress()
- * @generated
- */
- EAttribute getAddress_PostalCode();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee <em>Employee</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Employee</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee
- * @generated
- */
- EClass getEmployee();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee#getDepartment <em>Department</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Department</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee#getDepartment()
- * @see #getEmployee()
- * @generated
- */
- EAttribute getEmployee_Department();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person <em>Person</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Person</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person
- * @generated
- */
- EClass getPerson();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId()
- * @see #getPerson()
- * @generated
- */
- EAttribute getPerson_Id();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getName()
- * @see #getPerson()
- * @generated
- */
- EAttribute getPerson_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getAddress()
- * @see #getPerson()
- * @generated
- */
- EReference getPerson_Address();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student <em>Student</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Student</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student
- * @generated
- */
- EClass getStudent();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student#getFaculty <em>Faculty</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Faculty</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student#getFaculty()
- * @see #getStudent()
- * @generated
- */
- EAttribute getStudent_Faculty();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- AssociationoverrideFactory getAssociationoverrideFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getAddress()
- * @generated
- */
- EClass ADDRESS = eINSTANCE.getAddress();
-
- /**
- * The meta object literal for the '<em><b>Street</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADDRESS__STREET = eINSTANCE.getAddress_Street();
-
- /**
- * The meta object literal for the '<em><b>Postal Code</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADDRESS__POSTAL_CODE = eINSTANCE.getAddress_PostalCode();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl <em>Employee</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.EmployeeImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getEmployee()
- * @generated
- */
- EClass EMPLOYEE = eINSTANCE.getEmployee();
-
- /**
- * The meta object literal for the '<em><b>Department</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute EMPLOYEE__DEPARTMENT = eINSTANCE.getEmployee_Department();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl <em>Person</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getPerson()
- * @generated
- */
- EClass PERSON = eINSTANCE.getPerson();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PERSON__ID = eINSTANCE.getPerson_Id();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PERSON__NAME = eINSTANCE.getPerson_Name();
-
- /**
- * The meta object literal for the '<em><b>Address</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PERSON__ADDRESS = eINSTANCE.getPerson_Address();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl <em>Student</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AssociationoverridePackageImpl#getStudent()
- * @generated
- */
- EClass STUDENT = eINSTANCE.getStudent();
-
- /**
- * The meta object literal for the '<em><b>Faculty</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute STUDENT__FACULTY = eINSTANCE.getStudent_Faculty();
-
- }
-
-} //AssociationoverridePackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Employee.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Employee.java
deleted file mode 100644
index cc3bf6e22..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Employee.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Employee.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Employee</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee#getDepartment <em>Department</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getEmployee()
- * @model annotation="teneo.jpa appinfo='@AssociationOverride(name=\"address\" joinColumns=@JoinColumn(name=\"employee_address_id\"))'"
- * extendedMetaData="name='Employee' kind='elementOnly'"
- * @generated
- */
-public interface Employee extends Person {
- /**
- * Returns the value of the '<em><b>Department</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Department</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Department</em>' attribute.
- * @see #setDepartment(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getEmployee_Department()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='department'"
- * @generated
- */
- String getDepartment();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee#getDepartment <em>Department</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Department</em>' attribute.
- * @see #getDepartment()
- * @generated
- */
- void setDepartment(String value);
-
-} // Employee \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Person.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Person.java
deleted file mode 100644
index ffab3bd9e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Person.java
+++ /dev/null
@@ -1,141 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Person.java,v 1.4 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Person</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getAddress <em>Address</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getPerson()
- * @model annotation="teneo.jpa appinfo='@MappedSuperclass'"
- * extendedMetaData="name='Person' kind='elementOnly'"
- * @generated
- */
-public interface Person extends EObject {
- /**
- * Returns the value of the '<em><b>Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' attribute.
- * @see #isSetId()
- * @see #unsetId()
- * @see #setId(long)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getPerson_Id()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" required="true"
- * annotation="teneo.jpa appinfo='@Id'"
- * extendedMetaData="kind='element' name='id'"
- * @generated
- */
- long getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' attribute.
- * @see #isSetId()
- * @see #unsetId()
- * @see #getId()
- * @generated
- */
- void setId(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetId()
- * @see #getId()
- * @see #setId(long)
- * @generated
- */
- void unsetId();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getId <em>Id</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Id</em>' attribute is set.
- * @see #unsetId()
- * @see #getId()
- * @see #setId(long)
- * @generated
- */
- boolean isSetId();
-
- /**
- * 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 org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getPerson_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#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>Address</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Address</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>Address</em>' containment reference.
- * @see #setAddress(Address)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getPerson_Address()
- * @model containment="true" required="true"
- * annotation="teneo.jpa appinfo='@ManyToOne'"
- * extendedMetaData="kind='element' name='address'"
- * @generated
- */
- Address getAddress();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person#getAddress <em>Address</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Address</em>' containment reference.
- * @see #getAddress()
- * @generated
- */
- void setAddress(Address value);
-
-} // Person \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Student.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Student.java
deleted file mode 100644
index edbae2879..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/Student.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Student.java,v 1.3 2010/02/06 18:17:46 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Student</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student#getFaculty <em>Faculty</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getStudent()
- * @model extendedMetaData="name='Student' kind='elementOnly'"
- * @generated
- */
-public interface Student extends Person {
- /**
- * Returns the value of the '<em><b>Faculty</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Faculty</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Faculty</em>' attribute.
- * @see #setFaculty(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#getStudent_Faculty()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='faculty'"
- * @generated
- */
- String getFaculty();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student#getFaculty <em>Faculty</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Faculty</em>' attribute.
- * @see #getFaculty()
- * @generated
- */
- void setFaculty(String value);
-
-} // Student \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AddressImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AddressImpl.java
deleted file mode 100644
index 198cb574f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AddressImpl.java
+++ /dev/null
@@ -1,221 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AddressImpl.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.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl#getStreet <em>Street</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.AddressImpl#getPostalCode <em>Postal Code</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AddressImpl extends EObjectImpl implements Address {
- /**
- * The default value of the '{@link #getStreet() <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStreet()
- * @generated
- * @ordered
- */
- protected static final String STREET_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStreet() <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStreet()
- * @generated
- * @ordered
- */
- protected String street = STREET_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPostalCode() <em>Postal Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPostalCode()
- * @generated
- * @ordered
- */
- protected static final String POSTAL_CODE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPostalCode() <em>Postal Code</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPostalCode()
- * @generated
- * @ordered
- */
- protected String postalCode = POSTAL_CODE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AddressImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AssociationoverridePackage.Literals.ADDRESS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStreet() {
- return street;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStreet(String newStreet) {
- String oldStreet = street;
- street = newStreet;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.ADDRESS__STREET, oldStreet, street));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPostalCode() {
- return postalCode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPostalCode(String newPostalCode) {
- String oldPostalCode = postalCode;
- postalCode = newPostalCode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.ADDRESS__POSTAL_CODE, oldPostalCode, postalCode));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case AssociationoverridePackage.ADDRESS__STREET:
- return getStreet();
- case AssociationoverridePackage.ADDRESS__POSTAL_CODE:
- return getPostalCode();
- }
- 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.ADDRESS__STREET:
- setStreet((String)newValue);
- return;
- case AssociationoverridePackage.ADDRESS__POSTAL_CODE:
- setPostalCode((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.ADDRESS__STREET:
- setStreet(STREET_EDEFAULT);
- return;
- case AssociationoverridePackage.ADDRESS__POSTAL_CODE:
- setPostalCode(POSTAL_CODE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.ADDRESS__STREET:
- return STREET_EDEFAULT == null ? street != null : !STREET_EDEFAULT.equals(street);
- case AssociationoverridePackage.ADDRESS__POSTAL_CODE:
- return POSTAL_CODE_EDEFAULT == null ? postalCode != null : !POSTAL_CODE_EDEFAULT.equals(postalCode);
- }
- 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(" (street: ");
- result.append(street);
- result.append(", postalCode: ");
- result.append(postalCode);
- result.append(')');
- return result.toString();
- }
-
-} //AddressImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverrideFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverrideFactoryImpl.java
deleted file mode 100644
index 19499c0b8..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverrideFactoryImpl.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideFactoryImpl.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.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class AssociationoverrideFactoryImpl extends EFactoryImpl implements AssociationoverrideFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static AssociationoverrideFactory init() {
- try {
- AssociationoverrideFactory theAssociationoverrideFactory = (AssociationoverrideFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride");
- if (theAssociationoverrideFactory != null) {
- return theAssociationoverrideFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new AssociationoverrideFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case AssociationoverridePackage.ADDRESS: return createAddress();
- case AssociationoverridePackage.EMPLOYEE: return createEmployee();
- case AssociationoverridePackage.PERSON: return createPerson();
- case AssociationoverridePackage.STUDENT: return createStudent();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Address createAddress() {
- AddressImpl address = new AddressImpl();
- return address;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Employee createEmployee() {
- EmployeeImpl employee = new EmployeeImpl();
- return employee;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Person createPerson() {
- PersonImpl person = new PersonImpl();
- return person;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Student createStudent() {
- StudentImpl student = new StudentImpl();
- return student;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverridePackage getAssociationoverridePackage() {
- return (AssociationoverridePackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static AssociationoverridePackage getPackage() {
- return AssociationoverridePackage.eINSTANCE;
- }
-
-} //AssociationoverrideFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverridePackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverridePackageImpl.java
deleted file mode 100644
index 0d49f8032..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/AssociationoverridePackageImpl.java
+++ /dev/null
@@ -1,455 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverridePackageImpl.java,v 1.5 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverrideFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class AssociationoverridePackageImpl extends EPackageImpl implements AssociationoverridePackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass addressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass employeeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass personEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass studentEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage#eNS_URI
- * @see #init()
- * @generated
- */
- private AssociationoverridePackageImpl() {
- super(eNS_URI, AssociationoverrideFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this
- * model, and for any others upon which it depends. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static AssociationoverridePackage init() {
- if (isInited) return (AssociationoverridePackage)EPackage.Registry.INSTANCE.getEPackage(AssociationoverridePackage.eNS_URI);
-
- // Obtain or create and register package
- AssociationoverridePackageImpl theAssociationoverridePackage = (AssociationoverridePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof AssociationoverridePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new AssociationoverridePackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theAssociationoverridePackage.createPackageContents();
-
- // Initialize created meta-data
- theAssociationoverridePackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theAssociationoverridePackage.freeze();
-
- return theAssociationoverridePackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAddress() {
- return addressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddress_Street() {
- return (EAttribute)addressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddress_PostalCode() {
- return (EAttribute)addressEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getEmployee() {
- return employeeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getEmployee_Department() {
- return (EAttribute)employeeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPerson() {
- return personEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPerson_Id() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPerson_Name() {
- return (EAttribute)personEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPerson_Address() {
- return (EReference)personEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getStudent() {
- return studentEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getStudent_Faculty() {
- return (EAttribute)studentEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideFactory getAssociationoverrideFactory() {
- return (AssociationoverrideFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- addressEClass = createEClass(ADDRESS);
- createEAttribute(addressEClass, ADDRESS__STREET);
- createEAttribute(addressEClass, ADDRESS__POSTAL_CODE);
-
- employeeEClass = createEClass(EMPLOYEE);
- createEAttribute(employeeEClass, EMPLOYEE__DEPARTMENT);
-
- personEClass = createEClass(PERSON);
- createEAttribute(personEClass, PERSON__ID);
- createEAttribute(personEClass, PERSON__NAME);
- createEReference(personEClass, PERSON__ADDRESS);
-
- studentEClass = createEClass(STUDENT);
- createEAttribute(studentEClass, STUDENT__FACULTY);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- employeeEClass.getESuperTypes().add(this.getPerson());
- studentEClass.getESuperTypes().add(this.getPerson());
-
- // Initialize classes and features; add operations and parameters
- initEClass(addressEClass, Address.class, "Address", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAddress_Street(), theXMLTypePackage.getString(), "street", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAddress_PostalCode(), theXMLTypePackage.getString(), "postalCode", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(employeeEClass, Employee.class, "Employee", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEmployee_Department(), theXMLTypePackage.getString(), "department", null, 1, 1, Employee.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(personEClass, Person.class, "Person", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPerson_Id(), theXMLTypePackage.getLong(), "id", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPerson_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPerson_Address(), this.getAddress(), null, "address", null, 1, 1, Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(studentEClass, Student.class, "Student", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStudent_Faculty(), theXMLTypePackage.getString(), "faculty", null, 1, 1, Student.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- // teneo.jpa
- createTeneoAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (addressEClass,
- source,
- new String[] {
- "name", "Address",
- "kind", "elementOnly"
- });
- addAnnotation
- (getAddress_Street(),
- source,
- new String[] {
- "kind", "element",
- "name", "street"
- });
- addAnnotation
- (getAddress_PostalCode(),
- source,
- new String[] {
- "kind", "element",
- "name", "postalCode"
- });
- addAnnotation
- (employeeEClass,
- source,
- new String[] {
- "name", "Employee",
- "kind", "elementOnly"
- });
- addAnnotation
- (getEmployee_Department(),
- source,
- new String[] {
- "kind", "element",
- "name", "department"
- });
- addAnnotation
- (personEClass,
- source,
- new String[] {
- "name", "Person",
- "kind", "elementOnly"
- });
- addAnnotation
- (getPerson_Id(),
- source,
- new String[] {
- "kind", "element",
- "name", "id"
- });
- addAnnotation
- (getPerson_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (getPerson_Address(),
- source,
- new String[] {
- "kind", "element",
- "name", "address"
- });
- addAnnotation
- (studentEClass,
- source,
- new String[] {
- "name", "Student",
- "kind", "elementOnly"
- });
- addAnnotation
- (getStudent_Faculty(),
- source,
- new String[] {
- "kind", "element",
- "name", "faculty"
- });
- }
-
- /**
- * Initializes the annotations for <b>teneo.jpa</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createTeneoAnnotations() {
- String source = "teneo.jpa";
- addAnnotation
- (employeeEClass,
- source,
- new String[] {
- "appinfo", "@AssociationOverride(name=\"address\" joinColumns=@JoinColumn(name=\"employee_address_id\"))"
- });
- addAnnotation
- (personEClass,
- source,
- new String[] {
- "appinfo", "@MappedSuperclass"
- });
- addAnnotation
- (getPerson_Id(),
- source,
- new String[] {
- "appinfo", "@Id"
- });
- addAnnotation
- (getPerson_Address(),
- source,
- new String[] {
- "appinfo", "@ManyToOne"
- });
- }
-
-} //AssociationoverridePackageImpl
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
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/PersonImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/PersonImpl.java
deleted file mode 100644
index 8b4029f02..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/PersonImpl.java
+++ /dev/null
@@ -1,336 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PersonImpl.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.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Person</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.PersonImpl#getAddress <em>Address</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PersonImpl extends EObjectImpl implements Person {
- /**
- * The default value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected static final long ID_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected long id = ID_EDEFAULT;
-
- /**
- * This is true if the Id attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean idESet = false;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getAddress() <em>Address</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAddress()
- * @generated
- * @ordered
- */
- protected Address address = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PersonImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AssociationoverridePackage.Literals.PERSON;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public long getId() {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(long newId) {
- long oldId = id;
- id = newId;
- boolean oldIdESet = idESet;
- idESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.PERSON__ID, oldId, id, !oldIdESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetId() {
- long oldId = id;
- boolean oldIdESet = idESet;
- id = ID_EDEFAULT;
- idESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, AssociationoverridePackage.PERSON__ID, oldId, ID_EDEFAULT, oldIdESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetId() {
- return idESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.PERSON__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Address getAddress() {
- return address;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetAddress(Address newAddress, NotificationChain msgs) {
- Address oldAddress = address;
- address = newAddress;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.PERSON__ADDRESS, oldAddress, newAddress);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAddress(Address newAddress) {
- if (newAddress != address) {
- NotificationChain msgs = null;
- if (address != null)
- msgs = ((InternalEObject)address).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - AssociationoverridePackage.PERSON__ADDRESS, null, msgs);
- if (newAddress != null)
- msgs = ((InternalEObject)newAddress).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - AssociationoverridePackage.PERSON__ADDRESS, null, msgs);
- msgs = basicSetAddress(newAddress, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.PERSON__ADDRESS, newAddress, newAddress));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case AssociationoverridePackage.PERSON__ADDRESS:
- return basicSetAddress(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case AssociationoverridePackage.PERSON__ID:
- return new Long(getId());
- case AssociationoverridePackage.PERSON__NAME:
- return getName();
- case AssociationoverridePackage.PERSON__ADDRESS:
- return getAddress();
- }
- 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.PERSON__ID:
- setId(((Long)newValue).longValue());
- return;
- case AssociationoverridePackage.PERSON__NAME:
- setName((String)newValue);
- return;
- case AssociationoverridePackage.PERSON__ADDRESS:
- setAddress((Address)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.PERSON__ID:
- unsetId();
- return;
- case AssociationoverridePackage.PERSON__NAME:
- setName(NAME_EDEFAULT);
- return;
- case AssociationoverridePackage.PERSON__ADDRESS:
- setAddress((Address)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.PERSON__ID:
- return isSetId();
- case AssociationoverridePackage.PERSON__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case AssociationoverridePackage.PERSON__ADDRESS:
- return address != null;
- }
- 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(" (id: ");
- if (idESet) result.append(id); else result.append("<unset>");
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //PersonImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/StudentImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/StudentImpl.java
deleted file mode 100644
index 99477ef65..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/impl/StudentImpl.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: StudentImpl.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.Student;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Student</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.impl.StudentImpl#getFaculty <em>Faculty</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StudentImpl extends PersonImpl implements Student {
- /**
- * The default value of the '{@link #getFaculty() <em>Faculty</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFaculty()
- * @generated
- * @ordered
- */
- protected static final String FACULTY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getFaculty() <em>Faculty</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFaculty()
- * @generated
- * @ordered
- */
- protected String faculty = FACULTY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected StudentImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return AssociationoverridePackage.Literals.STUDENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getFaculty() {
- return faculty;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFaculty(String newFaculty) {
- String oldFaculty = faculty;
- faculty = newFaculty;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, AssociationoverridePackage.STUDENT__FACULTY, oldFaculty, faculty));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case AssociationoverridePackage.STUDENT__FACULTY:
- return getFaculty();
- }
- 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.STUDENT__FACULTY:
- setFaculty((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.STUDENT__FACULTY:
- setFaculty(FACULTY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case AssociationoverridePackage.STUDENT__FACULTY:
- return FACULTY_EDEFAULT == null ? faculty != null : !FACULTY_EDEFAULT.equals(faculty);
- }
- 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(" (faculty: ");
- result.append(faculty);
- result.append(')');
- return result.toString();
- }
-
-} //StudentImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.genmodel
deleted file mode 100644
index 4edc7eeca..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.genmodel
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.teneo.samples/src"
- modelPluginID="org.eclipse.emf.teneo.samples" modelName="AssociationOverride"
- importerID="org.eclipse.xsd.ecore.importer" complianceLevel="5.0">
- <foreignModel>AssociationOverride.xsd</foreignModel>
- <genPackages prefix="Associationoverride" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="associationoverride.ecore#/">
- <genClasses ecoreClass="associationoverride.ecore#//Address">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Address/street"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Address/postalCode"/>
- </genClasses>
- <genClasses ecoreClass="associationoverride.ecore#//Employee">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Employee/department"/>
- </genClasses>
- <genClasses ecoreClass="associationoverride.ecore#//Person">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Person/id"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Person/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference associationoverride.ecore#//Person/address"/>
- </genClasses>
- <genClasses ecoreClass="associationoverride.ecore#//Student">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute associationoverride.ecore#//Student/faculty"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.xsd
deleted file mode 100644
index 4dea7e203..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/AssociationOverride.xsd
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride">
-
- <xsd:complexType name="Address">
- <xsd:sequence>
- <xsd:element name="street" type="xsd:string"/>
- <xsd:element name="postalCode" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Person">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@MappedSuperclass</xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="id" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Id</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="name" type="xsd:string"/>
- <xsd:element name="address" type="this:Address">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@ManyToOne</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Student">
- <!-- Leave the Address foreign key column as-is. ("address_id") -->
- <xsd:complexContent>
- <xsd:extension base="this:Person">
- <xsd:sequence>
- <xsd:element name="faculty" type="xsd:string"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
- <xsd:complexType name="Employee">
- <xsd:annotation>
- <!-- Override the Address foreign key column. ("employee_address_id") -->
- <xsd:appinfo source="teneo.jpa">@AssociationOverride(name="address" joinColumns=@JoinColumn(name="employee_address_id"))</xsd:appinfo>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="this:Person">
- <xsd:sequence>
- <xsd:element name="department" type="xsd:string"/>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
-</xsd:schema> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore
deleted file mode 100644
index ec2fbffca..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="associationoverride"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/associationoverride"
- nsPrefix="associationoverride">
- <eClassifiers xsi:type="ecore:EClass" name="Address">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Address"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="street"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="postalCode" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="postalCode"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Employee" eSuperTypes="#//Person">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@AssociationOverride(name=&quot;address&quot; joinColumns=@JoinColumn(name=&quot;employee_address_id&quot;))"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Employee"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="department" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="department"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Person">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@MappedSuperclass"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Person"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long" unsettable="true">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="address" lowerBound="1"
- eType="#//Address" containment="true" resolveProxies="false">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@ManyToOne"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="address"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Student" eSuperTypes="#//Person">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Student"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="faculty" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="faculty"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore_diagram b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore_diagram
deleted file mode 100644
index 44ee51987..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/model/associationoverride.ecore_diagram
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.0/notation" xmi:id="_TMWwQAuNEdurFblPbm8dBg" type="Ecore" measurementUnit="Pixel">
- <children xmi:type="notation:Node" xmi:id="_xt_4MAuOEdurFblPbm8dBg" type="2001">
- <children xmi:type="notation:Node" xmi:id="_xt_4NguOEdurFblPbm8dBg" type="5001"/>
- <children xmi:type="notation:Node" xmi:id="_xt_4NwuOEdurFblPbm8dBg" type="7001">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuAfQAuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuAfQQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuAfQguOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuAfQwuOEdurFblPbm8dBg" type="7002">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuAfRAuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuAfRQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuAfRguOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuAfRwuOEdurFblPbm8dBg" type="7003">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuAfSAuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuAfSQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuAfSguOEdurFblPbm8dBg"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_xt_4MQuOEdurFblPbm8dBg" fontName="Sans"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_xt_4MguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FillStyle" xmi:id="_xt_4MwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:LineStyle" xmi:id="_xt_4NAuOEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EClass" href="associationoverride.ecore#//Address"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xt_4NQuOEdurFblPbm8dBg" x="128" y="16" width="176" height="80"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuAfSwuOEdurFblPbm8dBg" type="2001">
- <children xmi:type="notation:Node" xmi:id="_xuBGUAuOEdurFblPbm8dBg" type="5001"/>
- <children xmi:type="notation:Node" xmi:id="_xuBGUQuOEdurFblPbm8dBg" type="7001">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuBGUguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuBGUwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuBGVAuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuBGVQuOEdurFblPbm8dBg" type="7002">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuBGVguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuBGVwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuBGWAuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuBGWQuOEdurFblPbm8dBg" type="7003">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuBGWguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuBGWwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuBGXAuOEdurFblPbm8dBg"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_xuAfTAuOEdurFblPbm8dBg" fontName="Sans"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_xuAfTQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FillStyle" xmi:id="_xuAfTguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:LineStyle" xmi:id="_xuAfTwuOEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EClass" href="associationoverride.ecore#//Employee"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xuAfUAuOEdurFblPbm8dBg" x="320" y="192" width="320" height="112"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuBtYAuOEdurFblPbm8dBg" type="2001">
- <children xmi:type="notation:Node" xmi:id="_xuBtZguOEdurFblPbm8dBg" type="5001"/>
- <children xmi:type="notation:Node" xmi:id="_xuBtZwuOEdurFblPbm8dBg" type="7001">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuBtaAuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuBtaQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuBtaguOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuCUcAuOEdurFblPbm8dBg" type="7002">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuCUcQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuCUcguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuCUcwuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuCUdAuOEdurFblPbm8dBg" type="7003">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuCUdQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuCUdguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuCUdwuOEdurFblPbm8dBg"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_xuBtYQuOEdurFblPbm8dBg" fontName="Sans"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_xuBtYguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FillStyle" xmi:id="_xuBtYwuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:LineStyle" xmi:id="_xuBtZAuOEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EClass" href="associationoverride.ecore#//Person"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xuBtZQuOEdurFblPbm8dBg" x="480" width="272" height="112"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuCUeAuOEdurFblPbm8dBg" type="2001">
- <children xmi:type="notation:Node" xmi:id="_xuCUfguOEdurFblPbm8dBg" type="5001"/>
- <children xmi:type="notation:Node" xmi:id="_xuC7gAuOEdurFblPbm8dBg" type="7001">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuC7gQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuC7gguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuC7gwuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuC7hAuOEdurFblPbm8dBg" type="7002">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuC7hQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuC7hguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuC7hwuOEdurFblPbm8dBg"/>
- </children>
- <children xmi:type="notation:Node" xmi:id="_xuC7iAuOEdurFblPbm8dBg" type="7003">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_xuC7iQuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_xuC7iguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_xuC7iwuOEdurFblPbm8dBg"/>
- </children>
- <styles xmi:type="notation:FontStyle" xmi:id="_xuCUeQuOEdurFblPbm8dBg" fontName="Sans"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_xuCUeguOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:FillStyle" xmi:id="_xuCUewuOEdurFblPbm8dBg"/>
- <styles xmi:type="notation:LineStyle" xmi:id="_xuCUfAuOEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EClass" href="associationoverride.ecore#//Student"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xuCUfQuOEdurFblPbm8dBg" x="752" y="192" width="304" height="80"/>
- </children>
- <styles xmi:type="notation:PageStyle" xmi:id="_TMWwQQuNEdurFblPbm8dBg"/>
- <styles xmi:type="notation:GuideStyle" xmi:id="_TMWwQguNEdurFblPbm8dBg"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_TMWwQwuNEdurFblPbm8dBg"/>
- <element xmi:type="ecore:EPackage" href="associationoverride.ecore#/"/>
-</notation:Diagram>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideAdapterFactory.java
deleted file mode 100644
index c987f243d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideAdapterFactory.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideAdapterFactory.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage
- * @generated
- */
-public class AssociationoverrideAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static AssociationoverridePackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = AssociationoverridePackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AssociationoverrideSwitch<Adapter> modelSwitch =
- new AssociationoverrideSwitch<Adapter>() {
- @Override
- public Adapter caseAddress(Address object) {
- return createAddressAdapter();
- }
- @Override
- public Adapter caseEmployee(Employee object) {
- return createEmployeeAdapter();
- }
- @Override
- public Adapter casePerson(Person object) {
- return createPersonAdapter();
- }
- @Override
- public Adapter caseStudent(Student object) {
- return createStudentAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address
- * @generated
- */
- public Adapter createAddressAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee <em>Employee</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee
- * @generated
- */
- public Adapter createEmployeeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person <em>Person</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person
- * @generated
- */
- public Adapter createPersonAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student <em>Student</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student
- * @generated
- */
- public Adapter createStudentAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} //AssociationoverrideAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceFactoryImpl.java
deleted file mode 100644
index 08182a795..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideResourceFactoryImpl.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util.AssociationoverrideResourceImpl
- * @generated
- */
-public class AssociationoverrideResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new AssociationoverrideResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //AssociationoverrideResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceImpl.java
deleted file mode 100644
index f1d9814c2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideResourceImpl.java,v 1.3 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util.AssociationoverrideResourceFactoryImpl
- * @generated
- */
-public class AssociationoverrideResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public AssociationoverrideResourceImpl(URI uri) {
- super(uri);
- }
-
-} //AssociationoverrideResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideSwitch.java
deleted file mode 100644
index 3c8bef084..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideSwitch.java
+++ /dev/null
@@ -1,195 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideSwitch.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage
- * @generated
- */
-public class AssociationoverrideSwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static AssociationoverridePackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideSwitch() {
- if (modelPackage == null) {
- modelPackage = AssociationoverridePackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public T doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(EClass theEClass, EObject theEObject) {
- if (theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case AssociationoverridePackage.ADDRESS: {
- Address address = (Address)theEObject;
- T result = caseAddress(address);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AssociationoverridePackage.EMPLOYEE: {
- Employee employee = (Employee)theEObject;
- T result = caseEmployee(employee);
- if (result == null) result = casePerson(employee);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AssociationoverridePackage.PERSON: {
- Person person = (Person)theEObject;
- T result = casePerson(person);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case AssociationoverridePackage.STUDENT: {
- Student student = (Student)theEObject;
- T result = caseStudent(student);
- if (result == null) result = casePerson(student);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Address</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAddress(Address object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Employee</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Employee</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEmployee(Employee object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Person</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Person</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePerson(Person object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>Student</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>Student</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStudent(Student object) {
- return null;
- }
-
- /**
- * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //AssociationoverrideSwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideXMLProcessor.java
deleted file mode 100644
index 3df59cc5e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/util/AssociationoverrideXMLProcessor.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AssociationoverrideXMLProcessor.java,v 1.4 2010/02/06 18:17:47 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.AssociationoverridePackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class AssociationoverrideXMLProcessor extends XMLProcessor {
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AssociationoverrideXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- AssociationoverridePackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the AssociationoverrideResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations() {
- if (registrations == null) {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new AssociationoverrideResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new AssociationoverrideResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //AssociationoverrideXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/AddressValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/AddressValidator.java
deleted file mode 100644
index 10e747931..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/AddressValidator.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AddressValidator.java,v 1.1 2007/02/08 23:09:23 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface AddressValidator {
- boolean validate();
-
- boolean validateStreet(String value);
- boolean validatePostalCode(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/EmployeeValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/EmployeeValidator.java
deleted file mode 100644
index 60c7e39de..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/EmployeeValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: EmployeeValidator.java,v 1.1 2007/02/08 23:09:23 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Employee}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface EmployeeValidator {
- boolean validate();
-
- boolean validateDepartment(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/PersonValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/PersonValidator.java
deleted file mode 100644
index 6ae82a9f7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/PersonValidator.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PersonValidator.java,v 1.1 2007/02/08 23:09:24 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.validation;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Address;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Person}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface PersonValidator {
- boolean validate();
-
- boolean validateId(long value);
- boolean validateName(String value);
- boolean validateAddress(Address value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/StudentValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/StudentValidator.java
deleted file mode 100644
index ee77035b5..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/associationoverride/validation/StudentValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: StudentValidator.java,v 1.1 2007/02/08 23:09:24 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.associationoverride.Student}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface StudentValidator {
- boolean validate();
-
- boolean validateFaculty(String value);
-}

Back to the top