diff options
author | mtaal | 2011-02-21 06:40:10 +0000 |
---|---|---|
committer | mtaal | 2011-02-21 06:40:10 +0000 |
commit | c8eb3ec5a00edc59d4be2ea86dd1e0605fa71fc1 (patch) | |
tree | 316a215d2aedc78e81b9314a70d25040ed742602 | |
parent | 46dbdb0abe5dbfa186bba7245c7f8fb8f5f66db8 (diff) | |
download | org.eclipse.emf.teneo-c8eb3ec5a00edc59d4be2ea86dd1e0605fa71fc1.tar.gz org.eclipse.emf.teneo-c8eb3ec5a00edc59d4be2ea86dd1e0605fa71fc1.tar.xz org.eclipse.emf.teneo-c8eb3ec5a00edc59d4be2ea86dd1e0605fa71fc1.zip |
[337580]
15 files changed, 519 insertions, 14 deletions
diff --git a/plugins/org.eclipse.emf.teneo.annotations/.classpath b/plugins/org.eclipse.emf.teneo.annotations/.classpath index 64c5e31b7..304e86186 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/.classpath +++ b/plugins/org.eclipse.emf.teneo.annotations/.classpath @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> + <classpathentry kind="src" path="src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="src"/> <classpathentry kind="output" path="bin"/> </classpath> diff --git a/plugins/org.eclipse.emf.teneo.annotations/model/pannotation.ecore b/plugins/org.eclipse.emf.teneo.annotations/model/pannotation.ecore index 15a7ad796..3bf1eae22 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/model/pannotation.ecore +++ b/plugins/org.eclipse.emf.teneo.annotations/model/pannotation.ecore @@ -21,6 +21,8 @@ <details key="ignore" value="true"/> </eAnnotations> </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="generated" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" + defaultValueLiteral="true"/> </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="AttributeOverride" eSuperTypes="#//PAnnotation"> <eAnnotations source="teneo/internal/Target"> diff --git a/plugins/org.eclipse.emf.teneo.annotations/model/pannotation.genmodel b/plugins/org.eclipse.emf.teneo.annotations/model/pannotation.genmodel index 6f7274635..088eb89e7 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/model/pannotation.genmodel +++ b/plugins/org.eclipse.emf.teneo.annotations/model/pannotation.genmodel @@ -145,6 +145,7 @@ </genEnums> <genClasses image="false" ecoreClass="pannotation.ecore#//PAnnotation"> <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference pannotation.ecore#//PAnnotation/eModelElement"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute pannotation.ecore#//PAnnotation/generated"/> </genClasses> <genClasses ecoreClass="pannotation.ecore#//AttributeOverride"> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute pannotation.ecore#//AttributeOverride/name"/> diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/impl/PamodelFactoryImpl.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/impl/PamodelFactoryImpl.java index 7a75336e1..0bc44d4b9 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/impl/PamodelFactoryImpl.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/impl/PamodelFactoryImpl.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PamodelFactoryImpl.java,v 1.27 2010/11/11 10:28:11 mtaal Exp $ + * $Id: PamodelFactoryImpl.java,v 1.28 2011/02/21 06:40:12 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pamodel.impl; @@ -11,6 +11,7 @@ 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.annotations.pamodel.*; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEAttribute; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEClass; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEDataType; diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java index bc8a2f917..264e5d9e9 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelAdapterFactory.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PamodelAdapterFactory.java,v 1.29 2010/11/11 10:28:10 mtaal Exp $ + * $Id: PamodelAdapterFactory.java,v 1.30 2011/02/21 06:40:11 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pamodel.util; @@ -10,6 +10,7 @@ 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.annotations.pamodel.*; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEAttribute; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEClass; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEDataType; diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java index adbf48070..88cf7b2d1 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PamodelSwitch.java,v 1.29 2010/11/11 10:28:10 mtaal Exp $ + * $Id: PamodelSwitch.java,v 1.30 2011/02/21 06:40:11 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pamodel.util; @@ -10,6 +10,7 @@ import java.util.List; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.teneo.annotations.pamodel.*; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEAttribute; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEClass; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEDataType; diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelValidator.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelValidator.java index 950edd0eb..d0afa2574 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelValidator.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelValidator.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PamodelValidator.java,v 1.31 2010/11/11 10:28:10 mtaal Exp $ + * $Id: PamodelValidator.java,v 1.32 2011/02/21 06:40:11 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pamodel.util; @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.ResourceLocator; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.EObjectValidator; +import org.eclipse.emf.teneo.annotations.pamodel.*; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEAttribute; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEClass; import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEDataType; diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/PAnnotation.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/PAnnotation.java index f3212a36d..37798eaa0 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/PAnnotation.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/PAnnotation.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PAnnotation.java,v 1.6 2007/11/14 16:37:55 mtaal Exp $ + * $Id: PAnnotation.java,v 1.7 2011/02/21 06:40:11 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation; @@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EObject; * The following features are supported: * <ul> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.PAnnotation#getEModelElement <em>EModel Element</em>}</li> + * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.PAnnotation#isGenerated <em>Generated</em>}</li> * </ul> * </p> * @@ -55,6 +56,33 @@ public interface PAnnotation extends EObject { */ void setEModelElement(EModelElement value); + /** + * Returns the value of the '<em><b>Generated</b></em>' attribute. + * The default value is <code>"true"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Generated</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Generated</em>' attribute. + * @see #setGenerated(boolean) + * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage#getPAnnotation_Generated() + * @model default="true" + * @generated + */ + boolean isGenerated(); + + /** + * Sets the value of the '{@link org.eclipse.emf.teneo.annotations.pannotation.PAnnotation#isGenerated <em>Generated</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Generated</em>' attribute. + * @see #isGenerated() + * @generated + */ + void setGenerated(boolean value); + /** Return the java annotation, any importStatements are added to the passed list */ String getJavaAnnotation(List<String> importStatements); diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/PannotationPackage.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/PannotationPackage.java index 914c39ac8..30a0a942e 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/PannotationPackage.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/PannotationPackage.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PannotationPackage.java,v 1.21 2009/12/13 10:14:15 mtaal Exp $ + * $Id: PannotationPackage.java,v 1.22 2011/02/21 06:40:11 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation; @@ -75,13 +75,22 @@ public interface PannotationPackage extends EPackage { int PANNOTATION__EMODEL_ELEMENT = 0; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PANNOTATION__GENERATED = 1; + + /** * The number of structural features of the '<em>PAnnotation</em>' class. * <!-- begin-user-doc --> <!-- * end-user-doc --> * @generated * @ordered */ - int PANNOTATION_FEATURE_COUNT = 1; + int PANNOTATION_FEATURE_COUNT = 2; /** * The meta object id for the '{@link org.eclipse.emf.teneo.annotations.pannotation.impl.AttributeOverrideImpl <em>Attribute Override</em>}' class. @@ -102,6 +111,15 @@ public interface PannotationPackage extends EPackage { int ATTRIBUTE_OVERRIDE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_OVERRIDE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -434,6 +452,15 @@ public interface PannotationPackage extends EPackage { int ASSOCIATION_OVERRIDE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ASSOCIATION_OVERRIDE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -469,6 +496,15 @@ public interface PannotationPackage extends EPackage { int BASIC__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BASIC__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Fetch</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -503,6 +539,15 @@ public interface PannotationPackage extends EPackage { int COLUMN__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COLUMN__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -620,6 +665,15 @@ public interface PannotationPackage extends EPackage { int DISCRIMINATOR_COLUMN__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRIMINATOR_COLUMN__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -681,6 +735,15 @@ public interface PannotationPackage extends EPackage { int DISCRIMINATOR_VALUE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRIMINATOR_VALUE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -707,6 +770,15 @@ public interface PannotationPackage extends EPackage { int EMBEDDABLE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EMBEDDABLE__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the '<em>Embeddable</em>' class. * <!-- begin-user-doc --> <!-- * end-user-doc --> @@ -725,6 +797,15 @@ public interface PannotationPackage extends EPackage { int EMBEDDED__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EMBEDDED__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the '<em>Embedded</em>' class. * <!-- begin-user-doc --> <!-- * end-user-doc --> @@ -743,6 +824,15 @@ public interface PannotationPackage extends EPackage { int EMBEDDED_ID__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EMBEDDED_ID__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the '<em>Embedded Id</em>' class. * <!-- begin-user-doc --> <!-- * end-user-doc --> @@ -761,6 +851,15 @@ public interface PannotationPackage extends EPackage { int ENTITY__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENTITY__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -796,6 +895,15 @@ public interface PannotationPackage extends EPackage { int ENUMERATED__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ENUMERATED__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -822,6 +930,15 @@ public interface PannotationPackage extends EPackage { int GENERATED_VALUE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GENERATED_VALUE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Strategy</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -856,6 +973,15 @@ public interface PannotationPackage extends EPackage { int ID__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ID__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the the '<em>Id</em>' class. <!-- begin-user-doc --> <!-- end-user-doc * --> * @@ -874,6 +1000,15 @@ public interface PannotationPackage extends EPackage { int ID_CLASS__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ID_CLASS__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -900,6 +1035,15 @@ public interface PannotationPackage extends EPackage { int INHERITANCE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INHERITANCE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Strategy</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -926,6 +1070,15 @@ public interface PannotationPackage extends EPackage { int JOIN_COLUMN__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int JOIN_COLUMN__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1010,6 +1163,15 @@ public interface PannotationPackage extends EPackage { int JOIN_TABLE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int JOIN_TABLE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1079,6 +1241,15 @@ public interface PannotationPackage extends EPackage { int LOB__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOB__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the the '<em>Lob</em>' class. <!-- begin-user-doc --> <!-- end-user-doc * --> * @@ -1097,6 +1268,15 @@ public interface PannotationPackage extends EPackage { int MANY_TO_MANY__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANY_TO_MANY__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Target Entity</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc * --> * @@ -1158,6 +1338,15 @@ public interface PannotationPackage extends EPackage { int MANY_TO_ONE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANY_TO_ONE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Target Entity</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc * --> * @@ -1210,6 +1399,15 @@ public interface PannotationPackage extends EPackage { int MAP_KEY__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_KEY__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1236,6 +1434,15 @@ public interface PannotationPackage extends EPackage { int MAPPED_SUPERCLASS__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAPPED_SUPERCLASS__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the '<em>Mapped Superclass</em>' class. * <!-- begin-user-doc --> <!-- * end-user-doc --> @@ -1254,6 +1461,15 @@ public interface PannotationPackage extends EPackage { int ONE_TO_MANY__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ONE_TO_MANY__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Target Entity</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc * --> * @@ -1324,6 +1540,15 @@ public interface PannotationPackage extends EPackage { int ONE_TO_ONE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ONE_TO_ONE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Target Entity</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc * --> * @@ -1384,6 +1609,15 @@ public interface PannotationPackage extends EPackage { int ORDER_BY__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ORDER_BY__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1410,6 +1644,15 @@ public interface PannotationPackage extends EPackage { int PRIMARY_KEY_JOIN_COLUMN__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PRIMARY_KEY_JOIN_COLUMN__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1454,6 +1697,15 @@ public interface PannotationPackage extends EPackage { int SECONDARY_TABLE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SECONDARY_TABLE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1514,6 +1766,15 @@ public interface PannotationPackage extends EPackage { int SEQUENCE_GENERATOR__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SEQUENCE_GENERATOR__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1567,6 +1828,15 @@ public interface PannotationPackage extends EPackage { int TABLE__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TABLE__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1618,6 +1888,15 @@ public interface PannotationPackage extends EPackage { int TABLE_GENERATOR__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TABLE_GENERATOR__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1722,6 +2001,15 @@ public interface PannotationPackage extends EPackage { int TEMPORAL__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TEMPORAL__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Value</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated @@ -1748,6 +2036,15 @@ public interface PannotationPackage extends EPackage { int TRANSIENT__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRANSIENT__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the '<em>Transient</em>' class. * <!-- begin-user-doc --> <!-- * end-user-doc --> @@ -1766,6 +2063,15 @@ public interface PannotationPackage extends EPackage { int UNIQUE_CONSTRAINT__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int UNIQUE_CONSTRAINT__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Column Names</b></em>' attribute list. * <!-- begin-user-doc --> <!-- * end-user-doc --> @@ -1793,6 +2099,15 @@ public interface PannotationPackage extends EPackage { int VERSION__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERSION__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the '<em>Version</em>' class. * <!-- begin-user-doc --> <!-- * end-user-doc --> @@ -1821,6 +2136,15 @@ public interface PannotationPackage extends EPackage { int FOREIGN_KEY__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FOREIGN_KEY__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1858,6 +2182,15 @@ public interface PannotationPackage extends EPackage { int SEQUENCE_STYLE_GENERATOR__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SEQUENCE_STYLE_GENERATOR__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1931,6 +2264,15 @@ public interface PannotationPackage extends EPackage { int EXTERNAL__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXTERNAL__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Type</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1968,6 +2310,15 @@ public interface PannotationPackage extends EPackage { int EAV_MAPPING__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EAV_MAPPING__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the '<em>EAV Mapping</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1996,6 +2347,15 @@ public interface PannotationPackage extends EPackage { int NO_EAV_MAPPING__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NO_EAV_MAPPING__GENERATED = PANNOTATION__GENERATED; + + /** * The number of structural features of the '<em>No EAV Mapping</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2024,6 +2384,15 @@ public interface PannotationPackage extends EPackage { int LIST_INDEX_COLUMN__EMODEL_ELEMENT = PANNOTATION__EMODEL_ELEMENT; /** + * The feature id for the '<em><b>Generated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIST_INDEX_COLUMN__GENERATED = PANNOTATION__GENERATED; + + /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2134,6 +2503,17 @@ public interface PannotationPackage extends EPackage { EReference getPAnnotation_EModelElement(); /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.annotations.pannotation.PAnnotation#isGenerated <em>Generated</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Generated</em>'. + * @see org.eclipse.emf.teneo.annotations.pannotation.PAnnotation#isGenerated() + * @see #getPAnnotation() + * @generated + */ + EAttribute getPAnnotation_Generated(); + + /** * Returns the meta object for class '{@link org.eclipse.emf.teneo.annotations.pannotation.AttributeOverride <em>Attribute Override</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Attribute Override</em>'. @@ -3658,6 +4038,14 @@ public interface PannotationPackage extends EPackage { EReference PANNOTATION__EMODEL_ELEMENT = eINSTANCE.getPAnnotation_EModelElement(); /** + * The meta object literal for the '<em><b>Generated</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute PANNOTATION__GENERATED = eINSTANCE.getPAnnotation_Generated(); + + /** * The meta object literal for the '{@link org.eclipse.emf.teneo.annotations.pannotation.impl.AttributeOverrideImpl <em>Attribute Override</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PAnnotationImpl.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PAnnotationImpl.java index e5f0a04d1..43211eafd 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PAnnotationImpl.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PAnnotationImpl.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PAnnotationImpl.java,v 1.3 2008/07/13 13:12:49 mtaal Exp $ + * $Id: PAnnotationImpl.java,v 1.4 2011/02/21 06:40:11 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation.impl; @@ -35,6 +35,7 @@ import org.eclipse.emf.teneo.annotations.pannotation.TemporalType; * The following features are implemented: * <ul> * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.PAnnotationImpl#getEModelElement <em>EModel Element</em>}</li> + * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.PAnnotationImpl#isGenerated <em>Generated</em>}</li> * </ul> * </p> * @@ -65,6 +66,25 @@ public abstract class PAnnotationImpl extends EObjectImpl implements PAnnotation protected EModelElement eModelElement; /** + * The default value of the '{@link #isGenerated() <em>Generated</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isGenerated() + * @generated + * @ordered + */ + protected static final boolean GENERATED_EDEFAULT = true; + /** + * The cached value of the '{@link #isGenerated() <em>Generated</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isGenerated() + * @generated + * @ordered + */ + protected boolean generated = GENERATED_EDEFAULT; + + /** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ @@ -117,6 +137,27 @@ public abstract class PAnnotationImpl extends EObjectImpl implements PAnnotation } /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isGenerated() { + return generated; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setGenerated(boolean newGenerated) { + boolean oldGenerated = generated; + generated = newGenerated; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.PANNOTATION__GENERATED, oldGenerated, generated)); + } + + /** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ @@ -126,6 +167,8 @@ public abstract class PAnnotationImpl extends EObjectImpl implements PAnnotation case PannotationPackage.PANNOTATION__EMODEL_ELEMENT: if (resolve) return getEModelElement(); return basicGetEModelElement(); + case PannotationPackage.PANNOTATION__GENERATED: + return isGenerated(); } return super.eGet(featureID, resolve, coreType); } @@ -140,6 +183,9 @@ public abstract class PAnnotationImpl extends EObjectImpl implements PAnnotation case PannotationPackage.PANNOTATION__EMODEL_ELEMENT: setEModelElement((EModelElement)newValue); return; + case PannotationPackage.PANNOTATION__GENERATED: + setGenerated((Boolean)newValue); + return; } super.eSet(featureID, newValue); } @@ -154,6 +200,9 @@ public abstract class PAnnotationImpl extends EObjectImpl implements PAnnotation case PannotationPackage.PANNOTATION__EMODEL_ELEMENT: setEModelElement((EModelElement)null); return; + case PannotationPackage.PANNOTATION__GENERATED: + setGenerated(GENERATED_EDEFAULT); + return; } super.eUnset(featureID); } @@ -167,10 +216,28 @@ public abstract class PAnnotationImpl extends EObjectImpl implements PAnnotation switch (featureID) { case PannotationPackage.PANNOTATION__EMODEL_ELEMENT: return eModelElement != null; + case PannotationPackage.PANNOTATION__GENERATED: + return generated != GENERATED_EDEFAULT; } 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(" (generated: "); + result.append(generated); + result.append(')'); + return result.toString(); + } + /** Return the class name of the annotation */ public String getAnnotationClassName() { return "javax.persistence." + this.eClass().getName(); diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PannotationFactoryImpl.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PannotationFactoryImpl.java index 422715eaa..631b0a99f 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PannotationFactoryImpl.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PannotationFactoryImpl.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PannotationFactoryImpl.java,v 1.34 2010/11/11 10:28:11 mtaal Exp $ + * $Id: PannotationFactoryImpl.java,v 1.35 2011/02/21 06:40:11 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation.impl; @@ -12,6 +12,7 @@ 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.annotations.pannotation.*; import org.eclipse.emf.teneo.annotations.pannotation.AssociationOverride; import org.eclipse.emf.teneo.annotations.pannotation.AttributeOverride; import org.eclipse.emf.teneo.annotations.pannotation.Basic; diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PannotationPackageImpl.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PannotationPackageImpl.java index 922162e6d..7454653c4 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PannotationPackageImpl.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/PannotationPackageImpl.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PannotationPackageImpl.java,v 1.34 2009/12/13 10:14:21 mtaal Exp $ + * $Id: PannotationPackageImpl.java,v 1.35 2011/02/21 06:40:11 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation.impl; @@ -474,6 +474,15 @@ public class PannotationPackageImpl extends EPackageImpl implements } /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPAnnotation_Generated() { + return (EAttribute)pAnnotationEClass.getEStructuralFeatures().get(1); + } + + /** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ @@ -1728,6 +1737,7 @@ public class PannotationPackageImpl extends EPackageImpl implements // Create classes and their features pAnnotationEClass = createEClass(PANNOTATION); createEReference(pAnnotationEClass, PANNOTATION__EMODEL_ELEMENT); + createEAttribute(pAnnotationEClass, PANNOTATION__GENERATED); attributeOverrideEClass = createEClass(ATTRIBUTE_OVERRIDE); createEAttribute(attributeOverrideEClass, ATTRIBUTE_OVERRIDE__NAME); @@ -1994,6 +2004,7 @@ public class PannotationPackageImpl extends EPackageImpl implements // Initialize classes and features; add operations and parameters initEClass(pAnnotationEClass, PAnnotation.class, "PAnnotation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getPAnnotation_EModelElement(), ecorePackage.getEModelElement(), null, "eModelElement", null, 1, 1, PAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPAnnotation_Generated(), ecorePackage.getEBoolean(), "generated", "true", 0, 1, PAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(attributeOverrideEClass, AttributeOverride.class, "AttributeOverride", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getAttributeOverride_Name(), ecorePackage.getEString(), "name", null, 1, 1, AttributeOverride.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java index bef38a1e7..f7ea8256a 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationAdapterFactory.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PannotationAdapterFactory.java,v 1.35 2010/11/11 10:28:11 mtaal Exp $ + * $Id: PannotationAdapterFactory.java,v 1.36 2011/02/21 06:40:10 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation.util; @@ -10,6 +10,7 @@ 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.annotations.pannotation.*; import org.eclipse.emf.teneo.annotations.pannotation.AssociationOverride; import org.eclipse.emf.teneo.annotations.pannotation.AttributeOverride; import org.eclipse.emf.teneo.annotations.pannotation.Basic; diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java index c3d7f5af7..3e66fe632 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PannotationSwitch.java,v 1.32 2010/11/11 10:28:11 mtaal Exp $ + * $Id: PannotationSwitch.java,v 1.33 2011/02/21 06:40:10 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation.util; @@ -10,6 +10,7 @@ import java.util.List; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.teneo.annotations.pannotation.*; import org.eclipse.emf.teneo.annotations.pannotation.AssociationOverride; import org.eclipse.emf.teneo.annotations.pannotation.AttributeOverride; import org.eclipse.emf.teneo.annotations.pannotation.Basic; diff --git a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationValidator.java b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationValidator.java index f16e14459..b77e71610 100644 --- a/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationValidator.java +++ b/plugins/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationValidator.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: PannotationValidator.java,v 1.36 2010/11/11 10:28:11 mtaal Exp $ + * $Id: PannotationValidator.java,v 1.37 2011/02/21 06:40:10 mtaal Exp $ */ package org.eclipse.emf.teneo.annotations.pannotation.util; @@ -13,6 +13,7 @@ import org.eclipse.emf.common.util.DiagnosticChain; import org.eclipse.emf.common.util.ResourceLocator; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.EObjectValidator; +import org.eclipse.emf.teneo.annotations.pannotation.*; import org.eclipse.emf.teneo.annotations.pannotation.AssociationOverride; import org.eclipse.emf.teneo.annotations.pannotation.AttributeOverride; import org.eclipse.emf.teneo.annotations.pannotation.Basic; |