Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2011-02-22 21:38:54 +0000
committerMartin Fluegge2011-02-22 21:38:54 +0000
commit8a4ddd6e9ad7206180607c0a3f18e9ca2fc0bbdb (patch)
tree8fbc1120433884a2a3beafd71afd57c19a440b6d /plugins/org.eclipse.emf.cdo.tests.model4interfaces
parent969a029246a075fc27744d14298a6577935b5d72 (diff)
downloadcdo-8a4ddd6e9ad7206180607c0a3f18e9ca2fc0bbdb.tar.gz
cdo-8a4ddd6e9ad7206180607c0a3f18e9ca2fc0bbdb.tar.xz
cdo-8a4ddd6e9ad7206180607c0a3f18e9ca2fc0bbdb.zip
[335669] Remove LITERALS constant from CDO test models
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335669
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4interfaces')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel2
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel108
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesPackageImpl.java80
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesPackage.java267
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java28
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java80
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java260
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java28
8 files changed, 148 insertions, 705 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel
index 62dce20299..e06e8320b8 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.genmodel
@@ -11,7 +11,7 @@
<foreignModel>interfaces.ecore</foreignModel>
<modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
<genPackages prefix="model4interfaces" basePackage="org.eclipse.emf.cdo.tests" disposableProviderFactory="true"
- ecorePackage="interfaces.ecore#/">
+ literalsInterface="false" ecorePackage="interfaces.ecore#/">
<genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefContainer">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefContainer/element"/>
</genClasses>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel
index ec04321e4f..b50c546cda 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel
@@ -1,55 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; Eike Stepper - initial API and implementation"
- modelDirectory="/org.eclipse.emf.cdo.tests.model4interfaces/src" editDirectory=""
- editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests.model4interfaces"
- modelName="Interfaces" updateClasspath="false" codeFormatting="true" testsDirectory=""
- importerID="org.eclipse.emf.importer.cdo" complianceLevel="5.0" copyrightFields="false"
- editPluginID="org.eclipse.emf.cdo.tests.model4interfaces.edit" editorPluginID="org.eclipse.emf.cdo.tests.model4interfaces.edit">
+<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; Eike Stepper - initial API and implementation" modelDirectory="/org.eclipse.emf.cdo.tests.model4interfaces/src" editDirectory="" editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests.model4interfaces" modelName="Interfaces" updateClasspath="false" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo" complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.emf.cdo.tests.model4interfaces.edit" editorPluginID="org.eclipse.emf.cdo.tests.model4interfaces.edit">
<foreignModel>interfaces.ecore</foreignModel>
<modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
- <genPackages prefix="model4interfaces" basePackage="org.eclipse.emf.cdo.tests.legacy"
- disposableProviderFactory="true" ecorePackage="interfaces.ecore#/">
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefContainer">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefContainer/element"/>
+ <genPackages prefix="model4interfaces" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true" literalsInterface="false">
+ <ecorePackage href="interfaces.ecore#/"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefContainer"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefContainer/element"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefContainedElement">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefContainedElement/parent"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefContainedElement"/>
+ <genFeatures property="None" notify="false" createChild="false">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefContainedElement/parent"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefNonContainer">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefNonContainer/element"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefNonContainer"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefNonContainer/element"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefNonContainedElement">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefNonContainedElement/parent"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefNonContainedElement"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefNonContainedElement/parent"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefContainer">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefContainer/elements"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefContainer"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefContainer/elements"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefContainedElement">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefContainedElement/parent"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefContainedElement"/>
+ <genFeatures property="None" notify="false" createChild="false">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefContainedElement/parent"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefNonContainer">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefNonContainer/elements"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefNonContainer"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefNonContainer/elements"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefNonContainedElement">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefNonContainedElement/parent"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefNonContainedElement"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefNonContainedElement/parent"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//INamedElement">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute interfaces.ecore#//INamedElement/name"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//INamedElement"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="interfaces.ecore#//INamedElement/name"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IContainedElementNoParentLink"/>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefContainerNPL">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefContainerNPL/element"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IContainedElementNoParentLink"/>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//ISingleRefNonContainerNPL">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//ISingleRefNonContainerNPL/element"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefContainerNPL"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefContainerNPL/element"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefContainerNPL">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefContainerNPL/elements"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//ISingleRefNonContainerNPL"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//ISingleRefNonContainerNPL/element"/>
+ </genFeatures>
</genClasses>
- <genClasses image="false" ecoreClass="interfaces.ecore#//IMultiRefNonContainerNPL">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference interfaces.ecore#//IMultiRefNonContainerNPL/elements"/>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefContainerNPL"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefContainerNPL/elements"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses image="false">
+ <ecoreClass href="interfaces.ecore#//IMultiRefNonContainerNPL"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="interfaces.ecore#//IMultiRefNonContainerNPL/elements"/>
+ </genFeatures>
</genClasses>
</genPackages>
</genmodel:GenModel>
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/legacy/model4interfaces/impl/model4interfacesPackageImpl.java
index 20e48f201a..4a2ef98aa5 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/legacy/model4interfaces/impl/model4interfacesPackageImpl.java
@@ -178,9 +178,7 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
public static model4interfacesPackage init()
{
if (isInited)
- {
return (model4interfacesPackage)EPackage.Registry.INSTANCE.getEPackage(model4interfacesPackage.eNS_URI);
- }
// Obtain or create and register package
model4interfacesPackageImpl themodel4interfacesPackage = (model4interfacesPackageImpl)(EPackage.Registry.INSTANCE
@@ -499,9 +497,7 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
public void createPackageContents()
{
if (isCreated)
- {
return;
- }
isCreated = true;
// Create classes and their features
@@ -563,9 +559,7 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
public void initializePackageContents()
{
if (isInitialized)
- {
return;
- }
isInitialized = true;
// Initialize package
@@ -582,57 +576,59 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
// Initialize classes and features; add operations and parameters
initEClass(iSingleRefContainerEClass, ISingleRefContainer.class, "ISingleRefContainer", IS_ABSTRACT, IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefContainer_Element(), getISingleRefContainedElement(),
- getISingleRefContainedElement_Parent(), "element", null, 0, 1, ISingleRefContainer.class, !IS_TRANSIENT,
+ initEReference(getISingleRefContainer_Element(), this.getISingleRefContainedElement(),
+ this.getISingleRefContainedElement_Parent(), "element", null, 0, 1, ISingleRefContainer.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
IS_ORDERED);
initEClass(iSingleRefContainedElementEClass, ISingleRefContainedElement.class, "ISingleRefContainedElement",
IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefContainedElement_Parent(), getISingleRefContainer(), getISingleRefContainer_Element(),
- "parent", null, 0, 1, ISingleRefContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getISingleRefContainedElement_Parent(), this.getISingleRefContainer(),
+ this.getISingleRefContainer_Element(), "parent", null, 0, 1, ISingleRefContainedElement.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(iSingleRefNonContainerEClass, ISingleRefNonContainer.class, "ISingleRefNonContainer", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefNonContainer_Element(), getISingleRefNonContainedElement(),
- getISingleRefNonContainedElement_Parent(), "element", null, 0, 1, ISingleRefNonContainer.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getISingleRefNonContainer_Element(), this.getISingleRefNonContainedElement(),
+ this.getISingleRefNonContainedElement_Parent(), "element", null, 0, 1, ISingleRefNonContainer.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(iSingleRefNonContainedElementEClass, ISingleRefNonContainedElement.class,
"ISingleRefNonContainedElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefNonContainedElement_Parent(), getISingleRefNonContainer(),
- getISingleRefNonContainer_Element(), "parent", null, 0, 1, ISingleRefNonContainedElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getISingleRefNonContainedElement_Parent(), this.getISingleRefNonContainer(),
+ this.getISingleRefNonContainer_Element(), "parent", null, 0, 1, ISingleRefNonContainedElement.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(iMultiRefContainerEClass, IMultiRefContainer.class, "IMultiRefContainer", IS_ABSTRACT, IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefContainer_Elements(), getIMultiRefContainedElement(),
- getIMultiRefContainedElement_Parent(), "elements", null, 0, -1, IMultiRefContainer.class, !IS_TRANSIENT,
+ initEReference(getIMultiRefContainer_Elements(), this.getIMultiRefContainedElement(),
+ this.getIMultiRefContainedElement_Parent(), "elements", null, 0, -1, IMultiRefContainer.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
IS_ORDERED);
initEClass(iMultiRefContainedElementEClass, IMultiRefContainedElement.class, "IMultiRefContainedElement",
IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefContainedElement_Parent(), getIMultiRefContainer(), getIMultiRefContainer_Elements(),
- "parent", null, 0, 1, IMultiRefContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getIMultiRefContainedElement_Parent(), this.getIMultiRefContainer(),
+ this.getIMultiRefContainer_Elements(), "parent", null, 0, 1, IMultiRefContainedElement.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(iMultiRefNonContainerEClass, IMultiRefNonContainer.class, "IMultiRefNonContainer", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefNonContainer_Elements(), getIMultiRefNonContainedElement(),
- getIMultiRefNonContainedElement_Parent(), "elements", null, 0, -1, IMultiRefNonContainer.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getIMultiRefNonContainer_Elements(), this.getIMultiRefNonContainedElement(),
+ this.getIMultiRefNonContainedElement_Parent(), "elements", null, 0, -1, IMultiRefNonContainer.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(iMultiRefNonContainedElementEClass, IMultiRefNonContainedElement.class, "IMultiRefNonContainedElement",
IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefNonContainedElement_Parent(), getIMultiRefNonContainer(),
- getIMultiRefNonContainer_Elements(), "parent", null, 0, 1, IMultiRefNonContainedElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getIMultiRefNonContainedElement_Parent(), this.getIMultiRefNonContainer(),
+ this.getIMultiRefNonContainer_Elements(), "parent", null, 0, 1, IMultiRefNonContainedElement.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(iNamedElementEClass, INamedElement.class, "INamedElement", IS_ABSTRACT, IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
@@ -644,26 +640,26 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
initEClass(iSingleRefContainerNPLEClass, ISingleRefContainerNPL.class, "ISingleRefContainerNPL", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefContainerNPL_Element(), getIContainedElementNoParentLink(), null, "element", null, 0,
- 1, ISingleRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getISingleRefContainerNPL_Element(), this.getIContainedElementNoParentLink(), null, "element", null,
+ 0, 1, ISingleRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(iSingleRefNonContainerNPLEClass, ISingleRefNonContainerNPL.class, "ISingleRefNonContainerNPL",
IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefNonContainerNPL_Element(), getIContainedElementNoParentLink(), null, "element", null,
- 0, 1, ISingleRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ initEReference(getISingleRefNonContainerNPL_Element(), this.getIContainedElementNoParentLink(), null, "element",
+ null, 0, 1, ISingleRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(iMultiRefContainerNPLEClass, IMultiRefContainerNPL.class, "IMultiRefContainerNPL", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefContainerNPL_Elements(), getIContainedElementNoParentLink(), null, "elements", null, 0,
- -1, IMultiRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getIMultiRefContainerNPL_Elements(), this.getIContainedElementNoParentLink(), null, "elements",
+ null, 0, -1, IMultiRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(iMultiRefNonContainerNPLEClass, IMultiRefNonContainerNPL.class, "IMultiRefNonContainerNPL", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefNonContainerNPL_Elements(), getIContainedElementNoParentLink(), null, "elements", null,
- 0, -1, IMultiRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ initEReference(getIMultiRefNonContainerNPL_Elements(), this.getIContainedElementNoParentLink(), null, "elements",
+ null, 0, -1, IMultiRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
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/legacy/model4interfaces/model4interfacesPackage.java
index 3ae024ed18..4538aae6f2 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/legacy/model4interfaces/model4interfacesPackage.java
@@ -744,271 +744,4 @@ public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model
*/
model4interfacesFactory getmodel4interfacesFactory();
- /**
- * <!-- begin-user-doc --> Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.emf.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()
- * @generated
- */
- EClass ISINGLE_REF_CONTAINER = eINSTANCE.getISingleRefContainer();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_CONTAINER__ELEMENT = eINSTANCE.getISingleRefContainer_Element();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass ISINGLE_REF_CONTAINED_ELEMENT = eINSTANCE.getISingleRefContainedElement();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_CONTAINED_ELEMENT__PARENT = eINSTANCE.getISingleRefContainedElement_Parent();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass ISINGLE_REF_NON_CONTAINER = eINSTANCE.getISingleRefNonContainer();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_NON_CONTAINER__ELEMENT = eINSTANCE.getISingleRefNonContainer_Element();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass ISINGLE_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getISingleRefNonContainedElement();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getISingleRefNonContainedElement_Parent();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass IMULTI_REF_CONTAINER = eINSTANCE.getIMultiRefContainer();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_CONTAINER__ELEMENTS = eINSTANCE.getIMultiRefContainer_Elements();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass IMULTI_REF_CONTAINED_ELEMENT = eINSTANCE.getIMultiRefContainedElement();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_CONTAINED_ELEMENT__PARENT = eINSTANCE.getIMultiRefContainedElement_Parent();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass IMULTI_REF_NON_CONTAINER = eINSTANCE.getIMultiRefNonContainer();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_NON_CONTAINER__ELEMENTS = eINSTANCE.getIMultiRefNonContainer_Elements();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass IMULTI_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getIMultiRefNonContainedElement();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getIMultiRefNonContainedElement_Parent();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass INAMED_ELEMENT = eINSTANCE.getINamedElement();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EAttribute INAMED_ELEMENT__NAME = eINSTANCE.getINamedElement_Name();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass ICONTAINED_ELEMENT_NO_PARENT_LINK = eINSTANCE.getIContainedElementNoParentLink();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass ISINGLE_REF_CONTAINER_NPL = eINSTANCE.getISingleRefContainerNPL();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_CONTAINER_NPL__ELEMENT = eINSTANCE.getISingleRefContainerNPL_Element();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass ISINGLE_REF_NON_CONTAINER_NPL = eINSTANCE.getISingleRefNonContainerNPL();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT = eINSTANCE.getISingleRefNonContainerNPL_Element();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass IMULTI_REF_CONTAINER_NPL = eINSTANCE.getIMultiRefContainerNPL();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_CONTAINER_NPL__ELEMENTS = eINSTANCE.getIMultiRefContainerNPL_Elements();
-
- /**
- * The meta object literal 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()
- * @generated
- */
- EClass IMULTI_REF_NON_CONTAINER_NPL = eINSTANCE.getIMultiRefNonContainerNPL();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS = eINSTANCE.getIMultiRefNonContainerNPL_Elements();
-
- }
-
} // model4interfacesPackage
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java
index 3b161d8b95..e444fa000f 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java
@@ -110,9 +110,7 @@ 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:
@@ -120,9 +118,7 @@ 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:
@@ -130,9 +126,7 @@ 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:
@@ -140,9 +134,7 @@ 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:
@@ -150,9 +142,7 @@ 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:
@@ -160,9 +150,7 @@ 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:
@@ -170,9 +158,7 @@ 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:
@@ -180,9 +166,7 @@ public class model4interfacesSwitch<T>
IMultiRefNonContainedElement iMultiRefNonContainedElement = (IMultiRefNonContainedElement)theEObject;
T result = caseIMultiRefNonContainedElement(iMultiRefNonContainedElement);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4interfacesPackage.INAMED_ELEMENT:
@@ -190,9 +174,7 @@ 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:
@@ -200,9 +182,7 @@ 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:
@@ -210,9 +190,7 @@ 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:
@@ -220,9 +198,7 @@ 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:
@@ -230,9 +206,7 @@ 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:
@@ -240,9 +214,7 @@ public class model4interfacesSwitch<T>
IMultiRefNonContainerNPL iMultiRefNonContainerNPL = (IMultiRefNonContainerNPL)theEObject;
T result = caseIMultiRefNonContainerNPL(iMultiRefNonContainerNPL);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
default:
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 d7986eb361..272c712386 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
@@ -178,9 +178,7 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
public static model4interfacesPackage init()
{
if (isInited)
- {
return (model4interfacesPackage)EPackage.Registry.INSTANCE.getEPackage(model4interfacesPackage.eNS_URI);
- }
// Obtain or create and register package
model4interfacesPackageImpl themodel4interfacesPackage = (model4interfacesPackageImpl)(EPackage.Registry.INSTANCE
@@ -499,9 +497,7 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
public void createPackageContents()
{
if (isCreated)
- {
return;
- }
isCreated = true;
// Create classes and their features
@@ -563,9 +559,7 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
public void initializePackageContents()
{
if (isInitialized)
- {
return;
- }
isInitialized = true;
// Initialize package
@@ -582,57 +576,59 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
// Initialize classes and features; add operations and parameters
initEClass(iSingleRefContainerEClass, ISingleRefContainer.class, "ISingleRefContainer", IS_ABSTRACT, IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefContainer_Element(), getISingleRefContainedElement(),
- getISingleRefContainedElement_Parent(), "element", null, 0, 1, ISingleRefContainer.class, !IS_TRANSIENT,
+ initEReference(getISingleRefContainer_Element(), this.getISingleRefContainedElement(),
+ this.getISingleRefContainedElement_Parent(), "element", null, 0, 1, ISingleRefContainer.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
IS_ORDERED);
initEClass(iSingleRefContainedElementEClass, ISingleRefContainedElement.class, "ISingleRefContainedElement",
IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefContainedElement_Parent(), getISingleRefContainer(), getISingleRefContainer_Element(),
- "parent", null, 0, 1, ISingleRefContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getISingleRefContainedElement_Parent(), this.getISingleRefContainer(),
+ this.getISingleRefContainer_Element(), "parent", null, 0, 1, ISingleRefContainedElement.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(iSingleRefNonContainerEClass, ISingleRefNonContainer.class, "ISingleRefNonContainer", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefNonContainer_Element(), getISingleRefNonContainedElement(),
- getISingleRefNonContainedElement_Parent(), "element", null, 0, 1, ISingleRefNonContainer.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getISingleRefNonContainer_Element(), this.getISingleRefNonContainedElement(),
+ this.getISingleRefNonContainedElement_Parent(), "element", null, 0, 1, ISingleRefNonContainer.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(iSingleRefNonContainedElementEClass, ISingleRefNonContainedElement.class,
"ISingleRefNonContainedElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefNonContainedElement_Parent(), getISingleRefNonContainer(),
- getISingleRefNonContainer_Element(), "parent", null, 0, 1, ISingleRefNonContainedElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getISingleRefNonContainedElement_Parent(), this.getISingleRefNonContainer(),
+ this.getISingleRefNonContainer_Element(), "parent", null, 0, 1, ISingleRefNonContainedElement.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(iMultiRefContainerEClass, IMultiRefContainer.class, "IMultiRefContainer", IS_ABSTRACT, IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefContainer_Elements(), getIMultiRefContainedElement(),
- getIMultiRefContainedElement_Parent(), "elements", null, 0, -1, IMultiRefContainer.class, !IS_TRANSIENT,
+ initEReference(getIMultiRefContainer_Elements(), this.getIMultiRefContainedElement(),
+ this.getIMultiRefContainedElement_Parent(), "elements", null, 0, -1, IMultiRefContainer.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
IS_ORDERED);
initEClass(iMultiRefContainedElementEClass, IMultiRefContainedElement.class, "IMultiRefContainedElement",
IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefContainedElement_Parent(), getIMultiRefContainer(), getIMultiRefContainer_Elements(),
- "parent", null, 0, 1, IMultiRefContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getIMultiRefContainedElement_Parent(), this.getIMultiRefContainer(),
+ this.getIMultiRefContainer_Elements(), "parent", null, 0, 1, IMultiRefContainedElement.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
initEClass(iMultiRefNonContainerEClass, IMultiRefNonContainer.class, "IMultiRefNonContainer", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefNonContainer_Elements(), getIMultiRefNonContainedElement(),
- getIMultiRefNonContainedElement_Parent(), "elements", null, 0, -1, IMultiRefNonContainer.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getIMultiRefNonContainer_Elements(), this.getIMultiRefNonContainedElement(),
+ this.getIMultiRefNonContainedElement_Parent(), "elements", null, 0, -1, IMultiRefNonContainer.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(iMultiRefNonContainedElementEClass, IMultiRefNonContainedElement.class, "IMultiRefNonContainedElement",
IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefNonContainedElement_Parent(), getIMultiRefNonContainer(),
- getIMultiRefNonContainer_Elements(), "parent", null, 0, 1, IMultiRefNonContainedElement.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
+ initEReference(getIMultiRefNonContainedElement_Parent(), this.getIMultiRefNonContainer(),
+ this.getIMultiRefNonContainer_Elements(), "parent", null, 0, 1, IMultiRefNonContainedElement.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
initEClass(iNamedElementEClass, INamedElement.class, "INamedElement", IS_ABSTRACT, IS_INTERFACE,
IS_GENERATED_INSTANCE_CLASS);
@@ -644,26 +640,26 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i
initEClass(iSingleRefContainerNPLEClass, ISingleRefContainerNPL.class, "ISingleRefContainerNPL", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefContainerNPL_Element(), getIContainedElementNoParentLink(), null, "element", null, 0,
- 1, ISingleRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getISingleRefContainerNPL_Element(), this.getIContainedElementNoParentLink(), null, "element", null,
+ 0, 1, ISingleRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(iSingleRefNonContainerNPLEClass, ISingleRefNonContainerNPL.class, "ISingleRefNonContainerNPL",
IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getISingleRefNonContainerNPL_Element(), getIContainedElementNoParentLink(), null, "element", null,
- 0, 1, ISingleRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ initEReference(getISingleRefNonContainerNPL_Element(), this.getIContainedElementNoParentLink(), null, "element",
+ null, 0, 1, ISingleRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(iMultiRefContainerNPLEClass, IMultiRefContainerNPL.class, "IMultiRefContainerNPL", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefContainerNPL_Elements(), getIContainedElementNoParentLink(), null, "elements", null, 0,
- -1, IMultiRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getIMultiRefContainerNPL_Elements(), this.getIContainedElementNoParentLink(), null, "elements",
+ null, 0, -1, IMultiRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(iMultiRefNonContainerNPLEClass, IMultiRefNonContainerNPL.class, "IMultiRefNonContainerNPL", IS_ABSTRACT,
IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getIMultiRefNonContainerNPL_Elements(), getIContainedElementNoParentLink(), null, "elements", null,
- 0, -1, IMultiRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
+ initEReference(getIMultiRefNonContainerNPL_Elements(), this.getIContainedElementNoParentLink(), null, "elements",
+ null, 0, -1, IMultiRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
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 92f3ce5c66..048cb9004e 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
@@ -737,264 +737,4 @@ public interface model4interfacesPackage extends EPackage
*/
model4interfacesFactory getmodel4interfacesFactory();
- /**
- * <!-- begin-user-doc --> Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.emf.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
- */
- EClass ISINGLE_REF_CONTAINER = eINSTANCE.getISingleRefContainer();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_CONTAINER__ELEMENT = eINSTANCE.getISingleRefContainer_Element();
-
- /**
- * The meta object literal 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
- */
- EClass ISINGLE_REF_CONTAINED_ELEMENT = eINSTANCE.getISingleRefContainedElement();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_CONTAINED_ELEMENT__PARENT = eINSTANCE.getISingleRefContainedElement_Parent();
-
- /**
- * The meta object literal 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
- */
- EClass ISINGLE_REF_NON_CONTAINER = eINSTANCE.getISingleRefNonContainer();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_NON_CONTAINER__ELEMENT = eINSTANCE.getISingleRefNonContainer_Element();
-
- /**
- * The meta object literal 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
- */
- EClass ISINGLE_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getISingleRefNonContainedElement();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getISingleRefNonContainedElement_Parent();
-
- /**
- * The meta object literal 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
- */
- EClass IMULTI_REF_CONTAINER = eINSTANCE.getIMultiRefContainer();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_CONTAINER__ELEMENTS = eINSTANCE.getIMultiRefContainer_Elements();
-
- /**
- * The meta object literal 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
- */
- EClass IMULTI_REF_CONTAINED_ELEMENT = eINSTANCE.getIMultiRefContainedElement();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_CONTAINED_ELEMENT__PARENT = eINSTANCE.getIMultiRefContainedElement_Parent();
-
- /**
- * The meta object literal 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
- */
- EClass IMULTI_REF_NON_CONTAINER = eINSTANCE.getIMultiRefNonContainer();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_NON_CONTAINER__ELEMENTS = eINSTANCE.getIMultiRefNonContainer_Elements();
-
- /**
- * The meta object literal 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
- */
- EClass IMULTI_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getIMultiRefNonContainedElement();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getIMultiRefNonContainedElement_Parent();
-
- /**
- * The meta object literal 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
- */
- EClass INAMED_ELEMENT = eINSTANCE.getINamedElement();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EAttribute INAMED_ELEMENT__NAME = eINSTANCE.getINamedElement_Name();
-
- /**
- * The meta object literal 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
- */
- EClass ICONTAINED_ELEMENT_NO_PARENT_LINK = eINSTANCE.getIContainedElementNoParentLink();
-
- /**
- * The meta object literal 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
- */
- EClass ISINGLE_REF_CONTAINER_NPL = eINSTANCE.getISingleRefContainerNPL();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_CONTAINER_NPL__ELEMENT = eINSTANCE.getISingleRefContainerNPL_Element();
-
- /**
- * The meta object literal 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
- */
- EClass ISINGLE_REF_NON_CONTAINER_NPL = eINSTANCE.getISingleRefNonContainerNPL();
-
- /**
- * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT = eINSTANCE.getISingleRefNonContainerNPL_Element();
-
- /**
- * The meta object literal 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
- */
- EClass IMULTI_REF_CONTAINER_NPL = eINSTANCE.getIMultiRefContainerNPL();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_CONTAINER_NPL__ELEMENTS = eINSTANCE.getIMultiRefContainerNPL_Elements();
-
- /**
- * The meta object literal 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
- */
- EClass IMULTI_REF_NON_CONTAINER_NPL = eINSTANCE.getIMultiRefNonContainerNPL();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- */
- EReference IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS = eINSTANCE.getIMultiRefNonContainerNPL_Elements();
-
- }
-
} // model4interfacesPackage
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 72eba867fa..f38a4631fa 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
@@ -110,9 +110,7 @@ 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:
@@ -120,9 +118,7 @@ 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:
@@ -130,9 +126,7 @@ 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:
@@ -140,9 +134,7 @@ 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:
@@ -150,9 +142,7 @@ 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:
@@ -160,9 +150,7 @@ 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:
@@ -170,9 +158,7 @@ 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:
@@ -180,9 +166,7 @@ public class model4interfacesSwitch<T>
IMultiRefNonContainedElement iMultiRefNonContainedElement = (IMultiRefNonContainedElement)theEObject;
T result = caseIMultiRefNonContainedElement(iMultiRefNonContainedElement);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4interfacesPackage.INAMED_ELEMENT:
@@ -190,9 +174,7 @@ 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:
@@ -200,9 +182,7 @@ 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:
@@ -210,9 +190,7 @@ 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:
@@ -220,9 +198,7 @@ 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:
@@ -230,9 +206,7 @@ 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:
@@ -240,9 +214,7 @@ public class model4interfacesSwitch<T>
IMultiRefNonContainerNPL iMultiRefNonContainerNPL = (IMultiRefNonContainerNPL)theEObject;
T result = caseIMultiRefNonContainerNPL(iMultiRefNonContainerNPL);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
default:

Back to the top