diff options
author | Eike Stepper | 2013-01-06 16:58:23 +0000 |
---|---|---|
committer | Eike Stepper | 2013-01-06 16:58:23 +0000 |
commit | f9106643cc014fb508decb834bd54608aa5f7d23 (patch) | |
tree | 049d2fd084bc0a7177563c7f43496fbed887f1a1 /plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org | |
parent | 9a5cf3316307ab19e9afd0697df2ce26a95d7702 (diff) | |
download | cdo-f9106643cc014fb508decb834bd54608aa5f7d23.tar.gz cdo-f9106643cc014fb508decb834bd54608aa5f7d23.tar.xz cdo-f9106643cc014fb508decb834bd54608aa5f7d23.zip |
model4interfaces
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org')
26 files changed, 1438 insertions, 718 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IContainedElementNoParentLink.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IContainedElementNoParentLink.java index 731c70ee1b..20ec12be87 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IContainedElementNoParentLink.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IContainedElementNoParentLink.java @@ -15,8 +15,9 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>IContained Element No Parent Link</b></em>'. * <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIContainedElementNoParentLink() + * + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIContainedElementNoParentLink() * @model interface="true" abstract="true" * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainedElement.java index e9632ef8ed..9541a1f429 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainedElement.java @@ -15,14 +15,15 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Contained Element</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefContainedElement() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefContainedElement() * @model interface="true" abstract="true" * @generated */ @@ -48,11 +49,9 @@ public interface IMultiRefContainedElement extends EObject IMultiRefContainer getParent(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#getParent - * <em>Parent</em>}' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' container reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param value the new value of the '<em>Parent</em>' container reference. * @see #getParent() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainer.java index a67b32a91f..9465af8865 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainer.java @@ -16,14 +16,15 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Container</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer#getElements <em>Elements</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefContainer() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefContainer() * @model interface="true" abstract="true" * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainerNPL.java index e1ca6dbc64..0f7cab5dcb 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainerNPL.java @@ -16,30 +16,31 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Container NPL</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL#getElements <em>Elements</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefContainerNPL() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefContainerNPL() * @model interface="true" abstract="true" * @generated */ public interface IMultiRefContainerNPL extends EObject { /** - * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink}. <!-- begin-user-doc --> + * Returns the value of the '<em><b>Elements</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink}. + * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> - * * @return the value of the '<em>Elements</em>' containment reference list. - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefContainerNPL_Elements() + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefContainerNPL_Elements() * @model containment="true" * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainedElement.java index 8f48fb8ed7..347f338e55 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainedElement.java @@ -15,14 +15,15 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Non Contained Element</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefNonContainedElement() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefNonContainedElement() * @model interface="true" abstract="true" * @generated */ @@ -48,11 +49,9 @@ public interface IMultiRefNonContainedElement extends EObject IMultiRefNonContainer getParent(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent - * <em>Parent</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param value the new value of the '<em>Parent</em>' reference. * @see #getParent() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainer.java index 9060cd599e..9b2440b63e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainer.java @@ -16,32 +16,32 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Non Container</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefNonContainer() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefNonContainer() * @model interface="true" abstract="true" * @generated */ public interface IMultiRefNonContainer extends EObject { /** - * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement}. It is bidirectional and its - * opposite is '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent - * <em>Parent</em>}'. <!-- begin-user-doc --> + * Returns the value of the '<em><b>Elements</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}'. + * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Elements</em>' reference isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> - * * @return the value of the '<em>Elements</em>' reference list. - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefNonContainer_Elements() + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefNonContainer_Elements() * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent * @model opposite="parent" * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainerNPL.java index 1cc2fe7d0d..a3c87be379 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainerNPL.java @@ -16,30 +16,31 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>IMulti Ref Non Container NPL</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL#getElements <em>Elements</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefNonContainerNPL() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefNonContainerNPL() * @model interface="true" abstract="true" * @generated */ public interface IMultiRefNonContainerNPL extends EObject { /** - * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink}. <!-- begin-user-doc --> + * Returns the value of the '<em><b>Elements</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink}. + * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> - * * @return the value of the '<em>Elements</em>' reference list. - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefNonContainerNPL_Elements() + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getIMultiRefNonContainerNPL_Elements() * @model * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/INamedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/INamedElement.java index 77477a2105..8d5869e6ad 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/INamedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/INamedElement.java @@ -14,40 +14,39 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>INamed Element</b></em>'. <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#getName <em>Name</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getINamedElement() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getINamedElement() * @model interface="true" abstract="true" * @generated */ public interface INamedElement extends EObject { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.cdo.tests.model4interfaces.model4interfacesPackage#getINamedElement_Name() + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getINamedElement_Name() * @model * @generated */ String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainedElement.java index c7462e00f5..09c3f14826 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainedElement.java @@ -15,14 +15,15 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Contained Element</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getISingleRefContainedElement() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getISingleRefContainedElement() * @model interface="true" abstract="true" * @generated */ @@ -48,11 +49,9 @@ public interface ISingleRefContainedElement extends EObject ISingleRefContainer getParent(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#getParent - * <em>Parent</em>}' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' container reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param value the new value of the '<em>Parent</em>' container reference. * @see #getParent() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainer.java index fdedcc7214..b48c1beb63 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainer.java @@ -15,14 +15,15 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Container</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getISingleRefContainer() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getISingleRefContainer() * @model interface="true" abstract="true" * @generated */ @@ -48,11 +49,9 @@ public interface ISingleRefContainer extends EObject ISingleRefContainedElement getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer#getElement - * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' containment reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}' containment reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param value the new value of the '<em>Element</em>' containment reference. * @see #getElement() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainerNPL.java index 0b32f2d422..4f1892c479 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainerNPL.java @@ -15,41 +15,40 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Container NPL</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL#getElement <em>Element</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getISingleRefContainerNPL() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getISingleRefContainerNPL() * @model interface="true" abstract="true" * @generated */ public interface ISingleRefContainerNPL extends EObject { /** - * Returns the value of the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> + * Returns the value of the '<em><b>Element</b></em>' containment reference. + * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a * description here... * </p> * <!-- end-user-doc --> - * * @return the value of the '<em>Element</em>' containment reference. * @see #setElement(IContainedElementNoParentLink) - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getISingleRefContainerNPL_Element() + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getISingleRefContainerNPL_Element() * @model containment="true" * @generated */ IContainedElementNoParentLink getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL#getElement - * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' containment reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL#getElement <em>Element</em>}' containment reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param value the new value of the '<em>Element</em>' containment reference. * @see #getElement() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainedElement.java index 400bed87dc..5740280a28 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainedElement.java @@ -15,14 +15,15 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Non Contained Element</b></em>'. * <!-- end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getISingleRefNonContainedElement() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getISingleRefNonContainedElement() * @model interface="true" abstract="true" * @generated */ @@ -47,11 +48,9 @@ public interface ISingleRefNonContainedElement extends EObject ISingleRefNonContainer getParent(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#getParent - * <em>Parent</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param value the new value of the '<em>Parent</em>' reference. * @see #getParent() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainer.java index 6d25e88e7d..108b8d7db1 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainer.java @@ -15,14 +15,15 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Non Container</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getISingleRefNonContainer() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getISingleRefNonContainer() * @model interface="true" abstract="true" * @generated */ @@ -48,11 +49,9 @@ public interface ISingleRefNonContainer extends EObject ISingleRefNonContainedElement getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer#getElement - * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param value the new value of the '<em>Element</em>' reference. * @see #getElement() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainerNPL.java index 27f1949abb..2cea409e79 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainerNPL.java @@ -15,41 +15,40 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> A representation of the model object '<em><b>ISingle Ref Non Container NPL</b></em>'. <!-- * end-user-doc --> + * * <p> * The following features are supported: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}</li> * </ul> * </p> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getISingleRefNonContainerNPL() + * + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getISingleRefNonContainerNPL() * @model interface="true" abstract="true" * @generated */ public interface ISingleRefNonContainerNPL extends EObject { /** - * Returns the value of the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> + * Returns the value of the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description * here... * </p> * <!-- end-user-doc --> - * * @return the value of the '<em>Element</em>' reference. * @see #setElement(IContainedElementNoParentLink) - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getISingleRefNonContainerNPL_Element() + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage#getISingleRefNonContainerNPL_Element() * @model * @generated */ IContainedElementNoParentLink getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL#getElement - * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param value the new value of the '<em>Element</em>' reference. * @see #getElement() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesFactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesFactoryImpl.java index 8c45233044..ff17dca332 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesFactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesFactoryImpl.java @@ -4,12 +4,13 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Eike Stepper - initial API and implementation */ package org.eclipse.emf.cdo.tests.model4interfaces.impl; +//import org.eclipse.emf.cdo.tests.model4interfaces.*; import org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesFactory; import org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage; @@ -21,14 +22,13 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc --> - * * @generated */ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4interfacesFactory { /** - * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates the default factory implementation. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public static model4interfacesFactory init() @@ -50,8 +50,8 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i } /** - * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates an instance of the factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public model4interfacesFactoryImpl() @@ -61,7 +61,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -76,7 +75,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public model4interfacesPackage getmodel4interfacesPackage() @@ -86,7 +84,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java index 3fef9ada16..1a329d56d2 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java @@ -35,105 +35,90 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; /** * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc --> - * * @generated */ public class model4interfacesPackageImpl extends EPackageImpl implements model4interfacesPackage { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iNamedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iContainedElementNoParentLinkEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainerNPLEClass = null; @@ -158,7 +143,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private static boolean isInited = false; @@ -203,7 +187,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainer() @@ -213,7 +196,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainer_Element() @@ -223,7 +205,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainedElement() @@ -233,7 +214,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainedElement_Parent() @@ -243,7 +223,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainer() @@ -253,7 +232,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainer_Element() @@ -263,7 +241,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainedElement() @@ -273,7 +250,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainedElement_Parent() @@ -283,7 +259,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainer() @@ -293,7 +268,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainer_Elements() @@ -303,7 +277,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainedElement() @@ -313,7 +286,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainedElement_Parent() @@ -323,7 +295,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainer() @@ -333,7 +304,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainer_Elements() @@ -343,7 +313,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainedElement() @@ -353,7 +322,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainedElement_Parent() @@ -363,7 +331,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getINamedElement() @@ -373,7 +340,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getINamedElement_Name() @@ -383,7 +349,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIContainedElementNoParentLink() @@ -393,7 +358,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainerNPL() @@ -403,7 +367,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainerNPL_Element() @@ -413,7 +376,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainerNPL() @@ -423,7 +385,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainerNPL_Element() @@ -433,7 +394,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainerNPL() @@ -443,7 +403,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainerNPL_Elements() @@ -453,7 +412,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainerNPL() @@ -463,7 +421,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainerNPL_Elements() @@ -473,7 +430,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public model4interfacesFactory getmodel4interfacesFactory() @@ -483,15 +439,14 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- 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 --> - * + * 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() @@ -545,15 +500,14 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- 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 --> - * + * 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() diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesFactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/impl/model4interfacesFactoryImpl.java index 3ce76340c0..fbc2c34521 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesFactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/impl/model4interfacesFactoryImpl.java @@ -4,14 +4,15 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Eike Stepper - initial API and implementation */ -package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl; +package org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +//import org.eclipse.emf.cdo.tests.model4interfaces.*; +import org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesFactory; +import org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; @@ -21,14 +22,13 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc --> - * * @generated */ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4interfacesFactory { /** * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated NOT */ public static model4interfacesFactory init() @@ -50,8 +50,8 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i } /** - * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates an instance of the factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public model4interfacesFactoryImpl() @@ -61,7 +61,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -76,7 +75,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public model4interfacesPackage getmodel4interfacesPackage() @@ -86,7 +84,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesPackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/impl/model4interfacesPackageImpl.java index d1fc29eb34..7853788e95 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesPackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/impl/model4interfacesPackageImpl.java @@ -8,10 +8,8 @@ * Contributors: * Eike Stepper - initial API and implementation */ -package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl; +package org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer; @@ -26,6 +24,8 @@ import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL; import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement; import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer; import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesFactory; +import org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; @@ -35,105 +35,90 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; /** * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc --> - * * @generated */ public class model4interfacesPackageImpl extends EPackageImpl implements model4interfacesPackage { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iNamedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iContainedElementNoParentLinkEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainerNPLEClass = null; @@ -158,7 +143,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private static boolean isInited = false; @@ -203,7 +187,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainer() @@ -213,7 +196,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainer_Element() @@ -223,7 +205,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainedElement() @@ -233,7 +214,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainedElement_Parent() @@ -243,7 +223,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainer() @@ -253,7 +232,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainer_Element() @@ -263,7 +241,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainedElement() @@ -273,7 +250,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainedElement_Parent() @@ -283,7 +259,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainer() @@ -293,7 +268,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainer_Elements() @@ -303,7 +277,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainedElement() @@ -313,7 +286,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainedElement_Parent() @@ -323,7 +295,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainer() @@ -333,7 +304,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainer_Elements() @@ -343,7 +313,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainedElement() @@ -353,7 +322,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainedElement_Parent() @@ -363,7 +331,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getINamedElement() @@ -373,7 +340,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getINamedElement_Name() @@ -383,7 +349,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIContainedElementNoParentLink() @@ -393,7 +358,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainerNPL() @@ -403,7 +367,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainerNPL_Element() @@ -413,7 +376,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainerNPL() @@ -423,7 +385,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainerNPL_Element() @@ -433,7 +394,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainerNPL() @@ -443,7 +403,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainerNPL_Elements() @@ -453,7 +412,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainerNPL() @@ -463,7 +421,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainerNPL_Elements() @@ -473,7 +430,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public model4interfacesFactory getmodel4interfacesFactory() @@ -483,15 +439,14 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- 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 --> - * + * 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() @@ -545,15 +500,14 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- 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 --> - * + * 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() diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/model4interfacesFactory.java index cc5f5bd001..e59eb640e7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/model4interfacesFactory.java @@ -4,16 +4,18 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Eike Stepper - initial API and implementation */ -package org.eclipse.emf.cdo.tests.legacy.model4interfaces; +package org.eclipse.emf.cdo.tests.model4interfaces.legacy; /** - * <!-- 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 --> - * + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. It provides a create method for each non-abstract class of the model. + * @extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesFactory + * <!-- end-user-doc --> + * * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage * @generated NOT */ @@ -21,15 +23,15 @@ public interface model4interfacesFactory extends org.eclipse.emf.cdo.tests.model { /** * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ - model4interfacesFactory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesFactoryImpl + model4interfacesFactory eINSTANCE = org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesFactoryImpl .init(); /** * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the package supported by this factory. * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesPackage.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/model4interfacesPackage.java index 04166475ea..463e8d93cd 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesPackage.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/model4interfacesPackage.java @@ -4,14 +4,15 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Eike Stepper - initial API and implementation */ -package org.eclipse.emf.cdo.tests.legacy.model4interfaces; +package org.eclipse.emf.cdo.tests.model4interfaces.legacy; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; /** @@ -22,49 +23,49 @@ import org.eclipse.emf.ecore.EReference; * <li>each enum,</li> * <li>and each data type</li> * </ul> + * @extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage * <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesFactory * @model kind="package" * @generated */ -public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage +public interface model4interfacesPackage extends EPackage, + org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage { /** - * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The package name. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ String eNAME = "model4interfaces"; /** * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated NOT */ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model4interfaces/1.0.0"; /** - * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The package namespace name. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ String eNS_PREFIX = "model4interfaces"; /** - * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The singleton instance of the package. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ - model4interfacesPackage eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl + model4interfacesPackage eINSTANCE = org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl .init(); /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer - * <em>ISingle Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainer() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer <em>ISingle Ref Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getISingleRefContainer() * @generated */ int ISINGLE_REF_CONTAINER = 0; @@ -72,224 +73,216 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model /** * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc * --> - * + * * @generated * @ordered */ int ISINGLE_REF_CONTAINER__ELEMENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>ISingle Ref Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_CONTAINER_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainedElement() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getISingleRefContainedElement() * @generated */ int ISINGLE_REF_CONTAINED_ELEMENT = 1; /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int ISINGLE_REF_CONTAINED_ELEMENT__PARENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Contained Element</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>ISingle Ref Contained Element</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer - * <em>ISingle Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainer() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getISingleRefNonContainer() * @generated */ int ISINGLE_REF_NON_CONTAINER = 2; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINER__ELEMENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Non Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>ISingle Ref Non Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainedElement() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getISingleRefNonContainedElement() * @generated */ int ISINGLE_REF_NON_CONTAINED_ELEMENT = 3; /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Non Contained Element</em>' class. <!-- begin-user-doc + * The number of structural features of the '<em>ISingle Ref Non Contained Element</em>' class. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainer() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getIMultiRefContainer() * @generated */ int IMULTI_REF_CONTAINER = 4; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINER__ELEMENTS = 0; /** - * The number of structural features of the '<em>IMulti Ref Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>IMulti Ref Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINER_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement - * <em>IMulti Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainedElement() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getIMultiRefContainedElement() * @generated */ int IMULTI_REF_CONTAINED_ELEMENT = 5; /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMULTI_REF_CONTAINED_ELEMENT__PARENT = 0; /** - * The number of structural features of the '<em>IMulti Ref Contained Element</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>IMulti Ref Contained Element</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer - * <em>IMulti Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainer() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getIMultiRefNonContainer() * @generated */ int IMULTI_REF_NON_CONTAINER = 6; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMULTI_REF_NON_CONTAINER__ELEMENTS = 0; /** - * The number of structural features of the '<em>IMulti Ref Non Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>IMulti Ref Non Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_NON_CONTAINER_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainedElement() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getIMultiRefNonContainedElement() * @generated */ int IMULTI_REF_NON_CONTAINED_ELEMENT = 7; /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT = 0; /** - * The number of structural features of the '<em>IMulti Ref Non Contained Element</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>IMulti Ref Non Contained Element</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement - * <em>INamed Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getINamedElement() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement <em>INamed Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getINamedElement() * @generated */ int INAMED_ELEMENT = 8; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ @@ -298,37 +291,35 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model /** * The number of structural features of the '<em>INamed Element</em>' class. <!-- begin-user-doc --> <!-- end-user-doc * --> - * + * * @generated * @ordered */ int INAMED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIContainedElementNoParentLink() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getIContainedElementNoParentLink() * @generated */ int ICONTAINED_ELEMENT_NO_PARENT_LINK = 9; /** - * The number of structural features of the '<em>IContained Element No Parent Link</em>' class. <!-- begin-user-doc + * The number of structural features of the '<em>IContained Element No Parent Link</em>' class. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @generated * @ordered */ int ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT = 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL - * <em>ISingle Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainerNPL() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getISingleRefContainerNPL() * @generated */ int ISINGLE_REF_CONTAINER_NPL = 10; @@ -336,109 +327,105 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model /** * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc * --> - * + * * @generated * @ordered */ int ISINGLE_REF_CONTAINER_NPL__ELEMENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Container NPL</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>ISingle Ref Container NPL</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL - * <em>ISingle Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainerNPL() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getISingleRefNonContainerNPL() * @generated */ int ISINGLE_REF_NON_CONTAINER_NPL = 11; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Non Container NPL</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>ISingle Ref Non Container NPL</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL - * <em>IMulti Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainerNPL() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getIMultiRefContainerNPL() * @generated */ int IMULTI_REF_CONTAINER_NPL = 12; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINER_NPL__ELEMENTS = 0; /** - * The number of structural features of the '<em>IMulti Ref Container NPL</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>IMulti Ref Container NPL</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL - * <em>IMulti Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainerNPL() + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL + * @see org.eclipse.emf.cdo.tests.model4interfaces.legacy.impl.model4interfacesPackageImpl#getIMultiRefNonContainerNPL() * @generated */ int IMULTI_REF_NON_CONTAINER_NPL = 13; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS = 0; /** - * The number of structural features of the '<em>IMulti Ref Non Container NPL</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>IMulti Ref Non Container NPL</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1; /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer - * <em>ISingle Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer <em>ISingle Ref Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Container</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer * @generated */ EClass getISingleRefContainer(); @@ -447,7 +434,7 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model * Returns the meta object for the containment reference ' * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}'. <!-- * begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#getElement() * @see #getISingleRefContainer() @@ -456,34 +443,29 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model EReference getISingleRefContainer_Element(); /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement * @generated */ EClass getISingleRefContainedElement(); /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}'. + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the meta object for the container reference '<em>Parent</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#getParent() + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#getParent() * @see #getISingleRefContainedElement() * @generated */ EReference getISingleRefContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer - * <em>ISingle Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Non Container</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer * @generated */ EClass getISingleRefNonContainer(); @@ -492,7 +474,7 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model * Returns the meta object for the reference ' * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}'. <!-- * begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#getElement() * @see #getISingleRefNonContainer() @@ -501,34 +483,29 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model EReference getISingleRefNonContainer_Element(); /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Non Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement * @generated */ EClass getISingleRefNonContainedElement(); /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the meta object for the reference '<em>Parent</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#getParent() + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#getParent() * @see #getISingleRefNonContainedElement() * @generated */ EReference getISingleRefNonContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Container</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer * @generated */ EClass getIMultiRefContainer(); @@ -537,7 +514,7 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model * Returns the meta object for the containment reference list ' * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#getElements <em>Elements</em>}'. <!-- * begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference list '<em>Elements</em>'. * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#getElements() * @see #getIMultiRefContainer() @@ -546,112 +523,96 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model EReference getIMultiRefContainer_Elements(); /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement - * <em>IMulti Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement * @generated */ EClass getIMultiRefContainedElement(); /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}'. + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the meta object for the container reference '<em>Parent</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#getParent() + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#getParent() * @see #getIMultiRefContainedElement() * @generated */ EReference getIMultiRefContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer - * <em>IMulti Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Non Container</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer * @generated */ EClass getIMultiRefNonContainer(); /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}'. + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the meta object for the reference list '<em>Elements</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#getElements() + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer#getElements() * @see #getIMultiRefNonContainer() * @generated */ EReference getIMultiRefNonContainer_Elements(); /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Non Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement * @generated */ EClass getIMultiRefNonContainedElement(); /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the meta object for the reference '<em>Parent</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#getParent() + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent() * @see #getIMultiRefNonContainedElement() * @generated */ EReference getIMultiRefNonContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement - * <em>INamed Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement <em>INamed Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>INamed Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement + * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement * @generated */ EClass getINamedElement(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement#getName <em>Name</em>}'. <!-- begin-user-doc + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#getName <em>Name</em>}'. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement#getName() + * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#getName() * @see #getINamedElement() * @generated */ EAttribute getINamedElement_Name(); /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IContained Element No Parent Link</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink + * @see org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink * @generated */ EClass getIContainedElementNoParentLink(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL - * <em>ISingle Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL * @generated */ EClass getISingleRefContainerNPL(); @@ -660,7 +621,7 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model * Returns the meta object for the containment reference ' * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL#getElement <em>Element</em>}'. <!-- * begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL#getElement() * @see #getISingleRefContainerNPL() @@ -669,76 +630,65 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model EReference getISingleRefContainerNPL_Element(); /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL - * <em>ISingle Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Non Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL * @generated */ EClass getISingleRefNonContainerNPL(); /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}'. + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the meta object for the reference '<em>Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL#getElement() + * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL#getElement() * @see #getISingleRefNonContainerNPL() * @generated */ EReference getISingleRefNonContainerNPL_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL - * <em>IMulti Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL * @generated */ EClass getIMultiRefContainerNPL(); /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL#getElements <em>Elements</em>}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL#getElements <em>Elements</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the meta object for the containment reference list '<em>Elements</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL#getElements() + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL#getElements() * @see #getIMultiRefContainerNPL() * @generated */ EReference getIMultiRefContainerNPL_Elements(); /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL - * <em>IMulti Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Non Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL * @generated */ EClass getIMultiRefNonContainerNPL(); /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL#getElements <em>Elements</em>}'. + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL#getElements <em>Elements</em>}'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the meta object for the reference list '<em>Elements</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL#getElements() + * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL#getElements() * @see #getIMultiRefNonContainerNPL() * @generated */ EReference getIMultiRefNonContainerNPL_Elements(); /** - * Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * 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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/util/model4interfacesAdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/util/model4interfacesAdapterFactory.java new file mode 100644 index 0000000000..ecfcd09c1f --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/util/model4interfacesAdapterFactory.java @@ -0,0 +1,424 @@ +/** + * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Eike Stepper - initial API and implementation + */ +package org.eclipse.emf.cdo.tests.model4interfaces.legacy.util; + +import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage; + +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; + +/** + * <!-- 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.cdo.tests.model4interfaces.legacy.model4interfacesPackage + * @generated + */ +public class model4interfacesAdapterFactory extends AdapterFactoryImpl +{ + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static model4interfacesPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public model4interfacesAdapterFactory() + { + if (modelPackage == null) + { + modelPackage = model4interfacesPackage.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 model4interfacesSwitch<Adapter> modelSwitch = new model4interfacesSwitch<Adapter>() + { + @Override + public Adapter caseISingleRefContainer(ISingleRefContainer object) + { + return createISingleRefContainerAdapter(); + } + + @Override + public Adapter caseISingleRefContainedElement(ISingleRefContainedElement object) + { + return createISingleRefContainedElementAdapter(); + } + + @Override + public Adapter caseISingleRefNonContainer(ISingleRefNonContainer object) + { + return createISingleRefNonContainerAdapter(); + } + + @Override + public Adapter caseISingleRefNonContainedElement(ISingleRefNonContainedElement object) + { + return createISingleRefNonContainedElementAdapter(); + } + + @Override + public Adapter caseIMultiRefContainer(IMultiRefContainer object) + { + return createIMultiRefContainerAdapter(); + } + + @Override + public Adapter caseIMultiRefContainedElement(IMultiRefContainedElement object) + { + return createIMultiRefContainedElementAdapter(); + } + + @Override + public Adapter caseIMultiRefNonContainer(IMultiRefNonContainer object) + { + return createIMultiRefNonContainerAdapter(); + } + + @Override + public Adapter caseIMultiRefNonContainedElement(IMultiRefNonContainedElement object) + { + return createIMultiRefNonContainedElementAdapter(); + } + + @Override + public Adapter caseINamedElement(INamedElement object) + { + return createINamedElementAdapter(); + } + + @Override + public Adapter caseIContainedElementNoParentLink(IContainedElementNoParentLink object) + { + return createIContainedElementNoParentLinkAdapter(); + } + + @Override + public Adapter caseISingleRefContainerNPL(ISingleRefContainerNPL object) + { + return createISingleRefContainerNPLAdapter(); + } + + @Override + public Adapter caseISingleRefNonContainerNPL(ISingleRefNonContainerNPL object) + { + return createISingleRefNonContainerNPLAdapter(); + } + + @Override + public Adapter caseIMultiRefContainerNPL(IMultiRefContainerNPL object) + { + return createIMultiRefContainerNPLAdapter(); + } + + @Override + public Adapter caseIMultiRefNonContainerNPL(IMultiRefNonContainerNPL object) + { + return createIMultiRefNonContainerNPLAdapter(); + } + + @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.cdo.tests.model4interfaces.ISingleRefContainer <em>ISingle Ref Container</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.cdo.tests.model4interfaces.ISingleRefContainer + * @generated + */ + public Adapter createISingleRefContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</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.cdo.tests.model4interfaces.ISingleRefContainedElement + * @generated + */ + public Adapter createISingleRefContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</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.cdo.tests.model4interfaces.ISingleRefNonContainer + * @generated + */ + public Adapter createISingleRefNonContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</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.cdo.tests.model4interfaces.ISingleRefNonContainedElement + * @generated + */ + public Adapter createISingleRefNonContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</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.cdo.tests.model4interfaces.IMultiRefContainer + * @generated + */ + public Adapter createIMultiRefContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</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.cdo.tests.model4interfaces.IMultiRefContainedElement + * @generated + */ + public Adapter createIMultiRefContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</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.cdo.tests.model4interfaces.IMultiRefNonContainer + * @generated + */ + public Adapter createIMultiRefNonContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</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.cdo.tests.model4interfaces.IMultiRefNonContainedElement + * @generated + */ + public Adapter createIMultiRefNonContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement <em>INamed Element</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.cdo.tests.model4interfaces.INamedElement + * @generated + */ + public Adapter createINamedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</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.cdo.tests.model4interfaces.IContainedElementNoParentLink + * @generated + */ + public Adapter createIContainedElementNoParentLinkAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</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.cdo.tests.model4interfaces.ISingleRefContainerNPL + * @generated + */ + public Adapter createISingleRefContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</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.cdo.tests.model4interfaces.ISingleRefNonContainerNPL + * @generated + */ + public Adapter createISingleRefNonContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</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.cdo.tests.model4interfaces.IMultiRefContainerNPL + * @generated + */ + public Adapter createIMultiRefContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</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.cdo.tests.model4interfaces.IMultiRefNonContainerNPL + * @generated + */ + public Adapter createIMultiRefNonContainerNPLAdapter() + { + 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; + } + +} //model4interfacesAdapterFactory diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/util/model4interfacesSwitch.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/util/model4interfacesSwitch.java new file mode 100644 index 0000000000..513adc3258 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/legacy/util/model4interfacesSwitch.java @@ -0,0 +1,471 @@ +/** + * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Eike Stepper - initial API and implementation + */ +package org.eclipse.emf.cdo.tests.model4interfaces.legacy.util; + +import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.legacy.model4interfacesPackage; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import java.util.List; + +/** + * <!-- 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.cdo.tests.model4interfaces.legacy.model4interfacesPackage + * @generated + */ +public class model4interfacesSwitch<T> +{ + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static model4interfacesPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public model4interfacesSwitch() + { + if (modelPackage == null) + { + modelPackage = model4interfacesPackage.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 model4interfacesPackage.ISINGLE_REF_CONTAINER: + { + ISingleRefContainer iSingleRefContainer = (ISingleRefContainer)theEObject; + T result = caseISingleRefContainer(iSingleRefContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT: + { + ISingleRefContainedElement iSingleRefContainedElement = (ISingleRefContainedElement)theEObject; + T result = caseISingleRefContainedElement(iSingleRefContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER: + { + ISingleRefNonContainer iSingleRefNonContainer = (ISingleRefNonContainer)theEObject; + T result = caseISingleRefNonContainer(iSingleRefNonContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT: + { + ISingleRefNonContainedElement iSingleRefNonContainedElement = (ISingleRefNonContainedElement)theEObject; + T result = caseISingleRefNonContainedElement(iSingleRefNonContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.IMULTI_REF_CONTAINER: + { + IMultiRefContainer iMultiRefContainer = (IMultiRefContainer)theEObject; + T result = caseIMultiRefContainer(iMultiRefContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT: + { + IMultiRefContainedElement iMultiRefContainedElement = (IMultiRefContainedElement)theEObject; + T result = caseIMultiRefContainedElement(iMultiRefContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.IMULTI_REF_NON_CONTAINER: + { + IMultiRefNonContainer iMultiRefNonContainer = (IMultiRefNonContainer)theEObject; + T result = caseIMultiRefNonContainer(iMultiRefNonContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT: + { + IMultiRefNonContainedElement iMultiRefNonContainedElement = (IMultiRefNonContainedElement)theEObject; + T result = caseIMultiRefNonContainedElement(iMultiRefNonContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.INAMED_ELEMENT: + { + INamedElement iNamedElement = (INamedElement)theEObject; + T result = caseINamedElement(iNamedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK: + { + IContainedElementNoParentLink iContainedElementNoParentLink = (IContainedElementNoParentLink)theEObject; + T result = caseIContainedElementNoParentLink(iContainedElementNoParentLink); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL: + { + ISingleRefContainerNPL iSingleRefContainerNPL = (ISingleRefContainerNPL)theEObject; + T result = caseISingleRefContainerNPL(iSingleRefContainerNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL: + { + ISingleRefNonContainerNPL iSingleRefNonContainerNPL = (ISingleRefNonContainerNPL)theEObject; + T result = caseISingleRefNonContainerNPL(iSingleRefNonContainerNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.IMULTI_REF_CONTAINER_NPL: + { + IMultiRefContainerNPL iMultiRefContainerNPL = (IMultiRefContainerNPL)theEObject; + T result = caseIMultiRefContainerNPL(iMultiRefContainerNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL: + { + IMultiRefNonContainerNPL iMultiRefNonContainerNPL = (IMultiRefNonContainerNPL)theEObject; + T result = caseIMultiRefNonContainerNPL(iMultiRefNonContainerNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Container</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>ISingle Ref Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefContainer(ISingleRefContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Contained 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>ISingle Ref Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefContainedElement(ISingleRefContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Container</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>ISingle Ref Non Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefNonContainer(ISingleRefNonContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Contained 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>ISingle Ref Non Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefNonContainedElement(ISingleRefNonContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Container</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>IMulti Ref Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefContainer(IMultiRefContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Contained 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>IMulti Ref Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefContainedElement(IMultiRefContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Container</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>IMulti Ref Non Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefNonContainer(IMultiRefNonContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Contained 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>IMulti Ref Non Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefNonContainedElement(IMultiRefNonContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>INamed 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>INamed Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseINamedElement(INamedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IContained Element No Parent Link</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>IContained Element No Parent Link</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIContainedElementNoParentLink(IContainedElementNoParentLink object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Container NPL</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>ISingle Ref Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefContainerNPL(ISingleRefContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Container NPL</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>ISingle Ref Non Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefNonContainerNPL(ISingleRefNonContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Container NPL</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>IMulti Ref Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefContainerNPL(IMultiRefContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Container NPL</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>IMulti Ref Non Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefNonContainerNPL(IMultiRefNonContainerNPL 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; + } + +} //model4interfacesSwitch diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesFactory.java index d587daa44d..22ccd43643 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesFactory.java @@ -15,23 +15,22 @@ 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.cdo.tests.model4interfaces.model4interfacesPackage * @generated */ public interface model4interfacesFactory extends EFactory { /** - * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The singleton instance of the factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ model4interfacesFactory eINSTANCE = org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesFactoryImpl .init(); /** - * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the package supported by this factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the package supported by this factory. * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java index 61e85c8b6a..b551885d77 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java @@ -24,7 +24,6 @@ import org.eclipse.emf.ecore.EReference; * <li>and each data type</li> * </ul> * <!-- end-user-doc --> - * * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesFactory * @model kind="package" * @generated @@ -32,38 +31,37 @@ import org.eclipse.emf.ecore.EReference; public interface model4interfacesPackage extends EPackage { /** - * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The package name. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ String eNAME = "model4interfaces"; /** - * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The package namespace URI. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model4interfaces/1.0.0"; /** - * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The package namespace name. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ String eNS_PREFIX = "model4interfaces"; /** - * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The singleton instance of the package. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ model4interfacesPackage eINSTANCE = org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl .init(); /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer - * <em>ISingle Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer <em>ISingle Ref Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainer() * @generated @@ -80,18 +78,17 @@ public interface model4interfacesPackage extends EPackage int ISINGLE_REF_CONTAINER__ELEMENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>ISingle Ref Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_CONTAINER_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainedElement() * @generated @@ -99,26 +96,25 @@ public interface model4interfacesPackage extends EPackage int ISINGLE_REF_CONTAINED_ELEMENT = 1; /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int ISINGLE_REF_CONTAINED_ELEMENT__PARENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Contained Element</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>ISingle Ref Contained Element</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer - * <em>ISingle Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainer() * @generated @@ -126,26 +122,25 @@ public interface model4interfacesPackage extends EPackage int ISINGLE_REF_NON_CONTAINER = 2; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINER__ELEMENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Non Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>ISingle Ref Non Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainedElement() * @generated @@ -153,26 +148,25 @@ public interface model4interfacesPackage extends EPackage int ISINGLE_REF_NON_CONTAINED_ELEMENT = 3; /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Non Contained Element</em>' class. <!-- begin-user-doc + * The number of structural features of the '<em>ISingle Ref Non Contained Element</em>' class. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainer() * @generated @@ -180,27 +174,26 @@ public interface model4interfacesPackage extends EPackage int IMULTI_REF_CONTAINER = 4; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINER__ELEMENTS = 0; /** - * The number of structural features of the '<em>IMulti Ref Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>IMulti Ref Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINER_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement - * <em>IMulti Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainedElement() * @generated @@ -208,26 +201,25 @@ public interface model4interfacesPackage extends EPackage int IMULTI_REF_CONTAINED_ELEMENT = 5; /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMULTI_REF_CONTAINED_ELEMENT__PARENT = 0; /** - * The number of structural features of the '<em>IMulti Ref Contained Element</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>IMulti Ref Contained Element</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer - * <em>IMulti Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainer() * @generated @@ -235,26 +227,25 @@ public interface model4interfacesPackage extends EPackage int IMULTI_REF_NON_CONTAINER = 6; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMULTI_REF_NON_CONTAINER__ELEMENTS = 0; /** - * The number of structural features of the '<em>IMulti Ref Non Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>IMulti Ref Non Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_NON_CONTAINER_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainedElement() * @generated @@ -262,26 +253,25 @@ public interface model4interfacesPackage extends EPackage int IMULTI_REF_NON_CONTAINED_ELEMENT = 7; /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT = 0; /** - * The number of structural features of the '<em>IMulti Ref Non Contained Element</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>IMulti Ref Non Contained Element</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement - * <em>INamed Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement <em>INamed Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getINamedElement() * @generated @@ -289,8 +279,8 @@ public interface model4interfacesPackage extends EPackage int INAMED_ELEMENT = 8; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ @@ -306,9 +296,8 @@ public interface model4interfacesPackage extends EPackage int INAMED_ELEMENT_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIContainedElementNoParentLink() * @generated @@ -316,18 +305,17 @@ public interface model4interfacesPackage extends EPackage int ICONTAINED_ELEMENT_NO_PARENT_LINK = 9; /** - * The number of structural features of the '<em>IContained Element No Parent Link</em>' class. <!-- begin-user-doc + * The number of structural features of the '<em>IContained Element No Parent Link</em>' class. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @generated * @ordered */ int ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT = 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL - * <em>ISingle Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainerNPL() * @generated @@ -344,18 +332,17 @@ public interface model4interfacesPackage extends EPackage int ISINGLE_REF_CONTAINER_NPL__ELEMENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Container NPL</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>ISingle Ref Container NPL</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL - * <em>ISingle Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainerNPL() * @generated @@ -363,26 +350,25 @@ public interface model4interfacesPackage extends EPackage int ISINGLE_REF_NON_CONTAINER_NPL = 11; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT = 0; /** - * The number of structural features of the '<em>ISingle Ref Non Container NPL</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>ISingle Ref Non Container NPL</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL - * <em>IMulti Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainerNPL() * @generated @@ -390,27 +376,26 @@ public interface model4interfacesPackage extends EPackage int IMULTI_REF_CONTAINER_NPL = 12; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINER_NPL__ELEMENTS = 0; /** - * The number of structural features of the '<em>IMulti Ref Container NPL</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>IMulti Ref Container NPL</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL - * <em>IMulti Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainerNPL() * @generated @@ -418,26 +403,25 @@ public interface model4interfacesPackage extends EPackage int IMULTI_REF_NON_CONTAINER_NPL = 13; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS = 0; /** - * The number of structural features of the '<em>IMulti Ref Non Container NPL</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>IMulti Ref Non Container NPL</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1; /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer - * <em>ISingle Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer <em>ISingle Ref Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Container</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer * @generated @@ -457,9 +441,8 @@ public interface model4interfacesPackage extends EPackage EReference getISingleRefContainer_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement * @generated @@ -479,9 +462,8 @@ public interface model4interfacesPackage extends EPackage EReference getISingleRefContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer - * <em>ISingle Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Non Container</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer * @generated @@ -501,9 +483,8 @@ public interface model4interfacesPackage extends EPackage EReference getISingleRefNonContainer_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Non Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement * @generated @@ -523,9 +504,8 @@ public interface model4interfacesPackage extends EPackage EReference getISingleRefNonContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Container</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer * @generated @@ -545,9 +525,8 @@ public interface model4interfacesPackage extends EPackage EReference getIMultiRefContainer_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement - * <em>IMulti Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement * @generated @@ -567,9 +546,8 @@ public interface model4interfacesPackage extends EPackage EReference getIMultiRefContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer - * <em>IMulti Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Non Container</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer * @generated @@ -589,9 +567,8 @@ public interface model4interfacesPackage extends EPackage EReference getIMultiRefNonContainer_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Non Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement * @generated @@ -611,9 +588,8 @@ public interface model4interfacesPackage extends EPackage EReference getIMultiRefNonContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement - * <em>INamed Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement <em>INamed Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>INamed Element</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement * @generated @@ -621,9 +597,8 @@ public interface model4interfacesPackage extends EPackage EClass getINamedElement(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#getName - * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#getName <em>Name</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for the attribute '<em>Name</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#getName() * @see #getINamedElement() @@ -632,9 +607,8 @@ public interface model4interfacesPackage extends EPackage EAttribute getINamedElement_Name(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IContained Element No Parent Link</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink * @generated @@ -642,9 +616,8 @@ public interface model4interfacesPackage extends EPackage EClass getIContainedElementNoParentLink(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL - * <em>ISingle Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Container NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL * @generated @@ -664,9 +637,8 @@ public interface model4interfacesPackage extends EPackage EReference getISingleRefContainerNPL_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL - * <em>ISingle Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>ISingle Ref Non Container NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL * @generated @@ -686,9 +658,8 @@ public interface model4interfacesPackage extends EPackage EReference getISingleRefNonContainerNPL_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL - * <em>IMulti Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Container NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL * @generated @@ -708,9 +679,8 @@ public interface model4interfacesPackage extends EPackage EReference getIMultiRefContainerNPL_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL - * <em>IMulti Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>IMulti Ref Non Container NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL * @generated @@ -730,8 +700,8 @@ public interface model4interfacesPackage extends EPackage EReference getIMultiRefNonContainerNPL_Elements(); /** - * Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * 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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesAdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesAdapterFactory.java index 3983954130..d339ff7ee7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesAdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesAdapterFactory.java @@ -4,12 +4,13 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Eike Stepper - initial API and implementation */ package org.eclipse.emf.cdo.tests.model4interfaces.util; +//import org.eclipse.emf.cdo.tests.model4interfaces.*; import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer; @@ -34,22 +35,21 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- 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.cdo.tests.model4interfaces.model4interfacesPackage * @generated */ public class model4interfacesAdapterFactory extends AdapterFactoryImpl { /** - * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The cached model package. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ protected static model4interfacesPackage modelPackage; /** - * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public model4interfacesAdapterFactory() @@ -61,10 +61,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation + * 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 */ @@ -83,8 +83,8 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ protected model4interfacesSwitch<Adapter> modelSwitch = new model4interfacesSwitch<Adapter>() @@ -181,10 +181,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl }; /** - * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param target - * the object to adapt. + * 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 */ @@ -199,7 +198,7 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer <em>ISingle Ref Container</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.cdo.tests.model4interfaces.ISingleRefContainer * @generated @@ -210,12 +209,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</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.cdo.tests.model4interfaces.ISingleRefContainedElement * @generated @@ -230,7 +227,7 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</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.cdo.tests.model4interfaces.ISingleRefNonContainer * @generated @@ -241,12 +238,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</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.cdo.tests.model4interfaces.ISingleRefNonContainedElement * @generated @@ -257,11 +252,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</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.cdo.tests.model4interfaces.IMultiRefContainer * @generated @@ -272,11 +266,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>} - * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</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.cdo.tests.model4interfaces.IMultiRefContainedElement * @generated @@ -291,7 +283,7 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</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.cdo.tests.model4interfaces.IMultiRefNonContainer * @generated @@ -302,12 +294,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</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.cdo.tests.model4interfaces.IMultiRefNonContainedElement * @generated @@ -318,10 +308,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement - * <em>INamed Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement <em>INamed Element</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.cdo.tests.model4interfaces.INamedElement * @generated @@ -332,12 +321,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</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.cdo.tests.model4interfaces.IContainedElementNoParentLink * @generated @@ -352,7 +339,7 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container NPL</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.cdo.tests.model4interfaces.ISingleRefContainerNPL * @generated @@ -363,11 +350,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>} - * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</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.cdo.tests.model4interfaces.ISingleRefNonContainerNPL * @generated @@ -382,7 +367,7 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</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.cdo.tests.model4interfaces.IMultiRefContainerNPL * @generated @@ -393,11 +378,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</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.cdo.tests.model4interfaces.IMultiRefNonContainerNPL * @generated @@ -408,9 +391,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns 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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java index 11d652b803..a0734f643c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java @@ -4,7 +4,7 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Eike Stepper - initial API and implementation */ @@ -31,27 +31,28 @@ import org.eclipse.emf.ecore.EObject; import java.util.List; +//import org.eclipse.emf.cdo.tests.model4interfaces.*; + /** * <!-- 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.cdo.tests.model4interfaces.model4interfacesPackage * @generated */ public class model4interfacesSwitch<T> { /** - * The cached model package <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The cached model package + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ protected static model4interfacesPackage modelPackage; /** - * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates an instance of the switch. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public model4interfacesSwitch() @@ -65,7 +66,6 @@ public class model4interfacesSwitch<T> /** * 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 */ @@ -77,7 +77,6 @@ public class model4interfacesSwitch<T> /** * 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 */ @@ -97,7 +96,6 @@ public class model4interfacesSwitch<T> /** * 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 */ @@ -110,7 +108,9 @@ public class model4interfacesSwitch<T> ISingleRefContainer iSingleRefContainer = (ISingleRefContainer)theEObject; T result = caseISingleRefContainer(iSingleRefContainer); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT: @@ -118,7 +118,9 @@ public class model4interfacesSwitch<T> ISingleRefContainedElement iSingleRefContainedElement = (ISingleRefContainedElement)theEObject; T result = caseISingleRefContainedElement(iSingleRefContainedElement); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER: @@ -126,7 +128,9 @@ public class model4interfacesSwitch<T> ISingleRefNonContainer iSingleRefNonContainer = (ISingleRefNonContainer)theEObject; T result = caseISingleRefNonContainer(iSingleRefNonContainer); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT: @@ -134,7 +138,9 @@ public class model4interfacesSwitch<T> ISingleRefNonContainedElement iSingleRefNonContainedElement = (ISingleRefNonContainedElement)theEObject; T result = caseISingleRefNonContainedElement(iSingleRefNonContainedElement); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.IMULTI_REF_CONTAINER: @@ -142,7 +148,9 @@ public class model4interfacesSwitch<T> IMultiRefContainer iMultiRefContainer = (IMultiRefContainer)theEObject; T result = caseIMultiRefContainer(iMultiRefContainer); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT: @@ -150,7 +158,9 @@ public class model4interfacesSwitch<T> IMultiRefContainedElement iMultiRefContainedElement = (IMultiRefContainedElement)theEObject; T result = caseIMultiRefContainedElement(iMultiRefContainedElement); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.IMULTI_REF_NON_CONTAINER: @@ -158,7 +168,9 @@ public class model4interfacesSwitch<T> IMultiRefNonContainer iMultiRefNonContainer = (IMultiRefNonContainer)theEObject; T result = caseIMultiRefNonContainer(iMultiRefNonContainer); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT: @@ -166,7 +178,9 @@ public class model4interfacesSwitch<T> IMultiRefNonContainedElement iMultiRefNonContainedElement = (IMultiRefNonContainedElement)theEObject; T result = caseIMultiRefNonContainedElement(iMultiRefNonContainedElement); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.INAMED_ELEMENT: @@ -174,7 +188,9 @@ public class model4interfacesSwitch<T> INamedElement iNamedElement = (INamedElement)theEObject; T result = caseINamedElement(iNamedElement); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK: @@ -182,7 +198,9 @@ public class model4interfacesSwitch<T> IContainedElementNoParentLink iContainedElementNoParentLink = (IContainedElementNoParentLink)theEObject; T result = caseIContainedElementNoParentLink(iContainedElementNoParentLink); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL: @@ -190,7 +208,9 @@ public class model4interfacesSwitch<T> ISingleRefContainerNPL iSingleRefContainerNPL = (ISingleRefContainerNPL)theEObject; T result = caseISingleRefContainerNPL(iSingleRefContainerNPL); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL: @@ -198,7 +218,9 @@ public class model4interfacesSwitch<T> ISingleRefNonContainerNPL iSingleRefNonContainerNPL = (ISingleRefNonContainerNPL)theEObject; T result = caseISingleRefNonContainerNPL(iSingleRefNonContainerNPL); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.IMULTI_REF_CONTAINER_NPL: @@ -206,7 +228,9 @@ public class model4interfacesSwitch<T> IMultiRefContainerNPL iMultiRefContainerNPL = (IMultiRefContainerNPL)theEObject; T result = caseIMultiRefContainerNPL(iMultiRefContainerNPL); if (result == null) + { result = defaultCase(theEObject); + } return result; } case model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL: @@ -214,7 +238,9 @@ public class model4interfacesSwitch<T> IMultiRefNonContainerNPL iMultiRefNonContainerNPL = (IMultiRefNonContainerNPL)theEObject; T result = caseIMultiRefNonContainerNPL(iMultiRefNonContainerNPL); if (result == null) + { result = defaultCase(theEObject); + } return result; } default: @@ -226,7 +252,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Container</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>ISingle Ref Container</em>'. @@ -242,7 +268,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Contained 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>ISingle Ref Contained Element</em>'. @@ -258,7 +284,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Container</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>ISingle Ref Non Container</em>'. @@ -274,7 +300,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Contained 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>ISingle Ref Non Contained Element</em>'. @@ -290,7 +316,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Container</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>IMulti Ref Container</em>'. @@ -306,7 +332,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Contained 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>IMulti Ref Contained Element</em>'. @@ -322,7 +348,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Container</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>IMulti Ref Non Container</em>'. @@ -338,7 +364,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Contained 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>IMulti Ref Non Contained Element</em>'. @@ -351,11 +377,10 @@ public class model4interfacesSwitch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>INamed Element</em>'. <!-- begin-user-doc --> + * Returns the result of interpreting the object as an instance of '<em>INamed 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. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>INamed Element</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -369,7 +394,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>IContained Element No Parent Link</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>IContained Element No Parent Link</em>'. @@ -385,7 +410,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Container NPL</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>ISingle Ref Container NPL</em>'. @@ -401,7 +426,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Container NPL</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>ISingle Ref Non Container NPL</em>'. @@ -417,7 +442,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Container NPL</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>IMulti Ref Container NPL</em>'. @@ -433,7 +458,7 @@ public class model4interfacesSwitch<T> * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Container NPL</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>IMulti Ref Non Container NPL</em>'. @@ -446,12 +471,11 @@ public class model4interfacesSwitch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This + * 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. + * @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 |