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/id')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/AutoID.java81
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdFactory.java91
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdPackage.java521
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdentityID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/OtherTableGeneratorID.java84
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/SimpleID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableGeneratorID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableID.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/AutoIDImpl.java221
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdFactoryImpl.java158
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdPackageImpl.java440
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdentityIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/OtherTableGeneratorIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/SimpleIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableGeneratorIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableIDImpl.java201
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/package.jdo70
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.ecore98
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.genmodel30
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id_with_sequence.ecore114
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdAdapterFactory.java214
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdSwitch.java235
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/AutoIDValidator.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/IdentityIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/OtherTableGeneratorIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorTwoValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SimpleIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableGeneratorIDValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableIDValidator.java20
33 files changed, 0 insertions, 3995 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/AutoID.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/AutoID.java
deleted file mode 100644
index e4bf9394a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/AutoID.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AutoID.java,v 1.1 2007/07/11 18:59:48 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Auto ID</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID#getAutoID <em>Auto ID</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getAutoID()
- * @model
- * @generated
- */
-public interface AutoID extends EObject {
- /**
- * Returns the value of the '<em><b>Auto ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Auto 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>Auto ID</em>' attribute.
- * @see #setAutoID(long)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getAutoID_AutoID()
- * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.Long" required="true"
- * @generated
- */
- long getAutoID();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID#getAutoID <em>Auto ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Auto ID</em>' attribute.
- * @see #getAutoID()
- * @generated
- */
- void setAutoID(long value);
-
- /**
- * 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.id.IdPackage#getAutoID_Name()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID#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);
-
-} // AutoID
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdFactory.java
deleted file mode 100644
index fe5329446..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdFactory.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdFactory.java,v 1.4 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id;
-
-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.id.IdPackage
- * @generated
- */
-public interface IdFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- IdFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Identity ID</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Identity ID</em>'.
- * @generated
- */
- IdentityID createIdentityID();
-
- /**
- * Returns a new object of class '<em>Simple ID</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Simple ID</em>'.
- * @generated
- */
- SimpleID createSimpleID();
-
- /**
- * Returns a new object of class '<em>Table ID</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Table ID</em>'.
- * @generated
- */
- TableID createTableID();
-
- /**
- * Returns a new object of class '<em>Table Generator ID</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Table Generator ID</em>'.
- * @generated
- */
- TableGeneratorID createTableGeneratorID();
-
- /**
- * Returns a new object of class '<em>Auto ID</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Auto ID</em>'.
- * @generated
- */
- AutoID createAutoID();
-
- /**
- * Returns a new object of class '<em>Other Table Generator ID</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Other Table Generator ID</em>'.
- * @generated
- */
- OtherTableGeneratorID createOtherTableGeneratorID();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- IdPackage getIdPackage();
-
-} //IdFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdPackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdPackage.java
deleted file mode 100644
index 350c58fff..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdPackage.java
+++ /dev/null
@@ -1,521 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdPackage.java,v 1.5 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-
-/**
- * <!-- 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.id.IdFactory
- * @model kind="package"
- * annotation="teneo.jpa appinfo='\n\t\t\t@SequenceGenerator(name=\"GENERATOR\" sequenceName=\"mySequenceName\" initialValue=10 allocationSize=100)\n\t\t\t@SequenceGenerator(name=\"GENERATORTWO\" sequenceName=\"myOtherSequenceName\" initialValue=5 allocationSize=50)\n\t'"
- * @generated
- */
-public interface IdPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "id";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/teneo/samples/emf/annotations/id";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "id";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- IdPackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl <em>Identity ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getIdentityID()
- * @generated
- */
- int IDENTITY_ID = 0;
-
- /**
- * The feature id for the '<em><b>Myid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IDENTITY_ID__MYID = 0;
-
- /**
- * The number of structural features of the '<em>Identity ID</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int IDENTITY_ID_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl <em>Simple ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getSimpleID()
- * @generated
- */
- int SIMPLE_ID = 1;
-
- /**
- * The feature id for the '<em><b>Auto ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_ID__AUTO_ID = 0;
-
- /**
- * The number of structural features of the '<em>Simple ID</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_ID_FEATURE_COUNT = 1;
-
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl <em>Table ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getTableID()
- * @generated
- */
- int TABLE_ID = 2;
-
- /**
- * The feature id for the '<em><b>Myid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TABLE_ID__MYID = 0;
-
- /**
- * The number of structural features of the '<em>Table ID</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TABLE_ID_FEATURE_COUNT = 1;
-
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl <em>Table Generator ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getTableGeneratorID()
- * @generated
- */
- int TABLE_GENERATOR_ID = 3;
-
- /**
- * The feature id for the '<em><b>Myid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TABLE_GENERATOR_ID__MYID = 0;
-
- /**
- * The number of structural features of the '<em>Table Generator ID</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TABLE_GENERATOR_ID_FEATURE_COUNT = 1;
-
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl <em>Auto ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getAutoID()
- * @generated
- */
- int AUTO_ID = 4;
-
- /**
- * The feature id for the '<em><b>Auto ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AUTO_ID__AUTO_ID = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AUTO_ID__NAME = 1;
-
- /**
- * The number of structural features of the '<em>Auto ID</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AUTO_ID_FEATURE_COUNT = 2;
-
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl <em>Other Table Generator ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getOtherTableGeneratorID()
- * @generated
- */
- int OTHER_TABLE_GENERATOR_ID = 5;
-
- /**
- * The feature id for the '<em><b>Myid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OTHER_TABLE_GENERATOR_ID__MYID = 0;
-
- /**
- * The number of structural features of the '<em>Other Table Generator ID</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OTHER_TABLE_GENERATOR_ID_FEATURE_COUNT = 1;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID <em>Identity ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Identity ID</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID
- * @generated
- */
- EClass getIdentityID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID#getMyid <em>Myid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Myid</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID#getMyid()
- * @see #getIdentityID()
- * @generated
- */
- EAttribute getIdentityID_Myid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID <em>Simple ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Simple ID</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID
- * @generated
- */
- EClass getSimpleID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID#getAutoID <em>Auto ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Auto ID</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID#getAutoID()
- * @see #getSimpleID()
- * @generated
- */
- EAttribute getSimpleID_AutoID();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableID <em>Table ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Table ID</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.TableID
- * @generated
- */
- EClass getTableID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableID#getMyid <em>Myid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Myid</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.TableID#getMyid()
- * @see #getTableID()
- * @generated
- */
- EAttribute getTableID_Myid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID <em>Table Generator ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Table Generator ID</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID
- * @generated
- */
- EClass getTableGeneratorID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID#getMyid <em>Myid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Myid</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID#getMyid()
- * @see #getTableGeneratorID()
- * @generated
- */
- EAttribute getTableGeneratorID_Myid();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID <em>Auto ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Auto ID</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID
- * @generated
- */
- EClass getAutoID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID#getAutoID <em>Auto ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Auto ID</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID#getAutoID()
- * @see #getAutoID()
- * @generated
- */
- EAttribute getAutoID_AutoID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID#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.id.AutoID#getName()
- * @see #getAutoID()
- * @generated
- */
- EAttribute getAutoID_Name();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID <em>Other Table Generator ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Other Table Generator ID</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID
- * @generated
- */
- EClass getOtherTableGeneratorID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID#getMyid <em>Myid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Myid</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID#getMyid()
- * @see #getOtherTableGeneratorID()
- * @generated
- */
- EAttribute getOtherTableGeneratorID_Myid();
-
- /**
- * 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
- */
- IdFactory getIdFactory();
-
- /**
- * <!-- 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.id.impl.IdentityIDImpl <em>Identity ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getIdentityID()
- * @generated
- */
- EClass IDENTITY_ID = eINSTANCE.getIdentityID();
-
- /**
- * The meta object literal for the '<em><b>Myid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute IDENTITY_ID__MYID = eINSTANCE.getIdentityID_Myid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl <em>Simple ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getSimpleID()
- * @generated
- */
- EClass SIMPLE_ID = eINSTANCE.getSimpleID();
-
- /**
- * The meta object literal for the '<em><b>Auto ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SIMPLE_ID__AUTO_ID = eINSTANCE.getSimpleID_AutoID();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl <em>Table ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getTableID()
- * @generated
- */
- EClass TABLE_ID = eINSTANCE.getTableID();
-
- /**
- * The meta object literal for the '<em><b>Myid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute TABLE_ID__MYID = eINSTANCE.getTableID_Myid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl <em>Table Generator ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getTableGeneratorID()
- * @generated
- */
- EClass TABLE_GENERATOR_ID = eINSTANCE.getTableGeneratorID();
-
- /**
- * The meta object literal for the '<em><b>Myid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute TABLE_GENERATOR_ID__MYID = eINSTANCE.getTableGeneratorID_Myid();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl <em>Auto ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getAutoID()
- * @generated
- */
- EClass AUTO_ID = eINSTANCE.getAutoID();
-
- /**
- * The meta object literal for the '<em><b>Auto ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute AUTO_ID__AUTO_ID = eINSTANCE.getAutoID_AutoID();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute AUTO_ID__NAME = eINSTANCE.getAutoID_Name();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl <em>Other Table Generator ID</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdPackageImpl#getOtherTableGeneratorID()
- * @generated
- */
- EClass OTHER_TABLE_GENERATOR_ID = eINSTANCE.getOtherTableGeneratorID();
-
- /**
- * The meta object literal for the '<em><b>Myid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute OTHER_TABLE_GENERATOR_ID__MYID = eINSTANCE.getOtherTableGeneratorID_Myid();
-
- }
-
-} //IdPackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdentityID.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdentityID.java
deleted file mode 100644
index 119068d3b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/IdentityID.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdentityID.java,v 1.2 2006/11/07 10:22:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Identity ID</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID#getMyid <em>Myid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getIdentityID()
- * @model extendedMetaData="name='IdentityID' kind='elementOnly'"
- * @generated
- */
-public interface IdentityID extends EObject {
- /**
- * Returns the value of the '<em><b>Myid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Myid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Myid</em>' attribute.
- * @see #isSetMyid()
- * @see #unsetMyid()
- * @see #setMyid(long)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getIdentityID_Myid()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t@Id\n\t\t\t\t@GeneratedValue(strategy=\"IDENTITY\")\n\t\t\t'"
- * extendedMetaData="kind='element' name='myid'"
- * @generated
- */
- long getMyid();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID#getMyid <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Myid</em>' attribute.
- * @see #isSetMyid()
- * @see #unsetMyid()
- * @see #getMyid()
- * @generated
- */
- void setMyid(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID#getMyid <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetMyid()
- * @see #getMyid()
- * @see #setMyid(long)
- * @generated
- */
- void unsetMyid();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID#getMyid <em>Myid</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Myid</em>' attribute is set.
- * @see #unsetMyid()
- * @see #getMyid()
- * @see #setMyid(long)
- * @generated
- */
- boolean isSetMyid();
-
-} // IdentityID
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/OtherTableGeneratorID.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/OtherTableGeneratorID.java
deleted file mode 100644
index 8e4d1004a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/OtherTableGeneratorID.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: OtherTableGeneratorID.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Other Table Generator ID</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID#getMyid <em>Myid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getOtherTableGeneratorID()
- * @model extendedMetaData="name='TableID' kind='elementOnly'"
- * annotation="teneo.jpa appinfo='\t\t\t\t@TableGenerator(name=\"OTHERTGENERATOR\", table=\"OTHERTGEN\", initialValue=\"2\", valueColumnName=\"VAL_COL\")\n\t\t\t'"
- * @generated
- */
-public interface OtherTableGeneratorID extends EObject {
- /**
- * Returns the value of the '<em><b>Myid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Myid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Myid</em>' attribute.
- * @see #isSetMyid()
- * @see #unsetMyid()
- * @see #setMyid(long)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getOtherTableGeneratorID_Myid()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t@Id\n\t\t\t\t@GeneratedValue(strategy=TABLE, generator=\"OTHERTGENERATOR\")\n\t\t\t'"
- * extendedMetaData="kind='element' name='myid'"
- * @generated
- */
- long getMyid();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID#getMyid <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Myid</em>' attribute.
- * @see #isSetMyid()
- * @see #unsetMyid()
- * @see #getMyid()
- * @generated
- */
- void setMyid(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID#getMyid <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetMyid()
- * @see #getMyid()
- * @see #setMyid(long)
- * @generated
- */
- void unsetMyid();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID#getMyid <em>Myid</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Myid</em>' attribute is set.
- * @see #unsetMyid()
- * @see #getMyid()
- * @see #setMyid(long)
- * @generated
- */
- boolean isSetMyid();
-
-} // OtherTableGeneratorID
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/SimpleID.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/SimpleID.java
deleted file mode 100644
index 5759f8250..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/SimpleID.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SimpleID.java,v 1.2 2006/11/07 10:22:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Simple ID</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID#getAutoID <em>Auto ID</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getSimpleID()
- * @model extendedMetaData="name='SimpleID' kind='elementOnly'"
- * @generated
- */
-public interface SimpleID extends EObject {
- /**
- * Returns the value of the '<em><b>Auto ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Auto 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>Auto ID</em>' attribute.
- * @see #isSetAutoID()
- * @see #unsetAutoID()
- * @see #setAutoID(long)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getSimpleID_AutoID()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t@Id\n\t\t\t\t@GeneratedValue\n\t\t\t\t@Column(name=\"AUTOD\" nullable=\"false\")\n\t\t\t'"
- * extendedMetaData="kind='element' name='autoID'"
- * @generated
- */
- long getAutoID();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID#getAutoID <em>Auto ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Auto ID</em>' attribute.
- * @see #isSetAutoID()
- * @see #unsetAutoID()
- * @see #getAutoID()
- * @generated
- */
- void setAutoID(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID#getAutoID <em>Auto ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetAutoID()
- * @see #getAutoID()
- * @see #setAutoID(long)
- * @generated
- */
- void unsetAutoID();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID#getAutoID <em>Auto ID</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Auto ID</em>' attribute is set.
- * @see #unsetAutoID()
- * @see #getAutoID()
- * @see #setAutoID(long)
- * @generated
- */
- boolean isSetAutoID();
-
-} // SimpleID
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableGeneratorID.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableGeneratorID.java
deleted file mode 100644
index 9651fb0cd..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableGeneratorID.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TableGeneratorID.java,v 1.1 2007/01/24 23:30:16 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Table Generator ID</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID#getMyid <em>Myid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getTableGeneratorID()
- * @model extendedMetaData="name='TableID' kind='elementOnly'"
- * @generated
- */
-public interface TableGeneratorID extends EObject {
- /**
- * Returns the value of the '<em><b>Myid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Myid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Myid</em>' attribute.
- * @see #isSetMyid()
- * @see #unsetMyid()
- * @see #setMyid(long)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getTableGeneratorID_Myid()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t@Id\n\t\t\t\t@TableGenerator(name=\"TGENERATOR\", table=\"TGEN\", initialValue=\"2\", valueColumnName=\"VAL_COL\")\n\t\t\t\t@GeneratedValue(strategy=TABLE, generator=\"TGENERATOR\")\n\t\t\t'"
- * extendedMetaData="kind='element' name='myid'"
- * @generated
- */
- long getMyid();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID#getMyid <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Myid</em>' attribute.
- * @see #isSetMyid()
- * @see #unsetMyid()
- * @see #getMyid()
- * @generated
- */
- void setMyid(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID#getMyid <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetMyid()
- * @see #getMyid()
- * @see #setMyid(long)
- * @generated
- */
- void unsetMyid();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID#getMyid <em>Myid</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Myid</em>' attribute is set.
- * @see #unsetMyid()
- * @see #getMyid()
- * @see #setMyid(long)
- * @generated
- */
- boolean isSetMyid();
-
-} // TableGeneratorID \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableID.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableID.java
deleted file mode 100644
index 8d3f7be68..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/TableID.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TableID.java,v 1.2 2006/11/07 10:22:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Table ID</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableID#getMyid <em>Myid</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getTableID()
- * @model extendedMetaData="name='TableID' kind='elementOnly'"
- * @generated
- */
-public interface TableID extends EObject {
- /**
- * Returns the value of the '<em><b>Myid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Myid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Myid</em>' attribute.
- * @see #isSetMyid()
- * @see #unsetMyid()
- * @see #setMyid(long)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage#getTableID_Myid()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t@Id\n\t\t\t\t@GeneratedValue(strategy=\"TABLE\")\n\t\t\t'"
- * extendedMetaData="kind='element' name='myid'"
- * @generated
- */
- long getMyid();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableID#getMyid <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Myid</em>' attribute.
- * @see #isSetMyid()
- * @see #unsetMyid()
- * @see #getMyid()
- * @generated
- */
- void setMyid(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableID#getMyid <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetMyid()
- * @see #getMyid()
- * @see #setMyid(long)
- * @generated
- */
- void unsetMyid();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableID#getMyid <em>Myid</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Myid</em>' attribute is set.
- * @see #unsetMyid()
- * @see #getMyid()
- * @see #setMyid(long)
- * @generated
- */
- boolean isSetMyid();
-
-} // TableID
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/AutoIDImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/AutoIDImpl.java
deleted file mode 100644
index 85b536d38..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/AutoIDImpl.java
+++ /dev/null
@@ -1,221 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AutoIDImpl.java,v 1.1 2007/07/11 18:59:48 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.AutoID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Auto ID</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl#getAutoID <em>Auto ID</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AutoIDImpl extends EObjectImpl implements AutoID {
- /**
- * The default value of the '{@link #getAutoID() <em>Auto ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAutoID()
- * @generated
- * @ordered
- */
- protected static final long AUTO_ID_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getAutoID() <em>Auto ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAutoID()
- * @generated
- * @ordered
- */
- protected long autoID = AUTO_ID_EDEFAULT;
-
- /**
- * 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;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AutoIDImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return IdPackage.Literals.AUTO_ID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public long getAutoID() {
- return autoID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAutoID(long newAutoID) {
- long oldAutoID = autoID;
- autoID = newAutoID;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, IdPackage.AUTO_ID__AUTO_ID, oldAutoID, autoID));
- }
-
- /**
- * <!-- 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, IdPackage.AUTO_ID__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case IdPackage.AUTO_ID__AUTO_ID:
- return new Long(getAutoID());
- case IdPackage.AUTO_ID__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case IdPackage.AUTO_ID__AUTO_ID:
- setAutoID(((Long)newValue).longValue());
- return;
- case IdPackage.AUTO_ID__NAME:
- setName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case IdPackage.AUTO_ID__AUTO_ID:
- setAutoID(AUTO_ID_EDEFAULT);
- return;
- case IdPackage.AUTO_ID__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case IdPackage.AUTO_ID__AUTO_ID:
- return autoID != AUTO_ID_EDEFAULT;
- case IdPackage.AUTO_ID__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- 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(" (autoID: ");
- result.append(autoID);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //AutoIDImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdFactoryImpl.java
deleted file mode 100644
index 309b21009..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdFactoryImpl.java
+++ /dev/null
@@ -1,158 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdFactoryImpl.java,v 1.5 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.*;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.IdFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.TableID;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class IdFactoryImpl extends EFactoryImpl implements IdFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static IdFactory init() {
- try {
- IdFactory theIdFactory = (IdFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/annotations/id");
- if (theIdFactory != null) {
- return theIdFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new IdFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IdFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case IdPackage.IDENTITY_ID: return createIdentityID();
- case IdPackage.SIMPLE_ID: return createSimpleID();
- case IdPackage.TABLE_ID: return createTableID();
- case IdPackage.TABLE_GENERATOR_ID: return createTableGeneratorID();
- case IdPackage.AUTO_ID: return createAutoID();
- case IdPackage.OTHER_TABLE_GENERATOR_ID: return createOtherTableGeneratorID();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IdentityID createIdentityID() {
- IdentityIDImpl identityID = new IdentityIDImpl();
- return identityID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SimpleID createSimpleID() {
- SimpleIDImpl simpleID = new SimpleIDImpl();
- return simpleID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TableID createTableID() {
- TableIDImpl tableID = new TableIDImpl();
- return tableID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TableGeneratorID createTableGeneratorID() {
- TableGeneratorIDImpl tableGeneratorID = new TableGeneratorIDImpl();
- return tableGeneratorID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AutoID createAutoID() {
- AutoIDImpl autoID = new AutoIDImpl();
- return autoID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OtherTableGeneratorID createOtherTableGeneratorID() {
- OtherTableGeneratorIDImpl otherTableGeneratorID = new OtherTableGeneratorIDImpl();
- return otherTableGeneratorID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IdPackage getIdPackage() {
- return (IdPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static IdPackage getPackage() {
- return IdPackage.eINSTANCE;
- }
-
-} //IdFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdPackageImpl.java
deleted file mode 100644
index dd09368d1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdPackageImpl.java
+++ /dev/null
@@ -1,440 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdPackageImpl.java,v 1.7 2008/07/12 13:09:07 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.IdFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.IdPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.TableID;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
- *
- * @generated
- */
-public class IdPackageImpl extends EPackageImpl implements IdPackage {
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass identityIDEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass simpleIDEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass tableIDEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass tableGeneratorIDEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass autoIDEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass otherTableGeneratorIDEClass = 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.id.IdPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private IdPackageImpl() {
- super(eNS_URI, IdFactory.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 IdPackage init() {
- if (isInited) {
- return (IdPackage) EPackage.Registry.INSTANCE.getEPackage(IdPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- IdPackageImpl theIdPackage =
- (IdPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof IdPackageImpl
- ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new IdPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theIdPackage.createPackageContents();
-
- // Initialize created meta-data
- theIdPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theIdPackage.freeze();
-
- return theIdPackage;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getIdentityID() {
- return identityIDEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getIdentityID_Myid() {
- return (EAttribute) identityIDEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getSimpleID() {
- return simpleIDEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getSimpleID_AutoID() {
- return (EAttribute) simpleIDEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getTableID() {
- return tableIDEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getTableID_Myid() {
- return (EAttribute) tableIDEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getTableGeneratorID() {
- return tableGeneratorIDEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getTableGeneratorID_Myid() {
- return (EAttribute) tableGeneratorIDEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getAutoID() {
- return autoIDEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getAutoID_AutoID() {
- return (EAttribute) autoIDEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getAutoID_Name() {
- return (EAttribute) autoIDEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getOtherTableGeneratorID() {
- return otherTableGeneratorIDEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getOtherTableGeneratorID_Myid() {
- return (EAttribute) otherTableGeneratorIDEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public IdFactory getIdFactory() {
- return (IdFactory) 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
- identityIDEClass = createEClass(IDENTITY_ID);
- createEAttribute(identityIDEClass, IDENTITY_ID__MYID);
-
- simpleIDEClass = createEClass(SIMPLE_ID);
- createEAttribute(simpleIDEClass, SIMPLE_ID__AUTO_ID);
-
- tableIDEClass = createEClass(TABLE_ID);
- createEAttribute(tableIDEClass, TABLE_ID__MYID);
-
- tableGeneratorIDEClass = createEClass(TABLE_GENERATOR_ID);
- createEAttribute(tableGeneratorIDEClass, TABLE_GENERATOR_ID__MYID);
-
- autoIDEClass = createEClass(AUTO_ID);
- createEAttribute(autoIDEClass, AUTO_ID__AUTO_ID);
- createEAttribute(autoIDEClass, AUTO_ID__NAME);
-
- otherTableGeneratorIDEClass = createEClass(OTHER_TABLE_GENERATOR_ID);
- createEAttribute(otherTableGeneratorIDEClass, OTHER_TABLE_GENERATOR_ID__MYID);
- }
-
- /**
- * <!-- 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
-
- // Initialize classes and features; add operations and parameters
- initEClass(identityIDEClass, IdentityID.class, "IdentityID", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getIdentityID_Myid(), theXMLTypePackage.getLong(), "myid", null, 1, 1, IdentityID.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(simpleIDEClass, SimpleID.class, "SimpleID", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSimpleID_AutoID(), theXMLTypePackage.getLong(), "autoID", null, 1, 1, SimpleID.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(tableIDEClass, TableID.class, "TableID", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getTableID_Myid(), theXMLTypePackage.getLong(), "myid", null, 1, 1, TableID.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(tableGeneratorIDEClass, TableGeneratorID.class, "TableGeneratorID", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getTableGeneratorID_Myid(), theXMLTypePackage.getLong(), "myid", null, 1, 1,
- TableGeneratorID.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(autoIDEClass, AutoID.class, "AutoID", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAutoID_AutoID(), theXMLTypePackage.getLong(), "autoID", null, 1, 1, AutoID.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAutoID_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, AutoID.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(otherTableGeneratorIDEClass, OtherTableGeneratorID.class, "OtherTableGeneratorID", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getOtherTableGeneratorID_Myid(), theXMLTypePackage.getLong(), "myid", null, 1, 1,
- OtherTableGeneratorID.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // teneo.jpa
- createTeneoAnnotations();
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>teneo.jpa</b>. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- */
- protected void createTeneoAnnotations() {
- String source = "teneo.jpa";
- addAnnotation(
- this,
- source,
- new String[] {
- "appinfo",
- "\n\t\t\t@SequenceGenerator(name=\"GENERATOR\" sequenceName=\"mySequenceName\" initialValue=10 allocationSize=100)\n\t\t\t@SequenceGenerator(name=\"GENERATORTWO\" sequenceName=\"myOtherSequenceName\" initialValue=5 allocationSize=50)\n\t" });
- addAnnotation(getIdentityID_Myid(), source, new String[] { "appinfo",
- "\n\t\t\t\t@Id\n\t\t\t\t@GeneratedValue(strategy=\"IDENTITY\")\n\t\t\t" });
- addAnnotation(getSimpleID_AutoID(), source, new String[] { "appinfo",
- "\n\t\t\t\t@Id\n\t\t\t\t@GeneratedValue\n\t\t\t\t@Column(name=\"AUTOD\" nullable=\"false\")\n\t\t\t" });
- addAnnotation(getTableID_Myid(), source, new String[] { "appinfo",
- "\n\t\t\t\t@Id\n\t\t\t\t@GeneratedValue(strategy=\"TABLE\")\n\t\t\t" });
- addAnnotation(
- getTableGeneratorID_Myid(),
- source,
- new String[] {
- "appinfo",
- "\n\t\t\t\t@Id\n\t\t\t\t@TableGenerator(name=\"TGENERATOR\", table=\"TGEN\", initialValue=\"2\", valueColumnName=\"VAL_COL\")\n\t\t\t\t@GeneratedValue(strategy=TABLE, generator=\"TGENERATOR\")\n\t\t\t" });
- addAnnotation(
- otherTableGeneratorIDEClass,
- source,
- new String[] {
- "appinfo",
- "\t\t\t\t@TableGenerator(name=\"OTHERTGENERATOR\", table=\"OTHERTGEN\", initialValue=\"2\", valueColumnName=\"VAL_COL\")\n\t\t\t" });
- addAnnotation(getOtherTableGeneratorID_Myid(), source, new String[] { "appinfo",
- "\n\t\t\t\t@Id\n\t\t\t\t@GeneratedValue(strategy=TABLE, generator=\"OTHERTGENERATOR\")\n\t\t\t" });
- }
-
- /**
- * 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(identityIDEClass, source, new String[] { "name", "IdentityID", "kind", "elementOnly" });
- addAnnotation(getIdentityID_Myid(), source, new String[] { "kind", "element", "name", "myid" });
- addAnnotation(simpleIDEClass, source, new String[] { "name", "SimpleID", "kind", "elementOnly" });
- addAnnotation(getSimpleID_AutoID(), source, new String[] { "kind", "element", "name", "autoID" });
- addAnnotation(tableIDEClass, source, new String[] { "name", "TableID", "kind", "elementOnly" });
- addAnnotation(getTableID_Myid(), source, new String[] { "kind", "element", "name", "myid" });
- addAnnotation(tableGeneratorIDEClass, source, new String[] { "name", "TableID", "kind", "elementOnly" });
- addAnnotation(getTableGeneratorID_Myid(), source, new String[] { "kind", "element", "name", "myid" });
- addAnnotation(otherTableGeneratorIDEClass, source, new String[] { "name", "TableID", "kind", "elementOnly" });
- addAnnotation(getOtherTableGeneratorID_Myid(), source, new String[] { "kind", "element", "name", "myid" });
- }
-
-} // IdPackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdentityIDImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdentityIDImpl.java
deleted file mode 100644
index e82790c7c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/IdentityIDImpl.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdentityIDImpl.java,v 1.3 2007/07/11 18:59:48 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.IdPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Identity ID</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl#getMyid <em>Myid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class IdentityIDImpl extends EObjectImpl implements IdentityID {
- /**
- * The default value of the '{@link #getMyid() <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMyid()
- * @generated
- * @ordered
- */
- protected static final long MYID_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getMyid() <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMyid()
- * @generated
- * @ordered
- */
- protected long myid = MYID_EDEFAULT;
-
- /**
- * This is true if the Myid attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean myidESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected IdentityIDImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return IdPackage.Literals.IDENTITY_ID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public long getMyid() {
- return myid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMyid(long newMyid) {
- long oldMyid = myid;
- myid = newMyid;
- boolean oldMyidESet = myidESet;
- myidESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, IdPackage.IDENTITY_ID__MYID, oldMyid, myid, !oldMyidESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetMyid() {
- long oldMyid = myid;
- boolean oldMyidESet = myidESet;
- myid = MYID_EDEFAULT;
- myidESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, IdPackage.IDENTITY_ID__MYID, oldMyid, MYID_EDEFAULT, oldMyidESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetMyid() {
- return myidESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case IdPackage.IDENTITY_ID__MYID:
- return new Long(getMyid());
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case IdPackage.IDENTITY_ID__MYID:
- setMyid(((Long)newValue).longValue());
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case IdPackage.IDENTITY_ID__MYID:
- unsetMyid();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case IdPackage.IDENTITY_ID__MYID:
- return isSetMyid();
- }
- 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(" (myid: ");
- if (myidESet) result.append(myid); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} //IdentityIDImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/OtherTableGeneratorIDImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/OtherTableGeneratorIDImpl.java
deleted file mode 100644
index 0f6c3bee0..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/OtherTableGeneratorIDImpl.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: OtherTableGeneratorIDImpl.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.IdPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Other Table Generator ID</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl#getMyid <em>Myid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OtherTableGeneratorIDImpl extends EObjectImpl implements OtherTableGeneratorID {
- /**
- * The default value of the '{@link #getMyid() <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMyid()
- * @generated
- * @ordered
- */
- protected static final long MYID_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getMyid() <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMyid()
- * @generated
- * @ordered
- */
- protected long myid = MYID_EDEFAULT;
-
- /**
- * This is true if the Myid attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean myidESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OtherTableGeneratorIDImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return IdPackage.Literals.OTHER_TABLE_GENERATOR_ID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public long getMyid() {
- return myid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMyid(long newMyid) {
- long oldMyid = myid;
- myid = newMyid;
- boolean oldMyidESet = myidESet;
- myidESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, IdPackage.OTHER_TABLE_GENERATOR_ID__MYID, oldMyid, myid, !oldMyidESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetMyid() {
- long oldMyid = myid;
- boolean oldMyidESet = myidESet;
- myid = MYID_EDEFAULT;
- myidESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, IdPackage.OTHER_TABLE_GENERATOR_ID__MYID, oldMyid, MYID_EDEFAULT, oldMyidESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetMyid() {
- return myidESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case IdPackage.OTHER_TABLE_GENERATOR_ID__MYID:
- return new Long(getMyid());
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case IdPackage.OTHER_TABLE_GENERATOR_ID__MYID:
- setMyid(((Long)newValue).longValue());
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case IdPackage.OTHER_TABLE_GENERATOR_ID__MYID:
- unsetMyid();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case IdPackage.OTHER_TABLE_GENERATOR_ID__MYID:
- return isSetMyid();
- }
- 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(" (myid: ");
- if (myidESet) result.append(myid); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} //OtherTableGeneratorIDImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/SimpleIDImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/SimpleIDImpl.java
deleted file mode 100644
index 8f59d33ea..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/SimpleIDImpl.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SimpleIDImpl.java,v 1.3 2007/07/11 18:59:48 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.IdPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Simple ID</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl#getAutoID <em>Auto ID</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SimpleIDImpl extends EObjectImpl implements SimpleID {
- /**
- * The default value of the '{@link #getAutoID() <em>Auto ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAutoID()
- * @generated
- * @ordered
- */
- protected static final long AUTO_ID_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getAutoID() <em>Auto ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAutoID()
- * @generated
- * @ordered
- */
- protected long autoID = AUTO_ID_EDEFAULT;
-
- /**
- * This is true if the Auto ID attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean autoIDESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SimpleIDImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return IdPackage.Literals.SIMPLE_ID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public long getAutoID() {
- return autoID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAutoID(long newAutoID) {
- long oldAutoID = autoID;
- autoID = newAutoID;
- boolean oldAutoIDESet = autoIDESet;
- autoIDESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, IdPackage.SIMPLE_ID__AUTO_ID, oldAutoID, autoID, !oldAutoIDESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetAutoID() {
- long oldAutoID = autoID;
- boolean oldAutoIDESet = autoIDESet;
- autoID = AUTO_ID_EDEFAULT;
- autoIDESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, IdPackage.SIMPLE_ID__AUTO_ID, oldAutoID, AUTO_ID_EDEFAULT, oldAutoIDESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetAutoID() {
- return autoIDESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case IdPackage.SIMPLE_ID__AUTO_ID:
- return new Long(getAutoID());
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case IdPackage.SIMPLE_ID__AUTO_ID:
- setAutoID(((Long)newValue).longValue());
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case IdPackage.SIMPLE_ID__AUTO_ID:
- unsetAutoID();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case IdPackage.SIMPLE_ID__AUTO_ID:
- return isSetAutoID();
- }
- 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(" (autoID: ");
- if (autoIDESet) result.append(autoID); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} //SimpleIDImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableGeneratorIDImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableGeneratorIDImpl.java
deleted file mode 100644
index 7f1b505a1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableGeneratorIDImpl.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TableGeneratorIDImpl.java,v 1.3 2007/07/11 18:59:48 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.IdPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Table Generator ID</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl#getMyid <em>Myid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TableGeneratorIDImpl extends EObjectImpl implements TableGeneratorID {
- /**
- * The default value of the '{@link #getMyid() <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMyid()
- * @generated
- * @ordered
- */
- protected static final long MYID_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getMyid() <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMyid()
- * @generated
- * @ordered
- */
- protected long myid = MYID_EDEFAULT;
-
- /**
- * This is true if the Myid attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean myidESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TableGeneratorIDImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return IdPackage.Literals.TABLE_GENERATOR_ID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public long getMyid() {
- return myid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMyid(long newMyid) {
- long oldMyid = myid;
- myid = newMyid;
- boolean oldMyidESet = myidESet;
- myidESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, IdPackage.TABLE_GENERATOR_ID__MYID, oldMyid, myid, !oldMyidESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetMyid() {
- long oldMyid = myid;
- boolean oldMyidESet = myidESet;
- myid = MYID_EDEFAULT;
- myidESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, IdPackage.TABLE_GENERATOR_ID__MYID, oldMyid, MYID_EDEFAULT, oldMyidESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetMyid() {
- return myidESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case IdPackage.TABLE_GENERATOR_ID__MYID:
- return new Long(getMyid());
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case IdPackage.TABLE_GENERATOR_ID__MYID:
- setMyid(((Long)newValue).longValue());
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case IdPackage.TABLE_GENERATOR_ID__MYID:
- unsetMyid();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case IdPackage.TABLE_GENERATOR_ID__MYID:
- return isSetMyid();
- }
- 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(" (myid: ");
- if (myidESet) result.append(myid); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} //TableGeneratorIDImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableIDImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableIDImpl.java
deleted file mode 100644
index b2b71aa8d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/TableIDImpl.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TableIDImpl.java,v 1.3 2007/07/11 18:59:48 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.IdPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.id.TableID;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Table ID</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl#getMyid <em>Myid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TableIDImpl extends EObjectImpl implements TableID {
- /**
- * The default value of the '{@link #getMyid() <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMyid()
- * @generated
- * @ordered
- */
- protected static final long MYID_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getMyid() <em>Myid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMyid()
- * @generated
- * @ordered
- */
- protected long myid = MYID_EDEFAULT;
-
- /**
- * This is true if the Myid attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean myidESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TableIDImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return IdPackage.Literals.TABLE_ID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public long getMyid() {
- return myid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMyid(long newMyid) {
- long oldMyid = myid;
- myid = newMyid;
- boolean oldMyidESet = myidESet;
- myidESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, IdPackage.TABLE_ID__MYID, oldMyid, myid, !oldMyidESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetMyid() {
- long oldMyid = myid;
- boolean oldMyidESet = myidESet;
- myid = MYID_EDEFAULT;
- myidESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, IdPackage.TABLE_ID__MYID, oldMyid, MYID_EDEFAULT, oldMyidESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetMyid() {
- return myidESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case IdPackage.TABLE_ID__MYID:
- return new Long(getMyid());
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case IdPackage.TABLE_ID__MYID:
- setMyid(((Long)newValue).longValue());
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case IdPackage.TABLE_ID__MYID:
- unsetMyid();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case IdPackage.TABLE_ID__MYID:
- return isSetMyid();
- }
- 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(" (myid: ");
- if (myidESet) result.append(myid); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} //TableIDImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/package.jdo b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/package.jdo
deleted file mode 100644
index e37801afd..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/impl/package.jdo
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-
-<jdo>
- <package name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="identityid" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="IdentityID"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="myid" persistence-modifier="persistent" primary-key="true" value-strategy="identity" indexed="true"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="simpleid" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="SimpleID"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="autoID" persistence-modifier="persistent" primary-key="true" value-strategy="auto" indexed="true">
- <column name="AUTOD" allows-null="false"/>
- </field>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="tableid" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.id.TableID"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="TableID"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="myid" persistence-modifier="persistent" primary-key="true" value-strategy="increment" indexed="true"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="tablegeneratorid" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="TableGeneratorID"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="myid" persistence-modifier="persistent" primary-key="true" value-strategy="increment" indexed="true" strategy="increment" sequence-table-name="TGEN" sequence-nextval-column-name="VAL_COL"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="autoid" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="AutoID"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="autoID" persistence-modifier="persistent" primary-key="true" value-strategy="auto" indexed="true"/>
- <field name="name" persistence-modifier="persistent" null-value="none"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="othertablegeneratorid" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="OtherTableGeneratorID"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="myid" persistence-modifier="persistent" primary-key="true" value-strategy="increment" indexed="true" strategy="increment" sequence-table-name="OTHERTGEN" sequence-nextval-column-name="VAL_COL"/>
- </class>
- </package>
-</jdo> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.ecore
deleted file mode 100644
index cf375cda6..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.ecore
+++ /dev/null
@@ -1,98 +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="id"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/id" nsPrefix="id">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;@SequenceGenerator(name=&quot;GENERATOR&quot; sequenceName=&quot;mySequenceName&quot; initialValue=10 allocationSize=100)&#xA;&#x9;&#x9;&#x9;@SequenceGenerator(name=&quot;GENERATORTWO&quot; sequenceName=&quot;myOtherSequenceName&quot; initialValue=5 allocationSize=50)&#xA;&#x9;"/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="IdentityID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="IdentityID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=&quot;IDENTITY&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SimpleID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="SimpleID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoID" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue&#xA;&#x9;&#x9;&#x9;&#x9;@Column(name=&quot;AUTOD&quot; nullable=&quot;false&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="autoID"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TableID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="TableID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=&quot;TABLE&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TableGeneratorID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="TableID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@TableGenerator(name=&quot;TGENERATOR&quot;, table=&quot;TGEN&quot;, initialValue=&quot;2&quot;, valueColumnName=&quot;VAL_COL&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=TABLE, generator=&quot;TGENERATOR&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AutoID">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoID" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long" iD="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="OtherTableGeneratorID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="TableID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#x9;&#x9;&#x9;&#x9;@TableGenerator(name=&quot;OTHERTGENERATOR&quot;, table=&quot;OTHERTGEN&quot;, initialValue=&quot;2&quot;, valueColumnName=&quot;VAL_COL&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=TABLE, generator=&quot;OTHERTGENERATOR&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.genmodel
deleted file mode 100644
index 62bf69007..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.genmodel
+++ /dev/null
@@ -1,30 +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="Id" importerID="org.eclipse.emf.importer.ecore"
- complianceLevel="5.0">
- <foreignModel>id.ecore</foreignModel>
- <genPackages prefix="Id" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="id.ecore#/">
- <genClasses ecoreClass="id.ecore#//IdentityID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//IdentityID/myid"/>
- </genClasses>
- <genClasses ecoreClass="id.ecore#//SimpleID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//SimpleID/autoID"/>
- </genClasses>
- <genClasses ecoreClass="id.ecore#//TableID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//TableID/myid"/>
- </genClasses>
- <genClasses ecoreClass="id.ecore#//TableGeneratorID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//TableGeneratorID/myid"/>
- </genClasses>
- <genClasses ecoreClass="id.ecore#//AutoID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//AutoID/autoID"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//AutoID/name"/>
- </genClasses>
- <genClasses ecoreClass="id.ecore#//OtherTableGeneratorID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//OtherTableGeneratorID/myid"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id_with_sequence.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id_with_sequence.ecore
deleted file mode 100644
index 9c91ba6e7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id_with_sequence.ecore
+++ /dev/null
@@ -1,114 +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="id"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/id" nsPrefix="id">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#x9;&#x9;&#x9;@SequenceStyleGenerator(name=&quot;StyleGENERATOR&quot; sequenceName=&quot;myOtherSequenceName&quot; optimizer=HILO initialValue=5 incrementSize=25)&#xA;&#x9;&#x9;&#x9;@SequenceGenerator(name=&quot;GENERATOR&quot; sequenceName=&quot;mySequenceName&quot; initialValue=10 allocationSize=100)&#xA;&#x9;&#x9;&#x9;@SequenceGenerator(name=&quot;GENERATORTWO&quot; sequenceName=&quot;myOtherSequenceName&quot; initialValue=5 allocationSize=50)"/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="IdentityID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="IdentityID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=&quot;IDENTITY&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SimpleID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="SimpleID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoID" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue&#xA;&#x9;&#x9;&#x9;&#x9;@Column(name=&quot;AUTOD&quot; nullable=&quot;false&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="autoID"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TableID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="TableID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=&quot;TABLE&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TableGeneratorID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="TableID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@TableGenerator(name=&quot;TGENERATOR&quot;, table=&quot;TGEN&quot;, initialValue=&quot;2&quot;, valueColumnName=&quot;VAL_COL&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=TABLE, generator=&quot;TGENERATOR&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AutoID">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoID" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long" iD="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="OtherTableGeneratorID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="TableID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#x9;&#x9;&#x9;&#x9;@TableGenerator(name=&quot;OTHERTGENERATOR&quot;, table=&quot;OTHERTGEN&quot;, initialValue=&quot;2&quot;, valueColumnName=&quot;VAL_COL&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=TABLE, generator=&quot;OTHERTGENERATOR&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SequenceID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="IdentityID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" 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="&#xA;&#x9;&#x9;&#x9;&#x9;@Id&#xA;&#x9;&#x9;&#x9;&#x9;@GeneratedValue(strategy=&quot;SEQUENCE&quot; generator=&quot;GENERATOR&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdAdapterFactory.java
deleted file mode 100644
index 162e703d9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdAdapterFactory.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdAdapterFactory.java,v 1.6 2008/07/12 13:09:07 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.*;
-
-/**
- * <!-- 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.id.IdPackage
- * @generated
- */
-public class IdAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static IdPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IdAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = IdPackage.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 that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected IdSwitch<Adapter> modelSwitch =
- new IdSwitch<Adapter>() {
- @Override
- public Adapter caseIdentityID(IdentityID object) {
- return createIdentityIDAdapter();
- }
- @Override
- public Adapter caseSimpleID(SimpleID object) {
- return createSimpleIDAdapter();
- }
- @Override
- public Adapter caseTableID(TableID object) {
- return createTableIDAdapter();
- }
- @Override
- public Adapter caseTableGeneratorID(TableGeneratorID object) {
- return createTableGeneratorIDAdapter();
- }
- @Override
- public Adapter caseAutoID(AutoID object) {
- return createAutoIDAdapter();
- }
- @Override
- public Adapter caseOtherTableGeneratorID(OtherTableGeneratorID object) {
- return createOtherTableGeneratorIDAdapter();
- }
- @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.id.IdentityID <em>Identity ID</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.id.IdentityID
- * @generated
- */
- public Adapter createIdentityIDAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID <em>Simple ID</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.id.SimpleID
- * @generated
- */
- public Adapter createSimpleIDAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableID <em>Table ID</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.id.TableID
- * @generated
- */
- public Adapter createTableIDAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID <em>Table Generator ID</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.id.TableGeneratorID
- * @generated
- */
- public Adapter createTableGeneratorIDAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID <em>Auto ID</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.id.AutoID
- * @generated
- */
- public Adapter createAutoIDAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID <em>Other Table Generator ID</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.id.OtherTableGeneratorID
- * @generated
- */
- public Adapter createOtherTableGeneratorIDAdapter() {
- 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;
- }
-
-} //IdAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceFactoryImpl.java
deleted file mode 100644
index 3ce5c46e1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdResourceFactoryImpl.java,v 1.2 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.util.IdResourceImpl
- * @generated
- */
-public class IdResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IdResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new IdResourceImpl(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;
- }
-
-} //IdResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceImpl.java
deleted file mode 100644
index 4a17bb862..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdResourceImpl.java,v 1.1 2006/07/11 16:57:17 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.util.IdResourceFactoryImpl
- * @generated
- */
-public class IdResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public IdResourceImpl(URI uri) {
- super(uri);
- }
-
-} //IdResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdSwitch.java
deleted file mode 100644
index e606f429f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdSwitch.java
+++ /dev/null
@@ -1,235 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdSwitch.java,v 1.5 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.*;
-
-/**
- * <!-- 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.id.IdPackage
- * @generated
- */
-public class IdSwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static IdPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IdSwitch() {
- if (modelPackage == null) {
- modelPackage = IdPackage.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 IdPackage.IDENTITY_ID: {
- IdentityID identityID = (IdentityID)theEObject;
- T result = caseIdentityID(identityID);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case IdPackage.SIMPLE_ID: {
- SimpleID simpleID = (SimpleID)theEObject;
- T result = caseSimpleID(simpleID);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case IdPackage.TABLE_ID: {
- TableID tableID = (TableID)theEObject;
- T result = caseTableID(tableID);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case IdPackage.TABLE_GENERATOR_ID: {
- TableGeneratorID tableGeneratorID = (TableGeneratorID)theEObject;
- T result = caseTableGeneratorID(tableGeneratorID);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case IdPackage.AUTO_ID: {
- AutoID autoID = (AutoID)theEObject;
- T result = caseAutoID(autoID);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case IdPackage.OTHER_TABLE_GENERATOR_ID: {
- OtherTableGeneratorID otherTableGeneratorID = (OtherTableGeneratorID)theEObject;
- T result = caseOtherTableGeneratorID(otherTableGeneratorID);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Identity ID</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 interpreting the object as an instance of '<em>Identity ID</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseIdentityID(IdentityID object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Simple ID</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 interpreting the object as an instance of '<em>Simple ID</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseSimpleID(SimpleID object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Table ID</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 interpreting the object as an instance of '<em>Table ID</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTableID(TableID object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Table Generator ID</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 interpreting the object as an instance of '<em>Table Generator ID</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTableGeneratorID(TableGeneratorID object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Auto ID</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 interpreting the object as an instance of '<em>Auto ID</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAutoID(AutoID object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Other Table Generator ID</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 interpreting the object as an instance of '<em>Other Table Generator ID</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOtherTableGeneratorID(OtherTableGeneratorID object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting 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 interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object) {
- return null;
- }
-
-} //IdSwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdXMLProcessor.java
deleted file mode 100644
index e0df9d172..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/util/IdXMLProcessor.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdXMLProcessor.java,v 1.2 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.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.id.IdPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class IdXMLProcessor extends XMLProcessor {
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IdXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- IdPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the IdResourceFactoryImpl 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 IdResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new IdResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //IdXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/AutoIDValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/AutoIDValidator.java
deleted file mode 100644
index 250d2e758..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/AutoIDValidator.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AutoIDValidator.java,v 1.1 2007/07/11 18:59:48 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.id.AutoID}.
- * 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 AutoIDValidator {
- boolean validate();
-
- boolean validateAutoID(long value);
- boolean validateName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/IdentityIDValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/IdentityIDValidator.java
deleted file mode 100644
index c5bb4ccca..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/IdentityIDValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdentityIDValidator.java,v 1.1 2007/02/08 23:09:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID}.
- * 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 IdentityIDValidator {
- boolean validate();
-
- boolean validateMyid(long value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/OtherTableGeneratorIDValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/OtherTableGeneratorIDValidator.java
deleted file mode 100644
index ba7e19d1f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/OtherTableGeneratorIDValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: OtherTableGeneratorIDValidator.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.id.OtherTableGeneratorID}.
- * 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 OtherTableGeneratorIDValidator {
- boolean validate();
-
- boolean validateMyid(long value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorTwoValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorTwoValidator.java
deleted file mode 100644
index b8a47170d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorTwoValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SeqGeneratorTwoValidator.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.id.SeqGeneratorTwo}.
- * 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 SeqGeneratorTwoValidator {
- boolean validate();
-
- boolean validateMyid(long value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorValidator.java
deleted file mode 100644
index 40397ff2f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SeqGeneratorValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SeqGeneratorValidator.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.id.SeqGenerator}.
- * 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 SeqGeneratorValidator {
- boolean validate();
-
- boolean validateMyid(long value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SimpleIDValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SimpleIDValidator.java
deleted file mode 100644
index e2df5139d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/SimpleIDValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SimpleIDValidator.java,v 1.1 2007/02/08 23:09:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.id.SimpleID}.
- * 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 SimpleIDValidator {
- boolean validate();
-
- boolean validateAutoID(long value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableGeneratorIDValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableGeneratorIDValidator.java
deleted file mode 100644
index 47e974d02..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableGeneratorIDValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TableGeneratorIDValidator.java,v 1.1 2007/02/08 23:09:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableGeneratorID}.
- * 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 TableGeneratorIDValidator {
- boolean validate();
-
- boolean validateMyid(long value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableIDValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableIDValidator.java
deleted file mode 100644
index 7642aa81f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/validation/TableIDValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TableIDValidator.java,v 1.1 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.id.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.id.TableID}.
- * 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 TableIDValidator {
- boolean validate();
-
- boolean validateMyid(long value);
-}

Back to the top