diff options
author | Martin Taal | 2012-05-05 05:58:09 +0000 |
---|---|---|
committer | Martin Taal | 2012-05-05 05:58:09 +0000 |
commit | 2d3a4cfca05b26dfa1ebda95436ecd7096d71c7d (patch) | |
tree | cbb55a7b15146a254412a4f4b9e6c3f229d5c86d | |
parent | 41fe7f256e698dca56de42fbe7210f41948d0d11 (diff) | |
parent | e24f7504f59bc45ff4015f54bc715d8d1c959cd8 (diff) | |
download | org.eclipse.emf.teneo-2d3a4cfca05b26dfa1ebda95436ecd7096d71c7d.tar.gz org.eclipse.emf.teneo-2d3a4cfca05b26dfa1ebda95436ecd7096d71c7d.tar.xz org.eclipse.emf.teneo-2d3a4cfca05b26dfa1ebda95436ecd7096d71c7d.zip |
Merge branch 'master' into 1.2.0-maintenance
3 files changed, 176 insertions, 171 deletions
diff --git a/core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt b/core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt index 346495254..100c64e33 100644 --- a/core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt +++ b/core/org.eclipse.emf.teneo.annotations/jpa2.0/jpa20-effort.txt @@ -63,10 +63,12 @@ Added AssociationOverride.joinTable - MapKeyJoinColumn --> New - MapKeyTemporal --> New - MapsId --> New +- OrderColumn --> New +- SequenceGenerator: +Added catalog and schema + +== Done == - OneToMany: Added OneToMany.orphanRemoval - OneToOne: Added OneToOne.orphanRemoval -- OrderColumn --> New -- SequenceGenerator: -Added catalog and schema diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java index b277de700..a40fd3656 100755..100644 --- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pamodel/util/PamodelSwitch.java +++ b/core/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.30 2011/02/21 06:40:11 mtaal Exp $ + * $Id$ */ package org.eclipse.emf.teneo.annotations.pamodel.util; @@ -10,40 +10,35 @@ import java.util.List; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; + 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; -import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEModelElement; -import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEPackage; -import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEReference; -import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedEStructuralFeature; -import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedETypedElement; -import org.eclipse.emf.teneo.annotations.pamodel.PAnnotatedModel; -import org.eclipse.emf.teneo.annotations.pamodel.PamodelPackage; /** - * <!-- 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. + * <!-- 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.annotations.pamodel.PamodelPackage * @generated */ -public class PamodelSwitch<T> extends Switch<T> { +public class PamodelSwitch<T> { /** * The cached model package - * <!-- begin-user-doc --> <!-- end-user-doc --> + * <!-- begin-user-doc --> + * <!-- end-user-doc --> * @generated */ protected static PamodelPackage modelPackage; /** * Creates an instance of the switch. - * <!-- begin-user-doc --> <!-- end-user-doc --> + * <!-- begin-user-doc --> + * <!-- end-user-doc --> * @generated */ public PamodelSwitch() { @@ -53,25 +48,43 @@ public class PamodelSwitch<T> extends Switch<T> { } /** - * Checks whether this is a switch for the given package. + * 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 --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. + * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; + 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 --> + * <!-- begin-user-doc --> + * <!-- end-user-doc --> * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ - @Override protected T doSwitch(int classifierID, EObject theEObject) { switch (classifierID) { case PamodelPackage.PANNOTATED_EMODEL_ELEMENT: { @@ -146,8 +159,10 @@ public class PamodelSwitch<T> extends Switch<T> { /** * Returns the result of interpreting the object as an instance of '<em>PAnnotated EModel Element</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * <!-- 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>PAnnotated EModel Element</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) @@ -159,8 +174,10 @@ public class PamodelSwitch<T> extends Switch<T> { /** * Returns the result of interpreting the object as an instance of '<em>PAnnotated Model</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * <!-- 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>PAnnotated Model</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) @@ -172,8 +189,10 @@ public class PamodelSwitch<T> extends Switch<T> { /** * Returns the result of interpreting the object as an instance of '<em>PAnnotated EPackage</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * <!-- 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>PAnnotated EPackage</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) @@ -185,8 +204,10 @@ public class PamodelSwitch<T> extends Switch<T> { /** * Returns the result of interpreting the object as an instance of '<em>PAnnotated EClass</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * <!-- 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>PAnnotated EClass</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) @@ -198,8 +219,10 @@ public class PamodelSwitch<T> extends Switch<T> { /** * Returns the result of interpreting the object as an instance of '<em>PAnnotated EStructural Feature</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * <!-- 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>PAnnotated EStructural Feature</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) @@ -211,8 +234,10 @@ public class PamodelSwitch<T> extends Switch<T> { /** * Returns the result of interpreting the object as an instance of '<em>PAnnotated EAttribute</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * <!-- 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>PAnnotated EAttribute</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) @@ -223,58 +248,63 @@ public class PamodelSwitch<T> extends Switch<T> { } /** - * Returns the result of interpreting the object as an instance of '<em>PAnnotated EData Type</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * Returns the result of interpreting the object as an instance of '<em>PAnnotated EReference</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>PAnnotated EData Type</em>'. + * @return the result of interpreting the object as an instance of '<em>PAnnotated EReference</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T casePAnnotatedEDataType(PAnnotatedEDataType object) { + public T casePAnnotatedEReference(PAnnotatedEReference object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>PAnnotated EReference</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * Returns the result of interpreting the object as an instance of '<em>PAnnotated ETyped Element</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>PAnnotated EReference</em>'. + * @return the result of interpreting the object as an instance of '<em>PAnnotated ETyped Element</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T casePAnnotatedEReference(PAnnotatedEReference object) { + public T casePAnnotatedETypedElement(PAnnotatedETypedElement object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>PAnnotated ETyped Element</em>'. - * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will - * terminate the switch. <!-- end-user-doc --> + * Returns the result of interpreting the object as an instance of '<em>PAnnotated EData Type</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>PAnnotated ETyped Element</em>'. + * @return the result of interpreting the object as an instance of '<em>PAnnotated EData Type</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T casePAnnotatedETypedElement(PAnnotatedETypedElement object) { + public T casePAnnotatedEDataType(PAnnotatedEDataType 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. + * 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 */ - @Override public T defaultCase(EObject object) { return null; } -} // PamodelSwitch +} //PamodelSwitch diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java index df0699478..4427279cb 100755..100644 --- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/util/PannotationSwitch.java +++ b/core/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.33 2011/02/21 06:40:10 mtaal Exp $ + * $Id$ */ package org.eclipse.emf.teneo.annotations.pannotation.util; @@ -10,51 +10,8 @@ import java.util.List; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.util.Switch; + 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; -import org.eclipse.emf.teneo.annotations.pannotation.Column; -import org.eclipse.emf.teneo.annotations.pannotation.DiscriminatorColumn; -import org.eclipse.emf.teneo.annotations.pannotation.DiscriminatorValue; -import org.eclipse.emf.teneo.annotations.pannotation.EAVMapping; -import org.eclipse.emf.teneo.annotations.pannotation.Embeddable; -import org.eclipse.emf.teneo.annotations.pannotation.Embedded; -import org.eclipse.emf.teneo.annotations.pannotation.EmbeddedId; -import org.eclipse.emf.teneo.annotations.pannotation.Entity; -import org.eclipse.emf.teneo.annotations.pannotation.Enumerated; -import org.eclipse.emf.teneo.annotations.pannotation.External; -import org.eclipse.emf.teneo.annotations.pannotation.ForeignKey; -import org.eclipse.emf.teneo.annotations.pannotation.GeneratedValue; -import org.eclipse.emf.teneo.annotations.pannotation.Id; -import org.eclipse.emf.teneo.annotations.pannotation.IdClass; -import org.eclipse.emf.teneo.annotations.pannotation.Inheritance; -import org.eclipse.emf.teneo.annotations.pannotation.JoinColumn; -import org.eclipse.emf.teneo.annotations.pannotation.JoinTable; -import org.eclipse.emf.teneo.annotations.pannotation.ListIndexColumn; -import org.eclipse.emf.teneo.annotations.pannotation.Lob; -import org.eclipse.emf.teneo.annotations.pannotation.ManyToMany; -import org.eclipse.emf.teneo.annotations.pannotation.ManyToOne; -import org.eclipse.emf.teneo.annotations.pannotation.MapKey; -import org.eclipse.emf.teneo.annotations.pannotation.MappedSuperclass; -import org.eclipse.emf.teneo.annotations.pannotation.NoEAVMapping; -import org.eclipse.emf.teneo.annotations.pannotation.OneToMany; -import org.eclipse.emf.teneo.annotations.pannotation.OneToOne; -import org.eclipse.emf.teneo.annotations.pannotation.OrderBy; -import org.eclipse.emf.teneo.annotations.pannotation.PAnnotation; -import org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage; -import org.eclipse.emf.teneo.annotations.pannotation.PrimaryKeyJoinColumn; -import org.eclipse.emf.teneo.annotations.pannotation.SecondaryTable; -import org.eclipse.emf.teneo.annotations.pannotation.SequenceGenerator; -import org.eclipse.emf.teneo.annotations.pannotation.SequenceStyleGenerator; -import org.eclipse.emf.teneo.annotations.pannotation.Table; -import org.eclipse.emf.teneo.annotations.pannotation.TableGenerator; -import org.eclipse.emf.teneo.annotations.pannotation.Temporal; -import org.eclipse.emf.teneo.annotations.pannotation.Transient; -import org.eclipse.emf.teneo.annotations.pannotation.UniqueConstraint; -import org.eclipse.emf.teneo.annotations.pannotation.Version; /** * <!-- begin-user-doc --> @@ -69,7 +26,7 @@ import org.eclipse.emf.teneo.annotations.pannotation.Version; * @see org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage * @generated */ -public class PannotationSwitch<T> extends Switch<T> { +public class PannotationSwitch<T> { /** * The cached model package * <!-- begin-user-doc --> @@ -91,16 +48,34 @@ public class PannotationSwitch<T> extends Switch<T> { } /** - * Checks whether this is a switch for the given package. + * 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 --> - * @parameter ePackage the package in question. - * @return whether this is a switch for the given package. + * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; + 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); + } } /** @@ -110,7 +85,6 @@ public class PannotationSwitch<T> extends Switch<T> { * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ - @Override protected T doSwitch(int classifierID, EObject theEObject) { switch (classifierID) { case PannotationPackage.PANNOTATION: { @@ -504,6 +478,21 @@ public class PannotationSwitch<T> extends Switch<T> { } /** + * Returns the result of interpreting the object as an instance of '<em>Association Override</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>Association Override</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAssociationOverride(AssociationOverride object) { + return null; + } + + /** * Returns the result of interpreting the object as an instance of '<em>Basic</em>'. * <!-- begin-user-doc --> * This implementation returns null; @@ -624,36 +613,6 @@ public class PannotationSwitch<T> extends Switch<T> { } /** - * Returns the result of interpreting the object as an instance of '<em>Mapped Superclass</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>Mapped Superclass</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMappedSuperclass(MappedSuperclass object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Maps 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>Maps Id</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseMapsId(MapsId object) { - return null; - } - - /** * Returns the result of interpreting the object as an instance of '<em>Embedded</em>'. * <!-- begin-user-doc --> * This implementation returns null; @@ -684,32 +643,32 @@ public class PannotationSwitch<T> extends Switch<T> { } /** - * Returns the result of interpreting the object as an instance of '<em>Enumerated</em>'. + * Returns the result of interpreting the object as an instance of '<em>Entity</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>Enumerated</em>'. + * @return the result of interpreting the object as an instance of '<em>Entity</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseEnumerated(Enumerated object) { + public T caseEntity(Entity object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>Entity</em>'. + * Returns the result of interpreting the object as an instance of '<em>Enumerated</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>Entity</em>'. + * @return the result of interpreting the object as an instance of '<em>Enumerated</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseEntity(Entity object) { + public T caseEnumerated(Enumerated object) { return null; } @@ -939,6 +898,36 @@ public class PannotationSwitch<T> extends Switch<T> { } /** + * Returns the result of interpreting the object as an instance of '<em>Mapped Superclass</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>Mapped Superclass</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMappedSuperclass(MappedSuperclass object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Maps 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>Maps Id</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMapsId(MapsId object) { + return null; + } + + /** * Returns the result of interpreting the object as an instance of '<em>One To Many</em>'. * <!-- begin-user-doc --> * This implementation returns null; @@ -1224,21 +1213,6 @@ public class PannotationSwitch<T> extends Switch<T> { } /** - * Returns the result of interpreting the object as an instance of '<em>Association Override</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>Association Override</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAssociationOverride(AssociationOverride object) { - return null; - } - - /** * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. * <!-- begin-user-doc --> * This implementation returns null; @@ -1249,7 +1223,6 @@ public class PannotationSwitch<T> extends Switch<T> { * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated */ - @Override public T defaultCase(EObject object) { return null; } |