Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-07-19 04:22:04 -0400
committerEike Stepper2012-07-19 04:22:04 -0400
commit1460904fd3c193ffaf809913b2983a400fce9d94 (patch)
tree72f3a17b75fedba3ae1060df1d32c9c7889be954 /plugins/org.eclipse.emf.cdo.tests.model2
parent5f360965ae87478e0681899bf310a210cafc2c44 (diff)
downloadcdo-1460904fd3c193ffaf809913b2983a400fce9d94.tar.gz
cdo-1460904fd3c193ffaf809913b2983a400fce9d94.tar.xz
cdo-1460904fd3c193ffaf809913b2983a400fce9d94.zip
Fix line endings in master (dos2unix)
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model2')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/.settings/org.eclipse.core.resources.prefs6
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/copyright.txt14
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/model/model2.legacy-genmodel642
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/plugin.properties22
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/plugin.xml46
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Factory.java274
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Package.java4758
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectBothContainedMapImpl.java754
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectKeyContainedMapImpl.java732
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectMapImpl.java674
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectValueContainedMapImpl.java732
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EnumListHolderImpl.java338
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/IntegerToStringMapImpl.java658
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/MapHolderImpl.java1030
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2FactoryImpl.java748
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2PackageImpl.java3570
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableImpl.java1542
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableWithDefaultImpl.java1552
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/PersistentContainmentImpl.java642
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/SpecialPurchaseOrderImpl.java564
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressContainmentMapImpl.java742
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressReferenceMapImpl.java690
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToStringMapImpl.java658
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToVATMapImpl.java660
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskContainerImpl.java374
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskImpl.java704
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TransientContainerImpl.java714
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable1Impl.java2380
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable2WithDefaultImpl.java2406
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/EnumListHolder.java104
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/MapHolder.java416
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java254
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java4722
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java692
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java736
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/PersistentContainment.java212
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java174
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java228
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java98
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TransientContainer.java230
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java1282
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java1314
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectBothContainedMapImpl.java394
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectKeyContainedMapImpl.java394
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectMapImpl.java394
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectValueContainedMapImpl.java394
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EnumListHolderImpl.java158
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/IntegerToStringMapImpl.java394
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/MapHolderImpl.java368
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java748
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java3570
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java618
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java624
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/PersistentContainmentImpl.java242
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java194
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressContainmentMapImpl.java396
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressReferenceMapImpl.java396
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToStringMapImpl.java394
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToVATMapImpl.java396
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java156
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java256
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TransientContainerImpl.java258
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java1036
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java1060
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java1154
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java1292
66 files changed, 27187 insertions, 27187 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.tests.model2/.settings/org.eclipse.core.resources.prefs
index 7494d1eb4c..9fc446aea8 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/.settings/org.eclipse.core.resources.prefs
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Mon Jul 04 12:59:15 CEST 2011
-eclipse.preferences.version=1
-encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8
+#Mon Jul 04 12:59:15 CEST 2011
+eclipse.preferences.version=1
+encoding//model/org.eclipse.emf.cdo.defs.ecorediag=UTF-8
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/copyright.txt b/plugins/org.eclipse.emf.cdo.tests.model2/copyright.txt
index 8f6328980e..0a0f67e6d7 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/copyright.txt
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/copyright.txt
@@ -1,8 +1,8 @@
-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:
+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 \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.legacy-genmodel b/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.legacy-genmodel
index 61ca780acd..d3496b455e 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.legacy-genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.legacy-genmodel
@@ -1,321 +1,321 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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 - 2012 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.model2/src" editDirectory="" editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests.model2" modelName="Model2" updateClasspath="false" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo" complianceLevel="5.0" copyrightFields="false">
- <foreignModel>model2.ecore</foreignModel>
- <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
- <genPackages prefix="Model2" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true" literalsInterface="false" extensibleProviderFactory="true" childCreationExtenders="true">
- <ecorePackage href="model2.ecore#/"/>
- <genClasses>
- <ecoreClass href="model2.ecore#//SpecialPurchaseOrder"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//SpecialPurchaseOrder/discountCode"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//SpecialPurchaseOrder/shippingAddress"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//TaskContainer"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//TaskContainer/tasks"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//Task"/>
- <genFeatures property="None" notify="false" createChild="false">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//Task/taskContainer"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Task/description"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Task/done"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//Unsettable1"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableBoolean"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableByte"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableChar"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableDate"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableDouble"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableFloat"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableInt"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableLong"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableShort"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableString"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableVAT"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//Unsettable2WithDefault"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableBoolean"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableByte"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableChar"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableDate"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableDouble"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableFloat"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableInt"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableLong"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableShort"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableString"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableVAT"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//PersistentContainment"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//PersistentContainment/attrBefore"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//PersistentContainment/children"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//PersistentContainment/attrAfter"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//TransientContainer"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//TransientContainer/attrBefore"/>
- </genFeatures>
- <genFeatures property="None" notify="false" createChild="false">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//TransientContainer/parent"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//TransientContainer/attrAfter"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//NotUnsettable"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableBoolean"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableByte"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableChar"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableDate"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableDouble"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableFloat"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableInt"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableLong"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableShort"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableString"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableVAT"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//NotUnsettableWithDefault"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableBoolean"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableByte"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableChar"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableDate"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableDouble"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableFloat"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableInt"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableLong"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableShort"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableString"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableVAT"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//MapHolder"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/integerToStringMap"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/stringToStringMap"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/stringToVATMap"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/stringToAddressContainmentMap"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/stringToAddressReferenceMap"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/eObjectToEObjectMap"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/eObjectToEObjectKeyContainedMap"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/eObjectToEObjectBothContainedMap"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/eObjectToEObjectValueContainedMap"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//StringToStringMap"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToStringMap/key"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToStringMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//IntegerToStringMap"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//IntegerToStringMap/key"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//IntegerToStringMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//StringToVATMap"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToVATMap/key"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToVATMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//StringToAddressContainmentMap"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToAddressContainmentMap/key"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//StringToAddressContainmentMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//StringToAddressReferenceMap"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToAddressReferenceMap/key"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//StringToAddressReferenceMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//EObjectToEObjectMap"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectMap/key"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//EObjectToEObjectKeyContainedMap"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectKeyContainedMap/key"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectKeyContainedMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//EObjectToEObjectBothContainedMap"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectBothContainedMap/key"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectBothContainedMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//EObjectToEObjectValueContainedMap"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectValueContainedMap/key"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectValueContainedMap/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model2.ecore#//EnumListHolder"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//EnumListHolder/enumList"/>
- </genFeatures>
- </genClasses>
- </genPackages>
- <usedGenPackages href="../../org.eclipse.emf.cdo.tests.model1/model/model1.legacy-genmodel#//model1"/>
-</genmodel:GenModel>
+<?xml version="1.0" encoding="UTF-8"?>
+<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 - 2012 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.model2/src" editDirectory="" editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests.model2" modelName="Model2" updateClasspath="false" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo" complianceLevel="5.0" copyrightFields="false">
+ <foreignModel>model2.ecore</foreignModel>
+ <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
+ <genPackages prefix="Model2" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true" literalsInterface="false" extensibleProviderFactory="true" childCreationExtenders="true">
+ <ecorePackage href="model2.ecore#/"/>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//SpecialPurchaseOrder"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//SpecialPurchaseOrder/discountCode"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//SpecialPurchaseOrder/shippingAddress"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//TaskContainer"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//TaskContainer/tasks"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//Task"/>
+ <genFeatures property="None" notify="false" createChild="false">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//Task/taskContainer"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Task/description"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Task/done"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//Unsettable1"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableBoolean"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableByte"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableChar"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableDate"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableDouble"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableFloat"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableInt"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableLong"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableShort"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableString"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable1/unsettableVAT"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//Unsettable2WithDefault"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableBoolean"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableByte"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableChar"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableDate"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableDouble"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableFloat"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableInt"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableLong"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableShort"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableString"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//Unsettable2WithDefault/unsettableVAT"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//PersistentContainment"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//PersistentContainment/attrBefore"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//PersistentContainment/children"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//PersistentContainment/attrAfter"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//TransientContainer"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//TransientContainer/attrBefore"/>
+ </genFeatures>
+ <genFeatures property="None" notify="false" createChild="false">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//TransientContainer/parent"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//TransientContainer/attrAfter"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//NotUnsettable"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableBoolean"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableByte"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableChar"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableDate"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableDouble"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableFloat"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableInt"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableLong"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableShort"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableString"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettable/notUnsettableVAT"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//NotUnsettableWithDefault"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableBoolean"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableByte"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableChar"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableDate"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableDouble"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableFloat"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableInt"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableLong"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableShort"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableString"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//NotUnsettableWithDefault/notUnsettableVAT"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//MapHolder"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/integerToStringMap"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/stringToStringMap"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/stringToVATMap"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/stringToAddressContainmentMap"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/stringToAddressReferenceMap"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/eObjectToEObjectMap"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/eObjectToEObjectKeyContainedMap"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/eObjectToEObjectBothContainedMap"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//MapHolder/eObjectToEObjectValueContainedMap"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//StringToStringMap"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToStringMap/key"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToStringMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//IntegerToStringMap"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//IntegerToStringMap/key"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//IntegerToStringMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//StringToVATMap"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToVATMap/key"/>
+ </genFeatures>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToVATMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//StringToAddressContainmentMap"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToAddressContainmentMap/key"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//StringToAddressContainmentMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//StringToAddressReferenceMap"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//StringToAddressReferenceMap/key"/>
+ </genFeatures>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//StringToAddressReferenceMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//EObjectToEObjectMap"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectMap/key"/>
+ </genFeatures>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//EObjectToEObjectKeyContainedMap"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectKeyContainedMap/key"/>
+ </genFeatures>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectKeyContainedMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//EObjectToEObjectBothContainedMap"/>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectBothContainedMap/key"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectBothContainedMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//EObjectToEObjectValueContainedMap"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectValueContainedMap/key"/>
+ </genFeatures>
+ <genFeatures property="None" children="true" createChild="true">
+ <ecoreFeature xsi:type="ecore:EReference" href="model2.ecore#//EObjectToEObjectValueContainedMap/value"/>
+ </genFeatures>
+ </genClasses>
+ <genClasses>
+ <ecoreClass href="model2.ecore#//EnumListHolder"/>
+ <genFeatures createChild="false">
+ <ecoreFeature xsi:type="ecore:EAttribute" href="model2.ecore#//EnumListHolder/enumList"/>
+ </genFeatures>
+ </genClasses>
+ </genPackages>
+ <usedGenPackages href="../../org.eclipse.emf.cdo.tests.model1/model/model1.legacy-genmodel#//model1"/>
+</genmodel:GenModel>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/plugin.properties b/plugins/org.eclipse.emf.cdo.tests.model2/plugin.properties
index 475aa87b8d..324e480b32 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/plugin.properties
@@ -1,11 +1,11 @@
-# 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
-
-pluginName = CDO Model Repository Tests Model2
-providerName = Eclipse Modeling Project
+# 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
+
+pluginName = CDO Model Repository Tests Model2
+providerName = Eclipse Modeling Project
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/plugin.xml b/plugins/org.eclipse.emf.cdo.tests.model2/plugin.xml
index 5db1e4e883..e359f8ee14 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/plugin.xml
@@ -1,23 +1,23 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<!--
- 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
--->
-
-<plugin>
-
- <extension point="org.eclipse.emf.ecore.generated_package">
- <package
- uri = "http://www.eclipse.org/emf/CDO/tests/model2/1.0.0"
- class = "org.eclipse.emf.cdo.tests.model2.Model2Package"
- genModel = "model/model2.genmodel" />
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<!--
+ 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
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri = "http://www.eclipse.org/emf/CDO/tests/model2/1.0.0"
+ class = "org.eclipse.emf.cdo.tests.model2.Model2Package"
+ genModel = "model/model2.genmodel" />
+ </extension>
+
+</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Factory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Factory.java
index 0ca8446f82..b0d17970d9 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Factory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Factory.java
@@ -1,137 +1,137 @@
-/*
- * 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.legacy.model2;
-
-import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
-import org.eclipse.emf.cdo.tests.model2.MapHolder;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
-import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
-import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
-import org.eclipse.emf.cdo.tests.model2.Task;
-import org.eclipse.emf.cdo.tests.model2.TaskContainer;
-import org.eclipse.emf.cdo.tests.model2.TransientContainer;
-import org.eclipse.emf.cdo.tests.model2.Unsettable1;
-import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
-
-/**
- * <!-- 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.legacy.model2.Model2Package
- * @generated
- */
-public interface Model2Factory extends org.eclipse.emf.cdo.tests.model2.Model2Factory
-{
- /**
- * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- Model2Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2FactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Special Purchase Order</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Special Purchase Order</em>'.
- * @generated
- */
- SpecialPurchaseOrder createSpecialPurchaseOrder();
-
- /**
- * Returns a new object of class '<em>Task Container</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Task Container</em>'.
- * @generated
- */
- TaskContainer createTaskContainer();
-
- /**
- * Returns a new object of class '<em>Task</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Task</em>'.
- * @generated
- */
- Task createTask();
-
- /**
- * Returns a new object of class '<em>Unsettable1</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Unsettable1</em>'.
- * @generated
- */
- Unsettable1 createUnsettable1();
-
- /**
- * Returns a new object of class '<em>Unsettable2 With Default</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Unsettable2 With Default</em>'.
- * @generated
- */
- Unsettable2WithDefault createUnsettable2WithDefault();
-
- /**
- * Returns a new object of class '<em>Persistent Containment</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Persistent Containment</em>'.
- * @generated
- */
- PersistentContainment createPersistentContainment();
-
- /**
- * Returns a new object of class '<em>Transient Container</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Transient Container</em>'.
- * @generated
- */
- TransientContainer createTransientContainer();
-
- /**
- * Returns a new object of class '<em>Not Unsettable</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Not Unsettable</em>'.
- * @generated
- */
- NotUnsettable createNotUnsettable();
-
- /**
- * Returns a new object of class '<em>Not Unsettable With Default</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Not Unsettable With Default</em>'.
- * @generated
- */
- NotUnsettableWithDefault createNotUnsettableWithDefault();
-
- /**
- * Returns a new object of class '<em>Map Holder</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Map Holder</em>'.
- * @generated
- */
- MapHolder createMapHolder();
-
- /**
- * Returns a new object of class '<em>Enum List Holder</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Enum List Holder</em>'.
- * @generated
- */
- EnumListHolder createEnumListHolder();
-
- /**
- * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- Model2Package getModel2Package();
-
-} // Model2Factory
+/*
+ * 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.legacy.model2;
+
+import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
+import org.eclipse.emf.cdo.tests.model2.MapHolder;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
+import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
+import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
+import org.eclipse.emf.cdo.tests.model2.Task;
+import org.eclipse.emf.cdo.tests.model2.TaskContainer;
+import org.eclipse.emf.cdo.tests.model2.TransientContainer;
+import org.eclipse.emf.cdo.tests.model2.Unsettable1;
+import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
+
+/**
+ * <!-- 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.legacy.model2.Model2Package
+ * @generated
+ */
+public interface Model2Factory extends org.eclipse.emf.cdo.tests.model2.Model2Factory
+{
+ /**
+ * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ Model2Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2FactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Special Purchase Order</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Special Purchase Order</em>'.
+ * @generated
+ */
+ SpecialPurchaseOrder createSpecialPurchaseOrder();
+
+ /**
+ * Returns a new object of class '<em>Task Container</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Task Container</em>'.
+ * @generated
+ */
+ TaskContainer createTaskContainer();
+
+ /**
+ * Returns a new object of class '<em>Task</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Task</em>'.
+ * @generated
+ */
+ Task createTask();
+
+ /**
+ * Returns a new object of class '<em>Unsettable1</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Unsettable1</em>'.
+ * @generated
+ */
+ Unsettable1 createUnsettable1();
+
+ /**
+ * Returns a new object of class '<em>Unsettable2 With Default</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Unsettable2 With Default</em>'.
+ * @generated
+ */
+ Unsettable2WithDefault createUnsettable2WithDefault();
+
+ /**
+ * Returns a new object of class '<em>Persistent Containment</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Persistent Containment</em>'.
+ * @generated
+ */
+ PersistentContainment createPersistentContainment();
+
+ /**
+ * Returns a new object of class '<em>Transient Container</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Transient Container</em>'.
+ * @generated
+ */
+ TransientContainer createTransientContainer();
+
+ /**
+ * Returns a new object of class '<em>Not Unsettable</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Not Unsettable</em>'.
+ * @generated
+ */
+ NotUnsettable createNotUnsettable();
+
+ /**
+ * Returns a new object of class '<em>Not Unsettable With Default</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Not Unsettable With Default</em>'.
+ * @generated
+ */
+ NotUnsettableWithDefault createNotUnsettableWithDefault();
+
+ /**
+ * Returns a new object of class '<em>Map Holder</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Map Holder</em>'.
+ * @generated
+ */
+ MapHolder createMapHolder();
+
+ /**
+ * Returns a new object of class '<em>Enum List Holder</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Enum List Holder</em>'.
+ * @generated
+ */
+ EnumListHolder createEnumListHolder();
+
+ /**
+ * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ Model2Package getModel2Package();
+
+} // Model2Factory
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Package.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Package.java
index d015cec500..30956bce8a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Package.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Package.java
@@ -1,2379 +1,2379 @@
-/*
- * 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.legacy.model2;
-
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc --> The <b>Package</b> for the model. It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory
- * @model kind="package"
- * @generated
- */
-public interface Model2Package extends org.eclipse.emf.cdo.tests.model2.Model2Package
-{
- /**
- * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "model2";
-
- /**
- * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated NOT
- */
- String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model2/1.0.0";
-
- /**
- * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "model2";
-
- /**
- * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- Model2Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl
- * <em>Special Purchase Order</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getSpecialPurchaseOrder()
- * @generated
- */
- int SPECIAL_PURCHASE_ORDER = 0;
-
- /**
- * The feature id for the '<em><b>Order Details</b></em>' containment reference list. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SPECIAL_PURCHASE_ORDER__ORDER_DETAILS = Model1Package.PURCHASE_ORDER__ORDER_DETAILS;
-
- /**
- * The feature id for the '<em><b>Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SPECIAL_PURCHASE_ORDER__DATE = Model1Package.PURCHASE_ORDER__DATE;
-
- /**
- * The feature id for the '<em><b>Supplier</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SPECIAL_PURCHASE_ORDER__SUPPLIER = Model1Package.PURCHASE_ORDER__SUPPLIER;
-
- /**
- * The feature id for the '<em><b>Discount Code</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Shipping Address</b></em>' containment reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Special Purchase Order</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int SPECIAL_PURCHASE_ORDER_FEATURE_COUNT = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl
- * <em>Task Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTaskContainer()
- * @generated
- */
- int TASK_CONTAINER = 1;
-
- /**
- * The feature id for the '<em><b>Tasks</b></em>' containment reference list. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TASK_CONTAINER__TASKS = 0;
-
- /**
- * The number of structural features of the '<em>Task Container</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int TASK_CONTAINER_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl <em>Task</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTask()
- * @generated
- */
- int TASK = 2;
-
- /**
- * The feature id for the '<em><b>Task Container</b></em>' container reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TASK__TASK_CONTAINER = 0;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TASK__DESCRIPTION = 1;
-
- /**
- * The feature id for the '<em><b>Done</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TASK__DONE = 2;
-
- /**
- * The number of structural features of the '<em>Task</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TASK_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl
- * <em>Unsettable1</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getUnsettable1()
- * @generated
- */
- int UNSETTABLE1 = 3;
-
- /**
- * The feature id for the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_BOOLEAN = 0;
-
- /**
- * The feature id for the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_BYTE = 1;
-
- /**
- * The feature id for the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_CHAR = 2;
-
- /**
- * The feature id for the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_DATE = 3;
-
- /**
- * The feature id for the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_DOUBLE = 4;
-
- /**
- * The feature id for the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_FLOAT = 5;
-
- /**
- * The feature id for the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_INT = 6;
-
- /**
- * The feature id for the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_LONG = 7;
-
- /**
- * The feature id for the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_SHORT = 8;
-
- /**
- * The feature id for the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_STRING = 9;
-
- /**
- * The feature id for the '<em><b>Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1__UNSETTABLE_VAT = 10;
-
- /**
- * The number of structural features of the '<em>Unsettable1</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE1_FEATURE_COUNT = 11;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl
- * <em>Unsettable2 With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getUnsettable2WithDefault()
- * @generated
- */
- int UNSETTABLE2_WITH_DEFAULT = 4;
-
- /**
- * The feature id for the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN = 0;
-
- /**
- * The feature id for the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE = 1;
-
- /**
- * The feature id for the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR = 2;
-
- /**
- * The feature id for the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE = 3;
-
- /**
- * The feature id for the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE = 4;
-
- /**
- * The feature id for the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT = 5;
-
- /**
- * The feature id for the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT = 6;
-
- /**
- * The feature id for the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG = 7;
-
- /**
- * The feature id for the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT = 8;
-
- /**
- * The feature id for the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING = 9;
-
- /**
- * The feature id for the '<em><b>Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT = 10;
-
- /**
- * The number of structural features of the '<em>Unsettable2 With Default</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNSETTABLE2_WITH_DEFAULT_FEATURE_COUNT = 11;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl
- * <em>Persistent Containment</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getPersistentContainment()
- * @generated
- */
- int PERSISTENT_CONTAINMENT = 5;
-
- /**
- * The feature id for the '<em><b>Attr Before</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PERSISTENT_CONTAINMENT__ATTR_BEFORE = 0;
-
- /**
- * The feature id for the '<em><b>Children</b></em>' containment reference list. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PERSISTENT_CONTAINMENT__CHILDREN = 1;
-
- /**
- * The feature id for the '<em><b>Attr After</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PERSISTENT_CONTAINMENT__ATTR_AFTER = 2;
-
- /**
- * The number of structural features of the '<em>Persistent Containment</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PERSISTENT_CONTAINMENT_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl
- * <em>Transient Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTransientContainer()
- * @generated
- */
- int TRANSIENT_CONTAINER = 6;
-
- /**
- * The feature id for the '<em><b>Attr Before</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TRANSIENT_CONTAINER__ATTR_BEFORE = 0;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TRANSIENT_CONTAINER__PARENT = 1;
-
- /**
- * The feature id for the '<em><b>Attr After</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TRANSIENT_CONTAINER__ATTR_AFTER = 2;
-
- /**
- * The number of structural features of the '<em>Transient Container</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TRANSIENT_CONTAINER_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl
- * <em>Not Unsettable</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getNotUnsettable()
- * @generated
- */
- int NOT_UNSETTABLE = 7;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN = 0;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE = 1;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR = 2;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_DATE = 3;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE = 4;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT = 5;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_INT = 6;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_LONG = 7;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT = 8;
-
- /**
- * The feature id for the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_STRING = 9;
-
- /**
- * The feature id for the '<em><b>Not Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE__NOT_UNSETTABLE_VAT = 10;
-
- /**
- * The number of structural features of the '<em>Not Unsettable</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_FEATURE_COUNT = 11;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl
- * <em>Not Unsettable With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getNotUnsettableWithDefault()
- * @generated
- */
- int NOT_UNSETTABLE_WITH_DEFAULT = 8;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN = 0;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE = 1;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR = 2;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE = 3;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE = 4;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT = 5;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT = 6;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG = 7;
-
- /**
- * The feature id for the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT = 8;
-
- /**
- * The feature id for the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING = 9;
-
- /**
- * The feature id for the '<em><b>Not Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT = 10;
-
- /**
- * The number of structural features of the '<em>Not Unsettable With Default</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NOT_UNSETTABLE_WITH_DEFAULT_FEATURE_COUNT = 11;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl <em>Map Holder</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getMapHolder()
- * @generated
- */
- int MAP_HOLDER = 9;
-
- /**
- * The feature id for the '<em><b>Integer To String Map</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__INTEGER_TO_STRING_MAP = 0;
-
- /**
- * The feature id for the '<em><b>String To String Map</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__STRING_TO_STRING_MAP = 1;
-
- /**
- * The feature id for the '<em><b>String To VAT Map</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__STRING_TO_VAT_MAP = 2;
-
- /**
- * The feature id for the '<em><b>String To Address Containment Map</b></em>' map. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP = 3;
-
- /**
- * The feature id for the '<em><b>String To Address Reference Map</b></em>' map. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP = 4;
-
- /**
- * The feature id for the '<em><b>EObject To EObject Map</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP = 5;
-
- /**
- * The feature id for the '<em><b>EObject To EObject Key Contained Map</b></em>' map. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP = 6;
-
- /**
- * The feature id for the '<em><b>EObject To EObject Both Contained Map</b></em>' map. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP = 7;
-
- /**
- * The feature id for the '<em><b>EObject To EObject Value Contained Map</b></em>' map. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP = 8;
-
- /**
- * The number of structural features of the '<em>Map Holder</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MAP_HOLDER_FEATURE_COUNT = 9;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToStringMapImpl
- * <em>String To String Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToStringMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getStringToStringMap()
- * @generated
- */
- int STRING_TO_STRING_MAP = 10;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_STRING_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_STRING_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>String To String Map</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_STRING_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.IntegerToStringMapImpl
- * <em>Integer To String Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.IntegerToStringMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getIntegerToStringMap()
- * @generated
- */
- int INTEGER_TO_STRING_MAP = 11;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INTEGER_TO_STRING_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INTEGER_TO_STRING_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>Integer To String Map</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INTEGER_TO_STRING_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToVATMapImpl
- * <em>String To VAT Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToVATMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getStringToVATMap()
- * @generated
- */
- int STRING_TO_VAT_MAP = 12;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_VAT_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_VAT_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>String To VAT Map</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_VAT_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressContainmentMapImpl
- * <em>String To Address Containment Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressContainmentMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getStringToAddressContainmentMap()
- * @generated
- */
- int STRING_TO_ADDRESS_CONTAINMENT_MAP = 13;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>String To Address Containment Map</em>' class. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_ADDRESS_CONTAINMENT_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressReferenceMapImpl
- * <em>String To Address Reference Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressReferenceMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getStringToAddressReferenceMap()
- * @generated
- */
- int STRING_TO_ADDRESS_REFERENCE_MAP = 14;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_ADDRESS_REFERENCE_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_ADDRESS_REFERENCE_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>String To Address Reference Map</em>' class. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int STRING_TO_ADDRESS_REFERENCE_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectMapImpl
- * <em>EObject To EObject Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEObjectToEObjectMap()
- * @generated
- */
- int EOBJECT_TO_EOBJECT_MAP = 15;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>EObject To EObject Map</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectKeyContainedMapImpl
- * <em>EObject To EObject Key Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectKeyContainedMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEObjectToEObjectKeyContainedMap()
- * @generated
- */
- int EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP = 16;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>EObject To EObject Key Contained Map</em>' class. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectBothContainedMapImpl
- * <em>EObject To EObject Both Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectBothContainedMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEObjectToEObjectBothContainedMap()
- * @generated
- */
- int EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP = 17;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>EObject To EObject Both Contained Map</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectValueContainedMapImpl
- * <em>EObject To EObject Value Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectValueContainedMapImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEObjectToEObjectValueContainedMap()
- * @generated
- */
- int EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP = 18;
-
- /**
- * The feature id for the '<em><b>Key</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>EObject To EObject Value Contained Map</em>' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EnumListHolderImpl
- * <em>Enum List Holder</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EnumListHolderImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEnumListHolder()
- * @generated
- */
- int ENUM_LIST_HOLDER = 19;
-
- /**
- * The feature id for the '<em><b>Enum List</b></em>' attribute list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ENUM_LIST_HOLDER__ENUM_LIST = 0;
-
- /**
- * The number of structural features of the '<em>Enum List Holder</em>' class. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ENUM_LIST_HOLDER_FEATURE_COUNT = 1;
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder
- * <em>Special Purchase Order</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Special Purchase Order</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder
- * @generated
- */
- EClass getSpecialPurchaseOrder();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getDiscountCode <em>Discount Code</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Discount Code</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getDiscountCode()
- * @see #getSpecialPurchaseOrder()
- * @generated
- */
- EAttribute getSpecialPurchaseOrder_DiscountCode();
-
- /**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getShippingAddress <em>Shipping Address</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Shipping Address</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getShippingAddress()
- * @see #getSpecialPurchaseOrder()
- * @generated
- */
- EReference getSpecialPurchaseOrder_ShippingAddress();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer
- * <em>Task Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Task Container</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer
- * @generated
- */
- EClass getTaskContainer();
-
- /**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer#getTasks <em>Tasks</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Tasks</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer#getTasks()
- * @see #getTaskContainer()
- * @generated
- */
- EReference getTaskContainer_Tasks();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task <em>Task</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Task</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Task
- * @generated
- */
- EClass getTask();
-
- /**
- * Returns the meta object for the container reference '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Task#getTaskContainer <em>Task Container</em>}'. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @return the meta object for the container reference '<em>Task Container</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#getTaskContainer()
- * @see #getTask()
- * @generated
- */
- EReference getTask_TaskContainer();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task#getDescription
- * <em>Description</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#getDescription()
- * @see #getTask()
- * @generated
- */
- EAttribute getTask_Description();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task#isDone
- * <em>Done</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Done</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#isDone()
- * @see #getTask()
- * @generated
- */
- EAttribute getTask_Done();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1 <em>Unsettable1</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Unsettable1</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1
- * @generated
- */
- EClass getUnsettable1();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#isUnsettableBoolean <em>Unsettable Boolean</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Boolean</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#isUnsettableBoolean()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableBoolean();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableByte <em>Unsettable Byte</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Byte</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableByte()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableByte();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableChar <em>Unsettable Char</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Char</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableChar()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableChar();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDate <em>Unsettable Date</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Date</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDate()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableDate();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDouble <em>Unsettable Double</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Double</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDouble()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableDouble();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableFloat <em>Unsettable Float</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Float</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableFloat()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableFloat();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableInt <em>Unsettable Int</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Int</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableInt()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableInt();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableLong <em>Unsettable Long</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Long</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableLong()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableLong();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableShort <em>Unsettable Short</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Short</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableShort()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableShort();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableString <em>Unsettable String</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable String</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableString()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableString();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableVAT <em>Unsettable VAT</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable VAT</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableVAT()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableVAT();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault
- * <em>Unsettable2 With Default</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Unsettable2 With Default</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault
- * @generated
- */
- EClass getUnsettable2WithDefault();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#isUnsettableBoolean
- * <em>Unsettable Boolean</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Boolean</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#isUnsettableBoolean()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableBoolean();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableByte <em>Unsettable Byte</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Byte</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableByte()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableByte();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableChar <em>Unsettable Char</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Char</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableChar()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableChar();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDate <em>Unsettable Date</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Date</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDate()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableDate();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDouble
- * <em>Unsettable Double</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Double</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDouble()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableDouble();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Float</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableFloat()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableFloat();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableInt <em>Unsettable Int</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Int</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableInt()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableInt();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableLong <em>Unsettable Long</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Long</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableLong()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableLong();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable Short</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableShort()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableShort();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableString
- * <em>Unsettable String</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable String</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableString()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableString();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableVAT <em>Unsettable VAT</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Unsettable VAT</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableVAT()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableVAT();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment
- * <em>Persistent Containment</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Persistent Containment</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment
- * @generated
- */
- EClass getPersistentContainment();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrBefore <em>Attr Before</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Attr Before</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrBefore()
- * @see #getPersistentContainment()
- * @generated
- */
- EAttribute getPersistentContainment_AttrBefore();
-
- /**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getChildren <em>Children</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Children</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getChildren()
- * @see #getPersistentContainment()
- * @generated
- */
- EReference getPersistentContainment_Children();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrAfter <em>Attr After</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Attr After</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrAfter()
- * @see #getPersistentContainment()
- * @generated
- */
- EAttribute getPersistentContainment_AttrAfter();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer
- * <em>Transient Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Transient Container</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer
- * @generated
- */
- EClass getTransientContainer();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrBefore <em>Attr Before</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Attr Before</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrBefore()
- * @see #getTransientContainer()
- * @generated
- */
- EAttribute getTransientContainer_AttrBefore();
-
- /**
- * Returns the meta object for the container reference '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#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.model2.TransientContainer#getParent()
- * @see #getTransientContainer()
- * @generated
- */
- EReference getTransientContainer_Parent();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrAfter <em>Attr After</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Attr After</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrAfter()
- * @see #getTransientContainer()
- * @generated
- */
- EAttribute getTransientContainer_AttrAfter();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable
- * <em>Not Unsettable</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Not Unsettable</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable
- * @generated
- */
- EClass getNotUnsettable();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#isNotUnsettableBoolean
- * <em>Not Unsettable Boolean</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Boolean</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#isNotUnsettableBoolean()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableBoolean();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableByte <em>Not Unsettable Byte</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Byte</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableByte()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableByte();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableChar <em>Not Unsettable Char</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Char</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableChar()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableChar();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableDate <em>Not Unsettable Date</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Date</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableDate()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableDate();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableDouble <em>Not Unsettable Double</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Double</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableDouble()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableDouble();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableFloat <em>Not Unsettable Float</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Float</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableFloat()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableFloat();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableInt <em>Not Unsettable Int</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Int</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableInt()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableInt();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableLong <em>Not Unsettable Long</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Long</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableLong()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableLong();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableShort <em>Not Unsettable Short</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Short</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableShort()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableShort();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableString <em>Not Unsettable String</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable String</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableString()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableString();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableVAT <em>Not Unsettable VAT</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable VAT</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableVAT()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableVAT();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault
- * <em>Not Unsettable With Default</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Not Unsettable With Default</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault
- * @generated
- */
- EClass getNotUnsettableWithDefault();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#isNotUnsettableBoolean
- * <em>Not Unsettable Boolean</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Boolean</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#isNotUnsettableBoolean()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableBoolean();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableByte
- * <em>Not Unsettable Byte</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Byte</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableByte()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableByte();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableChar
- * <em>Not Unsettable Char</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Char</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableChar()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableChar();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableDate
- * <em>Not Unsettable Date</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Date</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableDate()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableDate();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableDouble
- * <em>Not Unsettable Double</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Double</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableDouble()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableDouble();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableFloat
- * <em>Not Unsettable Float</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Float</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableFloat()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableFloat();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableInt
- * <em>Not Unsettable Int</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Int</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableInt()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableInt();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableLong
- * <em>Not Unsettable Long</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Long</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableLong()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableLong();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableShort
- * <em>Not Unsettable Short</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable Short</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableShort()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableShort();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableString
- * <em>Not Unsettable String</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable String</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableString()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableString();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableVAT
- * <em>Not Unsettable VAT</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Not Unsettable VAT</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableVAT()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableVAT();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder <em>Map Holder</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Map Holder</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder
- * @generated
- */
- EClass getMapHolder();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getIntegerToStringMap <em>Integer To String Map</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>Integer To String Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getIntegerToStringMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_IntegerToStringMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToStringMap
- * <em>String To String Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>String To String Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToStringMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_StringToStringMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToVATMap
- * <em>String To VAT Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>String To VAT Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToVATMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_StringToVATMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToAddressContainmentMap
- * <em>String To Address Containment Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>String To Address Containment Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToAddressContainmentMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_StringToAddressContainmentMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToAddressReferenceMap
- * <em>String To Address Reference Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>String To Address Reference Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToAddressReferenceMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_StringToAddressReferenceMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectMap <em>EObject To EObject Map</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>EObject To EObject Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_EObjectToEObjectMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectKeyContainedMap
- * <em>EObject To EObject Key Contained Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>EObject To EObject Key Contained Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectKeyContainedMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_EObjectToEObjectKeyContainedMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectBothContainedMap
- * <em>EObject To EObject Both Contained Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>EObject To EObject Both Contained Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectBothContainedMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_EObjectToEObjectBothContainedMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectValueContainedMap
- * <em>EObject To EObject Value Contained Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the map '<em>EObject To EObject Value Contained Map</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectValueContainedMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_EObjectToEObjectValueContainedMap();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>String To String Map</em>}'. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>String To String Map</em>'.
- * @see java.util.Map.Entry
- * @model keyDataType="org.eclipse.emf.ecore.EString" valueDataType="org.eclipse.emf.ecore.EString"
- * @generated
- */
- EClass getStringToStringMap();
-
- /**
- * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getStringToStringMap()
- * @generated
- */
- EAttribute getStringToStringMap_Key();
-
- /**
- * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getStringToStringMap()
- * @generated
- */
- EAttribute getStringToStringMap_Value();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>Integer To String Map</em>}'. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Integer To String Map</em>'.
- * @see java.util.Map.Entry
- * @model keyDataType="org.eclipse.emf.ecore.EIntegerObject" valueDataType="org.eclipse.emf.ecore.EString"
- * @generated
- */
- EClass getIntegerToStringMap();
-
- /**
- * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getIntegerToStringMap()
- * @generated
- */
- EAttribute getIntegerToStringMap_Key();
-
- /**
- * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getIntegerToStringMap()
- * @generated
- */
- EAttribute getIntegerToStringMap_Value();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>String To VAT Map</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>String To VAT Map</em>'.
- * @see java.util.Map.Entry
- * @model keyDataType="org.eclipse.emf.ecore.EString" valueDataType="org.eclipse.emf.cdo.tests.legacy.model1.VAT"
- * @generated
- */
- EClass getStringToVATMap();
-
- /**
- * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getStringToVATMap()
- * @generated
- */
- EAttribute getStringToVATMap_Key();
-
- /**
- * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getStringToVATMap()
- * @generated
- */
- EAttribute getStringToVATMap_Value();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>String To Address Containment Map</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>String To Address Containment Map</em>'.
- * @see java.util.Map.Entry
- * @model keyDataType="org.eclipse.emf.ecore.EString" valueType="org.eclipse.emf.cdo.tests.legacy.model1.Address"
- * valueContainment="true"
- * @generated
- */
- EClass getStringToAddressContainmentMap();
-
- /**
- * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getStringToAddressContainmentMap()
- * @generated
- */
- EAttribute getStringToAddressContainmentMap_Key();
-
- /**
- * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Value</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getStringToAddressContainmentMap()
- * @generated
- */
- EReference getStringToAddressContainmentMap_Value();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>String To Address Reference Map</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>String To Address Reference Map</em>'.
- * @see java.util.Map.Entry
- * @model keyDataType="org.eclipse.emf.ecore.EString" valueType="org.eclipse.emf.cdo.tests.legacy.model1.Address"
- * @generated
- */
- EClass getStringToAddressReferenceMap();
-
- /**
- * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getStringToAddressReferenceMap()
- * @generated
- */
- EAttribute getStringToAddressReferenceMap_Key();
-
- /**
- * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getStringToAddressReferenceMap()
- * @generated
- */
- EReference getStringToAddressReferenceMap_Value();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>EObject To EObject Map</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EObject To EObject Map</em>'.
- * @see java.util.Map.Entry
- * @model keyType="org.eclipse.emf.ecore.EObject" valueType="org.eclipse.emf.ecore.EObject"
- * @generated
- */
- EClass getEObjectToEObjectMap();
-
- /**
- * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @return the meta object for the reference '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getEObjectToEObjectMap()
- * @generated
- */
- EReference getEObjectToEObjectMap_Key();
-
- /**
- * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getEObjectToEObjectMap()
- * @generated
- */
- EReference getEObjectToEObjectMap_Value();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>EObject To EObject Key Contained Map</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EObject To EObject Key Contained Map</em>'.
- * @see java.util.Map.Entry
- * @model keyType="org.eclipse.emf.ecore.EObject" keyContainment="true" valueType="org.eclipse.emf.ecore.EObject"
- * @generated
- */
- EClass getEObjectToEObjectKeyContainedMap();
-
- /**
- * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Key</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getEObjectToEObjectKeyContainedMap()
- * @generated
- */
- EReference getEObjectToEObjectKeyContainedMap_Key();
-
- /**
- * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the reference '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getEObjectToEObjectKeyContainedMap()
- * @generated
- */
- EReference getEObjectToEObjectKeyContainedMap_Value();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>EObject To EObject Both Contained Map</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EObject To EObject Both Contained Map</em>'.
- * @see java.util.Map.Entry
- * @model keyType="org.eclipse.emf.ecore.EObject" keyContainment="true" valueType="org.eclipse.emf.ecore.EObject"
- * valueContainment="true"
- * @generated
- */
- EClass getEObjectToEObjectBothContainedMap();
-
- /**
- * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Key</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getEObjectToEObjectBothContainedMap()
- * @generated
- */
- EReference getEObjectToEObjectBothContainedMap_Key();
-
- /**
- * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Value</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getEObjectToEObjectBothContainedMap()
- * @generated
- */
- EReference getEObjectToEObjectBothContainedMap_Value();
-
- /**
- * Returns the meta object for class '{@link java.util.Map.Entry <em>EObject To EObject Value Contained Map</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>EObject To EObject Value Contained Map</em>'.
- * @see java.util.Map.Entry
- * @model keyType="org.eclipse.emf.ecore.EObject" valueType="org.eclipse.emf.ecore.EObject" valueContainment="true"
- * @generated
- */
- EClass getEObjectToEObjectValueContainedMap();
-
- /**
- * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @return the meta object for the reference '<em>Key</em>'.
- * @see java.util.Map.Entry
- * @see #getEObjectToEObjectValueContainedMap()
- * @generated
- */
- EReference getEObjectToEObjectValueContainedMap_Key();
-
- /**
- * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Value</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Value</em>'.
- * @see java.util.Map.Entry
- * @see #getEObjectToEObjectValueContainedMap()
- * @generated
- */
- EReference getEObjectToEObjectValueContainedMap_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.EnumListHolder
- * <em>Enum List Holder</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Enum List Holder</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.EnumListHolder
- * @generated
- */
- EClass getEnumListHolder();
-
- /**
- * Returns the meta object for the attribute list '
- * {@link org.eclipse.emf.cdo.tests.legacy.model2.EnumListHolder#getEnumList <em>Enum List</em>}'. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @return the meta object for the attribute list '<em>Enum List</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model2.EnumListHolder#getEnumList()
- * @see #getEnumListHolder()
- * @generated
- */
- EAttribute getEnumListHolder_EnumList();
-
- /**
- * 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
- */
- Model2Factory getModel2Factory();
-
-} // Model2Package
+/*
+ * 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.legacy.model2;
+
+import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc --> The <b>Package</b> for the model. It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory
+ * @model kind="package"
+ * @generated
+ */
+public interface Model2Package extends org.eclipse.emf.cdo.tests.model2.Model2Package
+{
+ /**
+ * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNAME = "model2";
+
+ /**
+ * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated NOT
+ */
+ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model2/1.0.0";
+
+ /**
+ * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "model2";
+
+ /**
+ * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ Model2Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl
+ * <em>Special Purchase Order</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getSpecialPurchaseOrder()
+ * @generated
+ */
+ int SPECIAL_PURCHASE_ORDER = 0;
+
+ /**
+ * The feature id for the '<em><b>Order Details</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int SPECIAL_PURCHASE_ORDER__ORDER_DETAILS = Model1Package.PURCHASE_ORDER__ORDER_DETAILS;
+
+ /**
+ * The feature id for the '<em><b>Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int SPECIAL_PURCHASE_ORDER__DATE = Model1Package.PURCHASE_ORDER__DATE;
+
+ /**
+ * The feature id for the '<em><b>Supplier</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int SPECIAL_PURCHASE_ORDER__SUPPLIER = Model1Package.PURCHASE_ORDER__SUPPLIER;
+
+ /**
+ * The feature id for the '<em><b>Discount Code</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Shipping Address</b></em>' containment reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Special Purchase Order</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int SPECIAL_PURCHASE_ORDER_FEATURE_COUNT = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl
+ * <em>Task Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTaskContainer()
+ * @generated
+ */
+ int TASK_CONTAINER = 1;
+
+ /**
+ * The feature id for the '<em><b>Tasks</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TASK_CONTAINER__TASKS = 0;
+
+ /**
+ * The number of structural features of the '<em>Task Container</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TASK_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl <em>Task</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTask()
+ * @generated
+ */
+ int TASK = 2;
+
+ /**
+ * The feature id for the '<em><b>Task Container</b></em>' container reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TASK__TASK_CONTAINER = 0;
+
+ /**
+ * The feature id for the '<em><b>Description</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TASK__DESCRIPTION = 1;
+
+ /**
+ * The feature id for the '<em><b>Done</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TASK__DONE = 2;
+
+ /**
+ * The number of structural features of the '<em>Task</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TASK_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl
+ * <em>Unsettable1</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getUnsettable1()
+ * @generated
+ */
+ int UNSETTABLE1 = 3;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_BOOLEAN = 0;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_BYTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_CHAR = 2;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_DATE = 3;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_DOUBLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_FLOAT = 5;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_INT = 6;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_LONG = 7;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_SHORT = 8;
+
+ /**
+ * The feature id for the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_STRING = 9;
+
+ /**
+ * The feature id for the '<em><b>Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_VAT = 10;
+
+ /**
+ * The number of structural features of the '<em>Unsettable1</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1_FEATURE_COUNT = 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl
+ * <em>Unsettable2 With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getUnsettable2WithDefault()
+ * @generated
+ */
+ int UNSETTABLE2_WITH_DEFAULT = 4;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN = 0;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR = 2;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE = 3;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT = 5;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT = 6;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG = 7;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT = 8;
+
+ /**
+ * The feature id for the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING = 9;
+
+ /**
+ * The feature id for the '<em><b>Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT = 10;
+
+ /**
+ * The number of structural features of the '<em>Unsettable2 With Default</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT_FEATURE_COUNT = 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl
+ * <em>Persistent Containment</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getPersistentContainment()
+ * @generated
+ */
+ int PERSISTENT_CONTAINMENT = 5;
+
+ /**
+ * The feature id for the '<em><b>Attr Before</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PERSISTENT_CONTAINMENT__ATTR_BEFORE = 0;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PERSISTENT_CONTAINMENT__CHILDREN = 1;
+
+ /**
+ * The feature id for the '<em><b>Attr After</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PERSISTENT_CONTAINMENT__ATTR_AFTER = 2;
+
+ /**
+ * The number of structural features of the '<em>Persistent Containment</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int PERSISTENT_CONTAINMENT_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl
+ * <em>Transient Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getTransientContainer()
+ * @generated
+ */
+ int TRANSIENT_CONTAINER = 6;
+
+ /**
+ * The feature id for the '<em><b>Attr Before</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TRANSIENT_CONTAINER__ATTR_BEFORE = 0;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TRANSIENT_CONTAINER__PARENT = 1;
+
+ /**
+ * The feature id for the '<em><b>Attr After</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TRANSIENT_CONTAINER__ATTR_AFTER = 2;
+
+ /**
+ * The number of structural features of the '<em>Transient Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int TRANSIENT_CONTAINER_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl
+ * <em>Not Unsettable</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getNotUnsettable()
+ * @generated
+ */
+ int NOT_UNSETTABLE = 7;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN = 0;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR = 2;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_DATE = 3;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT = 5;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_INT = 6;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_LONG = 7;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT = 8;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_STRING = 9;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_VAT = 10;
+
+ /**
+ * The number of structural features of the '<em>Not Unsettable</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_FEATURE_COUNT = 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl
+ * <em>Not Unsettable With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getNotUnsettableWithDefault()
+ * @generated
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT = 8;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN = 0;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR = 2;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE = 3;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT = 5;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT = 6;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG = 7;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT = 8;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING = 9;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT = 10;
+
+ /**
+ * The number of structural features of the '<em>Not Unsettable With Default</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT_FEATURE_COUNT = 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl <em>Map Holder</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getMapHolder()
+ * @generated
+ */
+ int MAP_HOLDER = 9;
+
+ /**
+ * The feature id for the '<em><b>Integer To String Map</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__INTEGER_TO_STRING_MAP = 0;
+
+ /**
+ * The feature id for the '<em><b>String To String Map</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__STRING_TO_STRING_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>String To VAT Map</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__STRING_TO_VAT_MAP = 2;
+
+ /**
+ * The feature id for the '<em><b>String To Address Containment Map</b></em>' map. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP = 3;
+
+ /**
+ * The feature id for the '<em><b>String To Address Reference Map</b></em>' map. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP = 4;
+
+ /**
+ * The feature id for the '<em><b>EObject To EObject Map</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP = 5;
+
+ /**
+ * The feature id for the '<em><b>EObject To EObject Key Contained Map</b></em>' map. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP = 6;
+
+ /**
+ * The feature id for the '<em><b>EObject To EObject Both Contained Map</b></em>' map. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP = 7;
+
+ /**
+ * The feature id for the '<em><b>EObject To EObject Value Contained Map</b></em>' map. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP = 8;
+
+ /**
+ * The number of structural features of the '<em>Map Holder</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int MAP_HOLDER_FEATURE_COUNT = 9;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToStringMapImpl
+ * <em>String To String Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToStringMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getStringToStringMap()
+ * @generated
+ */
+ int STRING_TO_STRING_MAP = 10;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_STRING_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_STRING_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>String To String Map</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_STRING_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.IntegerToStringMapImpl
+ * <em>Integer To String Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.IntegerToStringMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getIntegerToStringMap()
+ * @generated
+ */
+ int INTEGER_TO_STRING_MAP = 11;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INTEGER_TO_STRING_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INTEGER_TO_STRING_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>Integer To String Map</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INTEGER_TO_STRING_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToVATMapImpl
+ * <em>String To VAT Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToVATMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getStringToVATMap()
+ * @generated
+ */
+ int STRING_TO_VAT_MAP = 12;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_VAT_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_VAT_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>String To VAT Map</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_VAT_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressContainmentMapImpl
+ * <em>String To Address Containment Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressContainmentMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getStringToAddressContainmentMap()
+ * @generated
+ */
+ int STRING_TO_ADDRESS_CONTAINMENT_MAP = 13;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>String To Address Containment Map</em>' class. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_ADDRESS_CONTAINMENT_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressReferenceMapImpl
+ * <em>String To Address Reference Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressReferenceMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getStringToAddressReferenceMap()
+ * @generated
+ */
+ int STRING_TO_ADDRESS_REFERENCE_MAP = 14;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_ADDRESS_REFERENCE_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_ADDRESS_REFERENCE_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>String To Address Reference Map</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int STRING_TO_ADDRESS_REFERENCE_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectMapImpl
+ * <em>EObject To EObject Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEObjectToEObjectMap()
+ * @generated
+ */
+ int EOBJECT_TO_EOBJECT_MAP = 15;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>EObject To EObject Map</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectKeyContainedMapImpl
+ * <em>EObject To EObject Key Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectKeyContainedMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEObjectToEObjectKeyContainedMap()
+ * @generated
+ */
+ int EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP = 16;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>EObject To EObject Key Contained Map</em>' class. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectBothContainedMapImpl
+ * <em>EObject To EObject Both Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectBothContainedMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEObjectToEObjectBothContainedMap()
+ * @generated
+ */
+ int EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP = 17;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>EObject To EObject Both Contained Map</em>' class. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectValueContainedMapImpl
+ * <em>EObject To EObject Value Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectValueContainedMapImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEObjectToEObjectValueContainedMap()
+ * @generated
+ */
+ int EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP = 18;
+
+ /**
+ * The feature id for the '<em><b>Key</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY = 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE = 1;
+
+ /**
+ * The number of structural features of the '<em>EObject To EObject Value Contained Map</em>' class. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EnumListHolderImpl
+ * <em>Enum List Holder</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.EnumListHolderImpl
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.impl.Model2PackageImpl#getEnumListHolder()
+ * @generated
+ */
+ int ENUM_LIST_HOLDER = 19;
+
+ /**
+ * The feature id for the '<em><b>Enum List</b></em>' attribute list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ENUM_LIST_HOLDER__ENUM_LIST = 0;
+
+ /**
+ * The number of structural features of the '<em>Enum List Holder</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ENUM_LIST_HOLDER_FEATURE_COUNT = 1;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder
+ * <em>Special Purchase Order</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Special Purchase Order</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder
+ * @generated
+ */
+ EClass getSpecialPurchaseOrder();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getDiscountCode <em>Discount Code</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Discount Code</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getDiscountCode()
+ * @see #getSpecialPurchaseOrder()
+ * @generated
+ */
+ EAttribute getSpecialPurchaseOrder_DiscountCode();
+
+ /**
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getShippingAddress <em>Shipping Address</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Shipping Address</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.SpecialPurchaseOrder#getShippingAddress()
+ * @see #getSpecialPurchaseOrder()
+ * @generated
+ */
+ EReference getSpecialPurchaseOrder_ShippingAddress();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer
+ * <em>Task Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Task Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer
+ * @generated
+ */
+ EClass getTaskContainer();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer#getTasks <em>Tasks</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference list '<em>Tasks</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.TaskContainer#getTasks()
+ * @see #getTaskContainer()
+ * @generated
+ */
+ EReference getTaskContainer_Tasks();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task <em>Task</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Task</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Task
+ * @generated
+ */
+ EClass getTask();
+
+ /**
+ * Returns the meta object for the container reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Task#getTaskContainer <em>Task Container</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the container reference '<em>Task Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#getTaskContainer()
+ * @see #getTask()
+ * @generated
+ */
+ EReference getTask_TaskContainer();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task#getDescription
+ * <em>Description</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Description</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#getDescription()
+ * @see #getTask()
+ * @generated
+ */
+ EAttribute getTask_Description();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model2.Task#isDone
+ * <em>Done</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Done</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Task#isDone()
+ * @see #getTask()
+ * @generated
+ */
+ EAttribute getTask_Done();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1 <em>Unsettable1</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Unsettable1</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1
+ * @generated
+ */
+ EClass getUnsettable1();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#isUnsettableBoolean <em>Unsettable Boolean</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#isUnsettableBoolean()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableBoolean();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableByte <em>Unsettable Byte</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableByte()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableByte();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableChar <em>Unsettable Char</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableChar()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableChar();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDate <em>Unsettable Date</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDate()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableDate();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDouble <em>Unsettable Double</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableDouble()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableDouble();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableFloat <em>Unsettable Float</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableFloat()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableFloat();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableInt <em>Unsettable Int</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableInt()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableInt();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableLong <em>Unsettable Long</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableLong()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableLong();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableShort <em>Unsettable Short</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableShort()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableShort();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableString <em>Unsettable String</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable String</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableString()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableString();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableVAT <em>Unsettable VAT</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable VAT</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable1#getUnsettableVAT()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableVAT();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault
+ * <em>Unsettable2 With Default</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Unsettable2 With Default</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault
+ * @generated
+ */
+ EClass getUnsettable2WithDefault();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#isUnsettableBoolean
+ * <em>Unsettable Boolean</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#isUnsettableBoolean()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableBoolean();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableByte <em>Unsettable Byte</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableByte()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableByte();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableChar <em>Unsettable Char</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableChar()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableChar();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDate <em>Unsettable Date</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDate()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableDate();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDouble
+ * <em>Unsettable Double</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableDouble()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableDouble();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableFloat()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableFloat();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableInt <em>Unsettable Int</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableInt()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableInt();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableLong <em>Unsettable Long</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableLong()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableLong();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableShort()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableShort();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableString
+ * <em>Unsettable String</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable String</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableString()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableString();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableVAT <em>Unsettable VAT</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable VAT</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Unsettable2WithDefault#getUnsettableVAT()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableVAT();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment
+ * <em>Persistent Containment</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Persistent Containment</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment
+ * @generated
+ */
+ EClass getPersistentContainment();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrBefore <em>Attr Before</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Attr Before</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrBefore()
+ * @see #getPersistentContainment()
+ * @generated
+ */
+ EAttribute getPersistentContainment_AttrBefore();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getChildren <em>Children</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference list '<em>Children</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getChildren()
+ * @see #getPersistentContainment()
+ * @generated
+ */
+ EReference getPersistentContainment_Children();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrAfter <em>Attr After</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Attr After</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.PersistentContainment#getAttrAfter()
+ * @see #getPersistentContainment()
+ * @generated
+ */
+ EAttribute getPersistentContainment_AttrAfter();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer
+ * <em>Transient Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Transient Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer
+ * @generated
+ */
+ EClass getTransientContainer();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrBefore <em>Attr Before</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Attr Before</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrBefore()
+ * @see #getTransientContainer()
+ * @generated
+ */
+ EAttribute getTransientContainer_AttrBefore();
+
+ /**
+ * Returns the meta object for the container reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#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.model2.TransientContainer#getParent()
+ * @see #getTransientContainer()
+ * @generated
+ */
+ EReference getTransientContainer_Parent();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrAfter <em>Attr After</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Attr After</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.TransientContainer#getAttrAfter()
+ * @see #getTransientContainer()
+ * @generated
+ */
+ EAttribute getTransientContainer_AttrAfter();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable
+ * <em>Not Unsettable</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Not Unsettable</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable
+ * @generated
+ */
+ EClass getNotUnsettable();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#isNotUnsettableBoolean
+ * <em>Not Unsettable Boolean</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#isNotUnsettableBoolean()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableBoolean();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableByte <em>Not Unsettable Byte</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableByte()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableByte();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableChar <em>Not Unsettable Char</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableChar()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableChar();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableDate <em>Not Unsettable Date</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableDate()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableDate();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableDouble <em>Not Unsettable Double</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableDouble()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableDouble();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableFloat <em>Not Unsettable Float</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableFloat()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableFloat();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableInt <em>Not Unsettable Int</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableInt()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableInt();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableLong <em>Not Unsettable Long</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableLong()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableLong();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableShort <em>Not Unsettable Short</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableShort()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableShort();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableString <em>Not Unsettable String</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable String</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableString()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableString();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableVAT <em>Not Unsettable VAT</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable VAT</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettable#getNotUnsettableVAT()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableVAT();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault
+ * <em>Not Unsettable With Default</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Not Unsettable With Default</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault
+ * @generated
+ */
+ EClass getNotUnsettableWithDefault();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#isNotUnsettableBoolean
+ * <em>Not Unsettable Boolean</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#isNotUnsettableBoolean()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableBoolean();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableByte
+ * <em>Not Unsettable Byte</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableByte()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableByte();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableChar
+ * <em>Not Unsettable Char</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableChar()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableChar();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableDate
+ * <em>Not Unsettable Date</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableDate()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableDate();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableDouble
+ * <em>Not Unsettable Double</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableDouble()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableDouble();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableFloat
+ * <em>Not Unsettable Float</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableFloat()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableFloat();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableInt
+ * <em>Not Unsettable Int</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableInt()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableInt();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableLong
+ * <em>Not Unsettable Long</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableLong()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableLong();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableShort
+ * <em>Not Unsettable Short</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableShort()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableShort();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableString
+ * <em>Not Unsettable String</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable String</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableString()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableString();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableVAT
+ * <em>Not Unsettable VAT</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable VAT</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.NotUnsettableWithDefault#getNotUnsettableVAT()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableVAT();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder <em>Map Holder</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Map Holder</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder
+ * @generated
+ */
+ EClass getMapHolder();
+
+ /**
+ * Returns the meta object for the map '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getIntegerToStringMap <em>Integer To String Map</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>Integer To String Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getIntegerToStringMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_IntegerToStringMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToStringMap
+ * <em>String To String Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>String To String Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToStringMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_StringToStringMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToVATMap
+ * <em>String To VAT Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>String To VAT Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToVATMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_StringToVATMap();
+
+ /**
+ * Returns the meta object for the map '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToAddressContainmentMap
+ * <em>String To Address Containment Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>String To Address Containment Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToAddressContainmentMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_StringToAddressContainmentMap();
+
+ /**
+ * Returns the meta object for the map '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToAddressReferenceMap
+ * <em>String To Address Reference Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>String To Address Reference Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getStringToAddressReferenceMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_StringToAddressReferenceMap();
+
+ /**
+ * Returns the meta object for the map '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectMap <em>EObject To EObject Map</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>EObject To EObject Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_EObjectToEObjectMap();
+
+ /**
+ * Returns the meta object for the map '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectKeyContainedMap
+ * <em>EObject To EObject Key Contained Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>EObject To EObject Key Contained Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectKeyContainedMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_EObjectToEObjectKeyContainedMap();
+
+ /**
+ * Returns the meta object for the map '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectBothContainedMap
+ * <em>EObject To EObject Both Contained Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>EObject To EObject Both Contained Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectBothContainedMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_EObjectToEObjectBothContainedMap();
+
+ /**
+ * Returns the meta object for the map '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectValueContainedMap
+ * <em>EObject To EObject Value Contained Map</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the map '<em>EObject To EObject Value Contained Map</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.MapHolder#getEObjectToEObjectValueContainedMap()
+ * @see #getMapHolder()
+ * @generated
+ */
+ EReference getMapHolder_EObjectToEObjectValueContainedMap();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>String To String Map</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>String To String Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyDataType="org.eclipse.emf.ecore.EString" valueDataType="org.eclipse.emf.ecore.EString"
+ * @generated
+ */
+ EClass getStringToStringMap();
+
+ /**
+ * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getStringToStringMap()
+ * @generated
+ */
+ EAttribute getStringToStringMap_Key();
+
+ /**
+ * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getStringToStringMap()
+ * @generated
+ */
+ EAttribute getStringToStringMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>Integer To String Map</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Integer To String Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyDataType="org.eclipse.emf.ecore.EIntegerObject" valueDataType="org.eclipse.emf.ecore.EString"
+ * @generated
+ */
+ EClass getIntegerToStringMap();
+
+ /**
+ * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getIntegerToStringMap()
+ * @generated
+ */
+ EAttribute getIntegerToStringMap_Key();
+
+ /**
+ * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getIntegerToStringMap()
+ * @generated
+ */
+ EAttribute getIntegerToStringMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>String To VAT Map</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>String To VAT Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyDataType="org.eclipse.emf.ecore.EString" valueDataType="org.eclipse.emf.cdo.tests.legacy.model1.VAT"
+ * @generated
+ */
+ EClass getStringToVATMap();
+
+ /**
+ * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getStringToVATMap()
+ * @generated
+ */
+ EAttribute getStringToVATMap_Key();
+
+ /**
+ * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getStringToVATMap()
+ * @generated
+ */
+ EAttribute getStringToVATMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>String To Address Containment Map</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>String To Address Containment Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyDataType="org.eclipse.emf.ecore.EString" valueType="org.eclipse.emf.cdo.tests.legacy.model1.Address"
+ * valueContainment="true"
+ * @generated
+ */
+ EClass getStringToAddressContainmentMap();
+
+ /**
+ * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getStringToAddressContainmentMap()
+ * @generated
+ */
+ EAttribute getStringToAddressContainmentMap_Key();
+
+ /**
+ * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Value</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getStringToAddressContainmentMap()
+ * @generated
+ */
+ EReference getStringToAddressContainmentMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>String To Address Reference Map</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>String To Address Reference Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyDataType="org.eclipse.emf.ecore.EString" valueType="org.eclipse.emf.cdo.tests.legacy.model1.Address"
+ * @generated
+ */
+ EClass getStringToAddressReferenceMap();
+
+ /**
+ * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getStringToAddressReferenceMap()
+ * @generated
+ */
+ EAttribute getStringToAddressReferenceMap_Key();
+
+ /**
+ * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the reference '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getStringToAddressReferenceMap()
+ * @generated
+ */
+ EReference getStringToAddressReferenceMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>EObject To EObject Map</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>EObject To EObject Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyType="org.eclipse.emf.ecore.EObject" valueType="org.eclipse.emf.ecore.EObject"
+ * @generated
+ */
+ EClass getEObjectToEObjectMap();
+
+ /**
+ * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @return the meta object for the reference '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getEObjectToEObjectMap()
+ * @generated
+ */
+ EReference getEObjectToEObjectMap_Key();
+
+ /**
+ * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the reference '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getEObjectToEObjectMap()
+ * @generated
+ */
+ EReference getEObjectToEObjectMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>EObject To EObject Key Contained Map</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>EObject To EObject Key Contained Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyType="org.eclipse.emf.ecore.EObject" keyContainment="true" valueType="org.eclipse.emf.ecore.EObject"
+ * @generated
+ */
+ EClass getEObjectToEObjectKeyContainedMap();
+
+ /**
+ * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Key</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getEObjectToEObjectKeyContainedMap()
+ * @generated
+ */
+ EReference getEObjectToEObjectKeyContainedMap_Key();
+
+ /**
+ * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @return the meta object for the reference '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getEObjectToEObjectKeyContainedMap()
+ * @generated
+ */
+ EReference getEObjectToEObjectKeyContainedMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>EObject To EObject Both Contained Map</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>EObject To EObject Both Contained Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyType="org.eclipse.emf.ecore.EObject" keyContainment="true" valueType="org.eclipse.emf.ecore.EObject"
+ * valueContainment="true"
+ * @generated
+ */
+ EClass getEObjectToEObjectBothContainedMap();
+
+ /**
+ * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Key</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getEObjectToEObjectBothContainedMap()
+ * @generated
+ */
+ EReference getEObjectToEObjectBothContainedMap_Key();
+
+ /**
+ * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Value</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getEObjectToEObjectBothContainedMap()
+ * @generated
+ */
+ EReference getEObjectToEObjectBothContainedMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link java.util.Map.Entry <em>EObject To EObject Value Contained Map</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>EObject To EObject Value Contained Map</em>'.
+ * @see java.util.Map.Entry
+ * @model keyType="org.eclipse.emf.ecore.EObject" valueType="org.eclipse.emf.ecore.EObject" valueContainment="true"
+ * @generated
+ */
+ EClass getEObjectToEObjectValueContainedMap();
+
+ /**
+ * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @return the meta object for the reference '<em>Key</em>'.
+ * @see java.util.Map.Entry
+ * @see #getEObjectToEObjectValueContainedMap()
+ * @generated
+ */
+ EReference getEObjectToEObjectValueContainedMap_Key();
+
+ /**
+ * Returns the meta object for the containment reference '{@link java.util.Map.Entry <em>Value</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Value</em>'.
+ * @see java.util.Map.Entry
+ * @see #getEObjectToEObjectValueContainedMap()
+ * @generated
+ */
+ EReference getEObjectToEObjectValueContainedMap_Value();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model2.EnumListHolder
+ * <em>Enum List Holder</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Enum List Holder</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.EnumListHolder
+ * @generated
+ */
+ EClass getEnumListHolder();
+
+ /**
+ * Returns the meta object for the attribute list '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model2.EnumListHolder#getEnumList <em>Enum List</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute list '<em>Enum List</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.EnumListHolder#getEnumList()
+ * @see #getEnumListHolder()
+ * @generated
+ */
+ EAttribute getEnumListHolder_EnumList();
+
+ /**
+ * 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
+ */
+ Model2Factory getModel2Factory();
+
+} // Model2Package
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectBothContainedMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectBothContainedMapImpl.java
index 93d108578d..37b5a3919a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectBothContainedMapImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectBothContainedMapImpl.java
@@ -1,377 +1,377 @@
-/*
- * 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
- *
- * $Id: EObjectToEObjectBothContainedMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.BasicEMap;
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>EObject To EObject Both Contained Map</b></em>
- * '. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectBothContainedMapImpl#getTypedKey <em>Key
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectBothContainedMapImpl#getTypedValue <em>Value
- * </em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EObjectToEObjectBothContainedMapImpl extends EObjectImpl implements BasicEMap.Entry<EObject, EObject>
-{
- /**
- * The cached value of the '{@link #getTypedKey() <em>Key</em>}' containment reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected EObject key;
-
- /**
- * The cached value of the '{@link #getTypedValue() <em>Value</em>}' containment reference. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected EObject value;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EObjectToEObjectBothContainedMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetTypedKey(EObject newKey, NotificationChain msgs)
- {
- EObject oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY, oldKey, newKey);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(EObject newKey)
- {
- if (newKey != key)
- {
- NotificationChain msgs = null;
- if (key != null)
- msgs = ((InternalEObject)key).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY, null, msgs);
- if (newKey != null)
- msgs = ((InternalEObject)newKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY, null, msgs);
- msgs = basicSetTypedKey(newKey, msgs);
- if (msgs != null)
- msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY,
- newKey, newKey));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetTypedValue(EObject newValue, NotificationChain msgs)
- {
- EObject oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE, oldValue, newValue);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(EObject newValue)
- {
- if (newValue != value)
- {
- NotificationChain msgs = null;
- if (value != null)
- msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE, null, msgs);
- if (newValue != null)
- msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE, null, msgs);
- msgs = basicSetTypedValue(newValue, msgs);
- if (msgs != null)
- msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE,
- newValue, newValue));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
- return basicSetTypedKey(null, msgs);
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
- return basicSetTypedValue(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
- return getTypedKey();
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
- return getTypedValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
- setTypedKey((EObject)newValue);
- return;
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
- setTypedValue((EObject)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
- setTypedKey((EObject)null);
- return;
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
- setTypedValue((EObject)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
- return key != null;
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
- return value != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected int hash = -1;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getHash()
- {
- if (hash == -1)
- {
- Object theKey = getKey();
- hash = (theKey == null ? 0 : theKey.hashCode());
- }
- return hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setHash(int hash)
- {
- this.hash = hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(EObject key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject setValue(EObject value)
- {
- EObject oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<EObject, EObject> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<EObject, EObject>)container.eGet(eContainmentFeature());
- }
-
-} // EObjectToEObjectBothContainedMapImpl
+/*
+ * 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
+ *
+ * $Id: EObjectToEObjectBothContainedMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
+ */
+package org.eclipse.emf.cdo.tests.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.BasicEMap;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>EObject To EObject Both Contained Map</b></em>
+ * '. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectBothContainedMapImpl#getTypedKey <em>Key
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectBothContainedMapImpl#getTypedValue <em>Value
+ * </em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EObjectToEObjectBothContainedMapImpl extends EObjectImpl implements BasicEMap.Entry<EObject, EObject>
+{
+ /**
+ * The cached value of the '{@link #getTypedKey() <em>Key</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getTypedKey()
+ * @generated
+ * @ordered
+ */
+ protected EObject key;
+
+ /**
+ * The cached value of the '{@link #getTypedValue() <em>Value</em>}' containment reference. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getTypedValue()
+ * @generated
+ * @ordered
+ */
+ protected EObject value;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected EObjectToEObjectBothContainedMapImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getTypedKey()
+ {
+ return key;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetTypedKey(EObject newKey, NotificationChain msgs)
+ {
+ EObject oldKey = key;
+ key = newKey;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
+ Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY, oldKey, newKey);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedKey(EObject newKey)
+ {
+ if (newKey != key)
+ {
+ NotificationChain msgs = null;
+ if (key != null)
+ msgs = ((InternalEObject)key).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY, null, msgs);
+ if (newKey != null)
+ msgs = ((InternalEObject)newKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY, null, msgs);
+ msgs = basicSetTypedKey(newKey, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY,
+ newKey, newKey));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getTypedValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetTypedValue(EObject newValue, NotificationChain msgs)
+ {
+ EObject oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
+ Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE, oldValue, newValue);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedValue(EObject newValue)
+ {
+ if (newValue != value)
+ {
+ NotificationChain msgs = null;
+ if (value != null)
+ msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE, null, msgs);
+ if (newValue != null)
+ msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE, null, msgs);
+ msgs = basicSetTypedValue(newValue, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE,
+ newValue, newValue));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
+ return basicSetTypedKey(null, msgs);
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
+ return basicSetTypedValue(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
+ return getTypedKey();
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
+ return getTypedValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
+ setTypedKey((EObject)newValue);
+ return;
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
+ setTypedValue((EObject)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
+ setTypedKey((EObject)null);
+ return;
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
+ setTypedValue((EObject)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY:
+ return key != null;
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE:
+ return value != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected int hash = -1;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getHash()
+ {
+ if (hash == -1)
+ {
+ Object theKey = getKey();
+ hash = (theKey == null ? 0 : theKey.hashCode());
+ }
+ return hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setHash(int hash)
+ {
+ this.hash = hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getKey()
+ {
+ return getTypedKey();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setKey(EObject key)
+ {
+ setTypedKey(key);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getValue()
+ {
+ return getTypedValue();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject setValue(EObject value)
+ {
+ EObject oldValue = getValue();
+ setTypedValue(value);
+ return oldValue;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EMap<EObject, EObject> getEMap()
+ {
+ EObject container = eContainer();
+ return container == null ? null : (EMap<EObject, EObject>)container.eGet(eContainmentFeature());
+ }
+
+} // EObjectToEObjectBothContainedMapImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectKeyContainedMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectKeyContainedMapImpl.java
index 6588eb4302..6edc500e65 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectKeyContainedMapImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectKeyContainedMapImpl.java
@@ -1,366 +1,366 @@
-/*
- * 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
- *
- * $Id: EObjectToEObjectKeyContainedMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.BasicEMap;
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>EObject To EObject Key Contained Map</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectKeyContainedMapImpl#getTypedKey <em>Key</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectKeyContainedMapImpl#getTypedValue <em>Value
- * </em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EObjectToEObjectKeyContainedMapImpl extends EObjectImpl implements BasicEMap.Entry<EObject, EObject>
-{
- /**
- * The cached value of the '{@link #getTypedKey() <em>Key</em>}' containment reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected EObject key;
-
- /**
- * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected EObject value;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EObjectToEObjectKeyContainedMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetTypedKey(EObject newKey, NotificationChain msgs)
- {
- EObject oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY, oldKey, newKey);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(EObject newKey)
- {
- if (newKey != key)
- {
- NotificationChain msgs = null;
- if (key != null)
- msgs = ((InternalEObject)key).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY, null, msgs);
- if (newKey != null)
- msgs = ((InternalEObject)newKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY, null, msgs);
- msgs = basicSetTypedKey(newKey, msgs);
- if (msgs != null)
- msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY,
- newKey, newKey));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedValue()
- {
- if (value != null && value.eIsProxy())
- {
- InternalEObject oldValue = (InternalEObject)value;
- value = eResolveProxy(oldValue);
- if (value != oldValue)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE, oldValue, value));
- }
- }
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject basicGetTypedValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(EObject newValue)
- {
- EObject oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE,
- oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
- return basicSetTypedKey(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
- return getTypedKey();
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE:
- if (resolve)
- return getTypedValue();
- return basicGetTypedValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
- setTypedKey((EObject)newValue);
- return;
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE:
- setTypedValue((EObject)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
- setTypedKey((EObject)null);
- return;
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE:
- setTypedValue((EObject)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
- return key != null;
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE:
- return value != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected int hash = -1;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getHash()
- {
- if (hash == -1)
- {
- Object theKey = getKey();
- hash = (theKey == null ? 0 : theKey.hashCode());
- }
- return hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setHash(int hash)
- {
- this.hash = hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(EObject key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject setValue(EObject value)
- {
- EObject oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<EObject, EObject> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<EObject, EObject>)container.eGet(eContainmentFeature());
- }
-
-} // EObjectToEObjectKeyContainedMapImpl
+/*
+ * 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
+ *
+ * $Id: EObjectToEObjectKeyContainedMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
+ */
+package org.eclipse.emf.cdo.tests.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.BasicEMap;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>EObject To EObject Key Contained Map</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectKeyContainedMapImpl#getTypedKey <em>Key</em>}
+ * </li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectKeyContainedMapImpl#getTypedValue <em>Value
+ * </em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EObjectToEObjectKeyContainedMapImpl extends EObjectImpl implements BasicEMap.Entry<EObject, EObject>
+{
+ /**
+ * The cached value of the '{@link #getTypedKey() <em>Key</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getTypedKey()
+ * @generated
+ * @ordered
+ */
+ protected EObject key;
+
+ /**
+ * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getTypedValue()
+ * @generated
+ * @ordered
+ */
+ protected EObject value;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected EObjectToEObjectKeyContainedMapImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getTypedKey()
+ {
+ return key;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetTypedKey(EObject newKey, NotificationChain msgs)
+ {
+ EObject oldKey = key;
+ key = newKey;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
+ Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY, oldKey, newKey);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedKey(EObject newKey)
+ {
+ if (newKey != key)
+ {
+ NotificationChain msgs = null;
+ if (key != null)
+ msgs = ((InternalEObject)key).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY, null, msgs);
+ if (newKey != null)
+ msgs = ((InternalEObject)newKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY, null, msgs);
+ msgs = basicSetTypedKey(newKey, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY,
+ newKey, newKey));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getTypedValue()
+ {
+ if (value != null && value.eIsProxy())
+ {
+ InternalEObject oldValue = (InternalEObject)value;
+ value = eResolveProxy(oldValue);
+ if (value != oldValue)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE, oldValue, value));
+ }
+ }
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject basicGetTypedValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedValue(EObject newValue)
+ {
+ EObject oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE,
+ oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
+ return basicSetTypedKey(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
+ return getTypedKey();
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE:
+ if (resolve)
+ return getTypedValue();
+ return basicGetTypedValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
+ setTypedKey((EObject)newValue);
+ return;
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE:
+ setTypedValue((EObject)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
+ setTypedKey((EObject)null);
+ return;
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE:
+ setTypedValue((EObject)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY:
+ return key != null;
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE:
+ return value != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected int hash = -1;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getHash()
+ {
+ if (hash == -1)
+ {
+ Object theKey = getKey();
+ hash = (theKey == null ? 0 : theKey.hashCode());
+ }
+ return hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setHash(int hash)
+ {
+ this.hash = hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getKey()
+ {
+ return getTypedKey();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setKey(EObject key)
+ {
+ setTypedKey(key);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getValue()
+ {
+ return getTypedValue();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject setValue(EObject value)
+ {
+ EObject oldValue = getValue();
+ setTypedValue(value);
+ return oldValue;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EMap<EObject, EObject> getEMap()
+ {
+ EObject container = eContainer();
+ return container == null ? null : (EMap<EObject, EObject>)container.eGet(eContainmentFeature());
+ }
+
+} // EObjectToEObjectKeyContainedMapImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectMapImpl.java
index 6479e2bda7..1e3af0fa41 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectMapImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectMapImpl.java
@@ -1,337 +1,337 @@
-/*
- * 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
- *
- * $Id: EObjectToEObjectMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.BasicEMap;
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>EObject To EObject Map</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EObjectToEObjectMapImpl extends EObjectImpl implements BasicEMap.Entry<EObject, EObject>
-{
- /**
- * The cached value of the '{@link #getTypedKey() <em>Key</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected EObject key;
-
- /**
- * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected EObject value;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EObjectToEObjectMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getEObjectToEObjectMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedKey()
- {
- if (key != null && key.eIsProxy())
- {
- InternalEObject oldKey = (InternalEObject)key;
- key = eResolveProxy(oldKey);
- if (key != oldKey)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY, oldKey,
- key));
- }
- }
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject basicGetTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(EObject newKey)
- {
- EObject oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY, oldKey, key));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedValue()
- {
- if (value != null && value.eIsProxy())
- {
- InternalEObject oldValue = (InternalEObject)value;
- value = eResolveProxy(oldValue);
- if (value != oldValue)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE,
- oldValue, value));
- }
- }
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject basicGetTypedValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(EObject newValue)
- {
- EObject oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE, oldValue,
- value));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY:
- if (resolve)
- return getTypedKey();
- return basicGetTypedKey();
- case Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE:
- if (resolve)
- return getTypedValue();
- return basicGetTypedValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY:
- setTypedKey((EObject)newValue);
- return;
- case Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE:
- setTypedValue((EObject)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY:
- setTypedKey((EObject)null);
- return;
- case Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE:
- setTypedValue((EObject)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY:
- return key != null;
- case Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE:
- return value != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected int hash = -1;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getHash()
- {
- if (hash == -1)
- {
- Object theKey = getKey();
- hash = (theKey == null ? 0 : theKey.hashCode());
- }
- return hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setHash(int hash)
- {
- this.hash = hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(EObject key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject setValue(EObject value)
- {
- EObject oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<EObject, EObject> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<EObject, EObject>)container.eGet(eContainmentFeature());
- }
-
-} // EObjectToEObjectMapImpl
+/*
+ * 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
+ *
+ * $Id: EObjectToEObjectMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
+ */
+package org.eclipse.emf.cdo.tests.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.BasicEMap;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>EObject To EObject Map</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectMapImpl#getTypedKey <em>Key</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectMapImpl#getTypedValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EObjectToEObjectMapImpl extends EObjectImpl implements BasicEMap.Entry<EObject, EObject>
+{
+ /**
+ * The cached value of the '{@link #getTypedKey() <em>Key</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getTypedKey()
+ * @generated
+ * @ordered
+ */
+ protected EObject key;
+
+ /**
+ * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getTypedValue()
+ * @generated
+ * @ordered
+ */
+ protected EObject value;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected EObjectToEObjectMapImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.eINSTANCE.getEObjectToEObjectMap();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getTypedKey()
+ {
+ if (key != null && key.eIsProxy())
+ {
+ InternalEObject oldKey = (InternalEObject)key;
+ key = eResolveProxy(oldKey);
+ if (key != oldKey)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY, oldKey,
+ key));
+ }
+ }
+ return key;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject basicGetTypedKey()
+ {
+ return key;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedKey(EObject newKey)
+ {
+ EObject oldKey = key;
+ key = newKey;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY, oldKey, key));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getTypedValue()
+ {
+ if (value != null && value.eIsProxy())
+ {
+ InternalEObject oldValue = (InternalEObject)value;
+ value = eResolveProxy(oldValue);
+ if (value != oldValue)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE,
+ oldValue, value));
+ }
+ }
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject basicGetTypedValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedValue(EObject newValue)
+ {
+ EObject oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE, oldValue,
+ value));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY:
+ if (resolve)
+ return getTypedKey();
+ return basicGetTypedKey();
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE:
+ if (resolve)
+ return getTypedValue();
+ return basicGetTypedValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY:
+ setTypedKey((EObject)newValue);
+ return;
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE:
+ setTypedValue((EObject)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY:
+ setTypedKey((EObject)null);
+ return;
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE:
+ setTypedValue((EObject)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP__KEY:
+ return key != null;
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP__VALUE:
+ return value != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected int hash = -1;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getHash()
+ {
+ if (hash == -1)
+ {
+ Object theKey = getKey();
+ hash = (theKey == null ? 0 : theKey.hashCode());
+ }
+ return hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setHash(int hash)
+ {
+ this.hash = hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getKey()
+ {
+ return getTypedKey();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setKey(EObject key)
+ {
+ setTypedKey(key);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getValue()
+ {
+ return getTypedValue();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject setValue(EObject value)
+ {
+ EObject oldValue = getValue();
+ setTypedValue(value);
+ return oldValue;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EMap<EObject, EObject> getEMap()
+ {
+ EObject container = eContainer();
+ return container == null ? null : (EMap<EObject, EObject>)container.eGet(eContainmentFeature());
+ }
+
+} // EObjectToEObjectMapImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectValueContainedMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectValueContainedMapImpl.java
index 49b65c7cda..5bbec5e681 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectValueContainedMapImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EObjectToEObjectValueContainedMapImpl.java
@@ -1,366 +1,366 @@
-/*
- * 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
- *
- * $Id: EObjectToEObjectValueContainedMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.BasicEMap;
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>EObject To EObject Value Contained Map</b></em>
- * '. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectValueContainedMapImpl#getTypedKey <em>Key
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectValueContainedMapImpl#getTypedValue <em>Value
- * </em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EObjectToEObjectValueContainedMapImpl extends EObjectImpl implements BasicEMap.Entry<EObject, EObject>
-{
- /**
- * The cached value of the '{@link #getTypedKey() <em>Key</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected EObject key;
-
- /**
- * The cached value of the '{@link #getTypedValue() <em>Value</em>}' containment reference. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected EObject value;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EObjectToEObjectValueContainedMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedKey()
- {
- if (key != null && key.eIsProxy())
- {
- InternalEObject oldKey = (InternalEObject)key;
- key = eResolveProxy(oldKey);
- if (key != oldKey)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY, oldKey, key));
- }
- }
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject basicGetTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(EObject newKey)
- {
- EObject oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY,
- oldKey, key));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetTypedValue(EObject newValue, NotificationChain msgs)
- {
- EObject oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE, oldValue, newValue);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(EObject newValue)
- {
- if (newValue != value)
- {
- NotificationChain msgs = null;
- if (value != null)
- msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE, null, msgs);
- if (newValue != null)
- msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE, null, msgs);
- msgs = basicSetTypedValue(newValue, msgs);
- if (msgs != null)
- msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET,
- Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE, newValue, newValue));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
- return basicSetTypedValue(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY:
- if (resolve)
- return getTypedKey();
- return basicGetTypedKey();
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
- return getTypedValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY:
- setTypedKey((EObject)newValue);
- return;
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
- setTypedValue((EObject)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY:
- setTypedKey((EObject)null);
- return;
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
- setTypedValue((EObject)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY:
- return key != null;
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
- return value != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected int hash = -1;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getHash()
- {
- if (hash == -1)
- {
- Object theKey = getKey();
- hash = (theKey == null ? 0 : theKey.hashCode());
- }
- return hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setHash(int hash)
- {
- this.hash = hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(EObject key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject setValue(EObject value)
- {
- EObject oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<EObject, EObject> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<EObject, EObject>)container.eGet(eContainmentFeature());
- }
-
-} // EObjectToEObjectValueContainedMapImpl
+/*
+ * 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
+ *
+ * $Id: EObjectToEObjectValueContainedMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
+ */
+package org.eclipse.emf.cdo.tests.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.BasicEMap;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>EObject To EObject Value Contained Map</b></em>
+ * '. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectValueContainedMapImpl#getTypedKey <em>Key
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EObjectToEObjectValueContainedMapImpl#getTypedValue <em>Value
+ * </em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EObjectToEObjectValueContainedMapImpl extends EObjectImpl implements BasicEMap.Entry<EObject, EObject>
+{
+ /**
+ * The cached value of the '{@link #getTypedKey() <em>Key</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getTypedKey()
+ * @generated
+ * @ordered
+ */
+ protected EObject key;
+
+ /**
+ * The cached value of the '{@link #getTypedValue() <em>Value</em>}' containment reference. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getTypedValue()
+ * @generated
+ * @ordered
+ */
+ protected EObject value;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected EObjectToEObjectValueContainedMapImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getTypedKey()
+ {
+ if (key != null && key.eIsProxy())
+ {
+ InternalEObject oldKey = (InternalEObject)key;
+ key = eResolveProxy(oldKey);
+ if (key != oldKey)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE,
+ Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY, oldKey, key));
+ }
+ }
+ return key;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject basicGetTypedKey()
+ {
+ return key;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedKey(EObject newKey)
+ {
+ EObject oldKey = key;
+ key = newKey;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY,
+ oldKey, key));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getTypedValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotificationChain basicSetTypedValue(EObject newValue, NotificationChain msgs)
+ {
+ EObject oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
+ Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE, oldValue, newValue);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedValue(EObject newValue)
+ {
+ if (newValue != value)
+ {
+ NotificationChain msgs = null;
+ if (value != null)
+ msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE, null, msgs);
+ if (newValue != null)
+ msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE, null, msgs);
+ msgs = basicSetTypedValue(newValue, msgs);
+ if (msgs != null)
+ msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE, newValue, newValue));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
+ return basicSetTypedValue(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY:
+ if (resolve)
+ return getTypedKey();
+ return basicGetTypedKey();
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
+ return getTypedValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY:
+ setTypedKey((EObject)newValue);
+ return;
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
+ setTypedValue((EObject)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY:
+ setTypedKey((EObject)null);
+ return;
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
+ setTypedValue((EObject)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY:
+ return key != null;
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE:
+ return value != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected int hash = -1;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getHash()
+ {
+ if (hash == -1)
+ {
+ Object theKey = getKey();
+ hash = (theKey == null ? 0 : theKey.hashCode());
+ }
+ return hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setHash(int hash)
+ {
+ this.hash = hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getKey()
+ {
+ return getTypedKey();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setKey(EObject key)
+ {
+ setTypedKey(key);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject getValue()
+ {
+ return getTypedValue();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EObject setValue(EObject value)
+ {
+ EObject oldValue = getValue();
+ setTypedValue(value);
+ return oldValue;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EMap<EObject, EObject> getEMap()
+ {
+ EObject container = eContainer();
+ return container == null ? null : (EMap<EObject, EObject>)container.eGet(eContainmentFeature());
+ }
+
+} // EObjectToEObjectValueContainedMapImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EnumListHolderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EnumListHolderImpl.java
index f04eb9eb2e..4cd2582fad 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EnumListHolderImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/EnumListHolderImpl.java
@@ -1,169 +1,169 @@
-/*
- * 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.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Enum List Holder</b></em>'. <!-- end-user-doc
- * -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EnumListHolderImpl#getEnumList <em>Enum List</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EnumListHolderImpl extends EObjectImpl implements EnumListHolder
-{
- /**
- * The cached value of the '{@link #getEnumList() <em>Enum List</em>}' attribute list. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getEnumList()
- * @generated
- * @ordered
- */
- protected EList<VAT> enumList;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected EnumListHolderImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getEnumListHolder();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<VAT> getEnumList()
- {
- if (enumList == null)
- {
- enumList = new EDataTypeUniqueEList<VAT>(VAT.class, this, Model2Package.ENUM_LIST_HOLDER__ENUM_LIST);
- }
- return enumList;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.ENUM_LIST_HOLDER__ENUM_LIST:
- return getEnumList();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model2Package.ENUM_LIST_HOLDER__ENUM_LIST:
- getEnumList().clear();
- getEnumList().addAll((Collection<? extends VAT>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.ENUM_LIST_HOLDER__ENUM_LIST:
- getEnumList().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.ENUM_LIST_HOLDER__ENUM_LIST:
- return enumList != null && !enumList.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (enumList: ");
- result.append(enumList);
- result.append(')');
- return result.toString();
- }
-
-} // EnumListHolderImpl
+/*
+ * 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.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
+
+import java.util.Collection;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Enum List Holder</b></em>'. <!-- end-user-doc
+ * -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.EnumListHolderImpl#getEnumList <em>Enum List</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EnumListHolderImpl extends EObjectImpl implements EnumListHolder
+{
+ /**
+ * The cached value of the '{@link #getEnumList() <em>Enum List</em>}' attribute list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getEnumList()
+ * @generated
+ * @ordered
+ */
+ protected EList<VAT> enumList;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected EnumListHolderImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.eINSTANCE.getEnumListHolder();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EList<VAT> getEnumList()
+ {
+ if (enumList == null)
+ {
+ enumList = new EDataTypeUniqueEList<VAT>(VAT.class, this, Model2Package.ENUM_LIST_HOLDER__ENUM_LIST);
+ }
+ return enumList;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model2Package.ENUM_LIST_HOLDER__ENUM_LIST:
+ return getEnumList();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model2Package.ENUM_LIST_HOLDER__ENUM_LIST:
+ getEnumList().clear();
+ getEnumList().addAll((Collection<? extends VAT>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.ENUM_LIST_HOLDER__ENUM_LIST:
+ getEnumList().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.ENUM_LIST_HOLDER__ENUM_LIST:
+ return enumList != null && !enumList.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (enumList: ");
+ result.append(enumList);
+ result.append(')');
+ return result.toString();
+ }
+
+} // EnumListHolderImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/IntegerToStringMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/IntegerToStringMapImpl.java
index 404812ef2f..71fbeb248a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/IntegerToStringMapImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/IntegerToStringMapImpl.java
@@ -1,329 +1,329 @@
-/*
- * 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
- *
- * $Id: IntegerToStringMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.BasicEMap;
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Integer To String Map</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.IntegerToStringMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.IntegerToStringMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class IntegerToStringMapImpl extends EObjectImpl implements BasicEMap.Entry<Integer, String>
-{
- /**
- * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected static final Integer KEY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected Integer key = KEY_EDEFAULT;
-
- /**
- * The default value of the '{@link #getTypedValue() <em>Value</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTypedValue() <em>Value</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected IntegerToStringMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getIntegerToStringMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Integer getTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(Integer newKey)
- {
- Integer oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.INTEGER_TO_STRING_MAP__KEY, oldKey, key));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(String newValue)
- {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.INTEGER_TO_STRING_MAP__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.INTEGER_TO_STRING_MAP__KEY:
- return getTypedKey();
- case Model2Package.INTEGER_TO_STRING_MAP__VALUE:
- return getTypedValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model2Package.INTEGER_TO_STRING_MAP__KEY:
- setTypedKey((Integer)newValue);
- return;
- case Model2Package.INTEGER_TO_STRING_MAP__VALUE:
- setTypedValue((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.INTEGER_TO_STRING_MAP__KEY:
- setTypedKey(KEY_EDEFAULT);
- return;
- case Model2Package.INTEGER_TO_STRING_MAP__VALUE:
- setTypedValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.INTEGER_TO_STRING_MAP__KEY:
- return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
- case Model2Package.INTEGER_TO_STRING_MAP__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (key: ");
- result.append(key);
- result.append(", value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected int hash = -1;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getHash()
- {
- if (hash == -1)
- {
- Object theKey = getKey();
- hash = (theKey == null ? 0 : theKey.hashCode());
- }
- return hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setHash(int hash)
- {
- this.hash = hash;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Integer getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(Integer key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String setValue(String value)
- {
- String oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<Integer, String> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<Integer, String>)container.eGet(eContainmentFeature());
- }
-
-} // IntegerToStringMapImpl
+/*
+ * 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
+ *
+ * $Id: IntegerToStringMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
+ */
+package org.eclipse.emf.cdo.tests.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.BasicEMap;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Integer To String Map</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.IntegerToStringMapImpl#getTypedKey <em>Key</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.IntegerToStringMapImpl#getTypedValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class IntegerToStringMapImpl extends EObjectImpl implements BasicEMap.Entry<Integer, String>
+{
+ /**
+ * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getTypedKey()
+ * @generated
+ * @ordered
+ */
+ protected static final Integer KEY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @see #getTypedKey()
+ * @generated
+ * @ordered
+ */
+ protected Integer key = KEY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTypedValue() <em>Value</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getTypedValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTypedValue() <em>Value</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getTypedValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected IntegerToStringMapImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.eINSTANCE.getIntegerToStringMap();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Integer getTypedKey()
+ {
+ return key;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedKey(Integer newKey)
+ {
+ Integer oldKey = key;
+ key = newKey;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.INTEGER_TO_STRING_MAP__KEY, oldKey, key));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getTypedValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setTypedValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.INTEGER_TO_STRING_MAP__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model2Package.INTEGER_TO_STRING_MAP__KEY:
+ return getTypedKey();
+ case Model2Package.INTEGER_TO_STRING_MAP__VALUE:
+ return getTypedValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model2Package.INTEGER_TO_STRING_MAP__KEY:
+ setTypedKey((Integer)newValue);
+ return;
+ case Model2Package.INTEGER_TO_STRING_MAP__VALUE:
+ setTypedValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.INTEGER_TO_STRING_MAP__KEY:
+ setTypedKey(KEY_EDEFAULT);
+ return;
+ case Model2Package.INTEGER_TO_STRING_MAP__VALUE:
+ setTypedValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.INTEGER_TO_STRING_MAP__KEY:
+ return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
+ case Model2Package.INTEGER_TO_STRING_MAP__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (key: ");
+ result.append(key);
+ result.append(", value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected int hash = -1;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getHash()
+ {
+ if (hash == -1)
+ {
+ Object theKey = getKey();
+ hash = (theKey == null ? 0 : theKey.hashCode());
+ }
+ return hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setHash(int hash)
+ {
+ this.hash = hash;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Integer getKey()
+ {
+ return getTypedKey();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setKey(Integer key)
+ {
+ setTypedKey(key);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getValue()
+ {
+ return getTypedValue();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String setValue(String value)
+ {
+ String oldValue = getValue();
+ setTypedValue(value);
+ return oldValue;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ public EMap<Integer, String> getEMap()
+ {
+ EObject container = eContainer();
+ return container == null ? null : (EMap<Integer, String>)container.eGet(eContainmentFeature());
+ }
+
+} // IntegerToStringMapImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/MapHolderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/MapHolderImpl.java
index 638e1095cf..511d3f3cbe 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/MapHolderImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/MapHolderImpl.java
@@ -1,515 +1,515 @@
-/*
- * 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
- *
- * $Id: MapHolderImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.MapHolder;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EcoreEMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Map Holder</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getIntegerToStringMap <em>Integer To String Map
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getStringToStringMap <em>String To String Map
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getStringToVATMap <em>String To VAT Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getStringToAddressContainmentMap <em>String To
- * Address Containment Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getStringToAddressReferenceMap <em>String To
- * Address Reference Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getEObjectToEObjectMap <em>EObject To EObject
- * Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getEObjectToEObjectKeyContainedMap <em>EObject
- * To EObject Key Contained Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getEObjectToEObjectBothContainedMap <em>EObject
- * To EObject Both Contained Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getEObjectToEObjectValueContainedMap <em>
- * EObject To EObject Value Contained Map</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MapHolderImpl extends EObjectImpl implements MapHolder
-{
- /**
- * The cached value of the '{@link #getIntegerToStringMap() <em>Integer To String Map</em>}' map. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getIntegerToStringMap()
- * @generated
- * @ordered
- */
- protected EMap<Integer, String> integerToStringMap;
-
- /**
- * The cached value of the '{@link #getStringToStringMap() <em>String To String Map</em>}' map. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getStringToStringMap()
- * @generated
- * @ordered
- */
- protected EMap<String, String> stringToStringMap;
-
- /**
- * The cached value of the '{@link #getStringToVATMap() <em>String To VAT Map</em>}' map. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getStringToVATMap()
- * @generated
- * @ordered
- */
- protected EMap<String, VAT> stringToVATMap;
-
- /**
- * The cached value of the '{@link #getStringToAddressContainmentMap() <em>String To Address Containment Map</em>}'
- * map. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getStringToAddressContainmentMap()
- * @generated
- * @ordered
- */
- protected EMap<String, Address> stringToAddressContainmentMap;
-
- /**
- * The cached value of the '{@link #getStringToAddressReferenceMap() <em>String To Address Reference Map</em>}' map.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getStringToAddressReferenceMap()
- * @generated
- * @ordered
- */
- protected EMap<String, Address> stringToAddressReferenceMap;
-
- /**
- * The cached value of the '{@link #getEObjectToEObjectMap() <em>EObject To EObject Map</em>}' map. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getEObjectToEObjectMap()
- * @generated
- * @ordered
- */
- protected EMap<EObject, EObject> eObjectToEObjectMap;
-
- /**
- * The cached value of the '{@link #getEObjectToEObjectKeyContainedMap()
- * <em>EObject To EObject Key Contained Map</em>}' map. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getEObjectToEObjectKeyContainedMap()
- * @generated
- * @ordered
- */
- protected EMap<EObject, EObject> eObjectToEObjectKeyContainedMap;
-
- /**
- * The cached value of the '{@link #getEObjectToEObjectBothContainedMap()
- * <em>EObject To EObject Both Contained Map</em>}' map. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getEObjectToEObjectBothContainedMap()
- * @generated
- * @ordered
- */
- protected EMap<EObject, EObject> eObjectToEObjectBothContainedMap;
-
- /**
- * The cached value of the '{@link #getEObjectToEObjectValueContainedMap()
- * <em>EObject To EObject Value Contained Map</em>}' map. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getEObjectToEObjectValueContainedMap()
- * @generated
- * @ordered
- */
- protected EMap<EObject, EObject> eObjectToEObjectValueContainedMap;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected MapHolderImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getMapHolder();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<Integer, String> getIntegerToStringMap()
- {
- if (integerToStringMap == null)
- {
- integerToStringMap = new EcoreEMap<Integer, String>(Model2Package.eINSTANCE.getIntegerToStringMap(),
- IntegerToStringMapImpl.class, this, Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP);
- }
- return integerToStringMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<String, String> getStringToStringMap()
- {
- if (stringToStringMap == null)
- {
- stringToStringMap = new EcoreEMap<String, String>(Model2Package.eINSTANCE.getStringToStringMap(),
- StringToStringMapImpl.class, this, Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP);
- }
- return stringToStringMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<String, VAT> getStringToVATMap()
- {
- if (stringToVATMap == null)
- {
- stringToVATMap = new EcoreEMap<String, VAT>(Model2Package.eINSTANCE.getStringToVATMap(),
- StringToVATMapImpl.class, this, Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP);
- }
- return stringToVATMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<String, Address> getStringToAddressContainmentMap()
- {
- if (stringToAddressContainmentMap == null)
- {
- stringToAddressContainmentMap = new EcoreEMap<String, Address>(
- Model2Package.eINSTANCE.getStringToAddressContainmentMap(), StringToAddressContainmentMapImpl.class, this,
- Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP);
- }
- return stringToAddressContainmentMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<String, Address> getStringToAddressReferenceMap()
- {
- if (stringToAddressReferenceMap == null)
- {
- stringToAddressReferenceMap = new EcoreEMap<String, Address>(
- Model2Package.eINSTANCE.getStringToAddressReferenceMap(), StringToAddressReferenceMapImpl.class, this,
- Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP);
- }
- return stringToAddressReferenceMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<EObject, EObject> getEObjectToEObjectMap()
- {
- if (eObjectToEObjectMap == null)
- {
- eObjectToEObjectMap = new EcoreEMap<EObject, EObject>(Model2Package.eINSTANCE.getEObjectToEObjectMap(),
- EObjectToEObjectMapImpl.class, this, Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP);
- }
- return eObjectToEObjectMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<EObject, EObject> getEObjectToEObjectKeyContainedMap()
- {
- if (eObjectToEObjectKeyContainedMap == null)
- {
- eObjectToEObjectKeyContainedMap = new EcoreEMap<EObject, EObject>(
- Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap(), EObjectToEObjectKeyContainedMapImpl.class,
- this, Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP);
- }
- return eObjectToEObjectKeyContainedMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<EObject, EObject> getEObjectToEObjectBothContainedMap()
- {
- if (eObjectToEObjectBothContainedMap == null)
- {
- eObjectToEObjectBothContainedMap = new EcoreEMap<EObject, EObject>(
- Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap(), EObjectToEObjectBothContainedMapImpl.class,
- this, Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP);
- }
- return eObjectToEObjectBothContainedMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EMap<EObject, EObject> getEObjectToEObjectValueContainedMap()
- {
- if (eObjectToEObjectValueContainedMap == null)
- {
- eObjectToEObjectValueContainedMap = new EcoreEMap<EObject, EObject>(
- Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap(), EObjectToEObjectValueContainedMapImpl.class,
- this, Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP);
- }
- return eObjectToEObjectValueContainedMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
- return ((InternalEList<?>)getIntegerToStringMap()).basicRemove(otherEnd, msgs);
- case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
- return ((InternalEList<?>)getStringToStringMap()).basicRemove(otherEnd, msgs);
- case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
- return ((InternalEList<?>)getStringToVATMap()).basicRemove(otherEnd, msgs);
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
- return ((InternalEList<?>)getStringToAddressContainmentMap()).basicRemove(otherEnd, msgs);
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
- return ((InternalEList<?>)getStringToAddressReferenceMap()).basicRemove(otherEnd, msgs);
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
- return ((InternalEList<?>)getEObjectToEObjectMap()).basicRemove(otherEnd, msgs);
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
- return ((InternalEList<?>)getEObjectToEObjectKeyContainedMap()).basicRemove(otherEnd, msgs);
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
- return ((InternalEList<?>)getEObjectToEObjectBothContainedMap()).basicRemove(otherEnd, msgs);
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
- return ((InternalEList<?>)getEObjectToEObjectValueContainedMap()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
- if (coreType)
- return getIntegerToStringMap();
- else
- return getIntegerToStringMap().map();
- case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
- if (coreType)
- return getStringToStringMap();
- else
- return getStringToStringMap().map();
- case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
- if (coreType)
- return getStringToVATMap();
- else
- return getStringToVATMap().map();
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
- if (coreType)
- return getStringToAddressContainmentMap();
- else
- return getStringToAddressContainmentMap().map();
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
- if (coreType)
- return getStringToAddressReferenceMap();
- else
- return getStringToAddressReferenceMap().map();
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
- if (coreType)
- return getEObjectToEObjectMap();
- else
- return getEObjectToEObjectMap().map();
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
- if (coreType)
- return getEObjectToEObjectKeyContainedMap();
- else
- return getEObjectToEObjectKeyContainedMap().map();
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
- if (coreType)
- return getEObjectToEObjectBothContainedMap();
- else
- return getEObjectToEObjectBothContainedMap().map();
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
- if (coreType)
- return getEObjectToEObjectValueContainedMap();
- else
- return getEObjectToEObjectValueContainedMap().map();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
- ((EStructuralFeature.Setting)getIntegerToStringMap()).set(newValue);
- return;
- case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
- ((EStructuralFeature.Setting)getStringToStringMap()).set(newValue);
- return;
- case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
- ((EStructuralFeature.Setting)getStringToVATMap()).set(newValue);
- return;
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
- ((EStructuralFeature.Setting)getStringToAddressContainmentMap()).set(newValue);
- return;
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
- ((EStructuralFeature.Setting)getStringToAddressReferenceMap()).set(newValue);
- return;
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
- ((EStructuralFeature.Setting)getEObjectToEObjectMap()).set(newValue);
- return;
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
- ((EStructuralFeature.Setting)getEObjectToEObjectKeyContainedMap()).set(newValue);
- return;
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
- ((EStructuralFeature.Setting)getEObjectToEObjectBothContainedMap()).set(newValue);
- return;
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
- ((EStructuralFeature.Setting)getEObjectToEObjectValueContainedMap()).set(newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
- getIntegerToStringMap().clear();
- return;
- case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
- getStringToStringMap().clear();
- return;
- case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
- getStringToVATMap().clear();
- return;
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
- getStringToAddressContainmentMap().clear();
- return;
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
- getStringToAddressReferenceMap().clear();
- return;
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
- getEObjectToEObjectMap().clear();
- return;
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
- getEObjectToEObjectKeyContainedMap().clear();
- return;
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
- getEObjectToEObjectBothContainedMap().clear();
- return;
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
- getEObjectToEObjectValueContainedMap().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
- return integerToStringMap != null && !integerToStringMap.isEmpty();
- case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
- return stringToStringMap != null && !stringToStringMap.isEmpty();
- case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
- return stringToVATMap != null && !stringToVATMap.isEmpty();
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
- return stringToAddressContainmentMap != null && !stringToAddressContainmentMap.isEmpty();
- case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
- return stringToAddressReferenceMap != null && !stringToAddressReferenceMap.isEmpty();
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
- return eObjectToEObjectMap != null && !eObjectToEObjectMap.isEmpty();
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
- return eObjectToEObjectKeyContainedMap != null && !eObjectToEObjectKeyContainedMap.isEmpty();
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
- return eObjectToEObjectBothContainedMap != null && !eObjectToEObjectBothContainedMap.isEmpty();
- case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
- return eObjectToEObjectValueContainedMap != null && !eObjectToEObjectValueContainedMap.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // MapHolderImpl
+/*
+ * 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
+ *
+ * $Id: MapHolderImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
+ */
+package org.eclipse.emf.cdo.tests.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model1.Address;
+import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model2.MapHolder;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Map Holder</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getIntegerToStringMap <em>Integer To String Map
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getStringToStringMap <em>String To String Map
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getStringToVATMap <em>String To VAT Map</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getStringToAddressContainmentMap <em>String To
+ * Address Containment Map</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getStringToAddressReferenceMap <em>String To
+ * Address Reference Map</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getEObjectToEObjectMap <em>EObject To EObject
+ * Map</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getEObjectToEObjectKeyContainedMap <em>EObject
+ * To EObject Key Contained Map</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getEObjectToEObjectBothContainedMap <em>EObject
+ * To EObject Both Contained Map</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.MapHolderImpl#getEObjectToEObjectValueContainedMap <em>
+ * EObject To EObject Value Contained Map</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class MapHolderImpl extends EObjectImpl implements MapHolder
+{
+ /**
+ * The cached value of the '{@link #getIntegerToStringMap() <em>Integer To String Map</em>}' map. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getIntegerToStringMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<Integer, String> integerToStringMap;
+
+ /**
+ * The cached value of the '{@link #getStringToStringMap() <em>String To String Map</em>}' map. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getStringToStringMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> stringToStringMap;
+
+ /**
+ * The cached value of the '{@link #getStringToVATMap() <em>String To VAT Map</em>}' map. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getStringToVATMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, VAT> stringToVATMap;
+
+ /**
+ * The cached value of the '{@link #getStringToAddressContainmentMap() <em>String To Address Containment Map</em>}'
+ * map. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getStringToAddressContainmentMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, Address> stringToAddressContainmentMap;
+
+ /**
+ * The cached value of the '{@link #getStringToAddressReferenceMap() <em>String To Address Reference Map</em>}' map.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getStringToAddressReferenceMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, Address> stringToAddressReferenceMap;
+
+ /**
+ * The cached value of the '{@link #getEObjectToEObjectMap() <em>EObject To EObject Map</em>}' map. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getEObjectToEObjectMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<EObject, EObject> eObjectToEObjectMap;
+
+ /**
+ * The cached value of the '{@link #getEObjectToEObjectKeyContainedMap()
+ * <em>EObject To EObject Key Contained Map</em>}' map. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getEObjectToEObjectKeyContainedMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<EObject, EObject> eObjectToEObjectKeyContainedMap;
+
+ /**
+ * The cached value of the '{@link #getEObjectToEObjectBothContainedMap()
+ * <em>EObject To EObject Both Contained Map</em>}' map. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getEObjectToEObjectBothContainedMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<EObject, EObject> eObjectToEObjectBothContainedMap;
+
+ /**
+ * The cached value of the '{@link #getEObjectToEObjectValueContainedMap()
+ * <em>EObject To EObject Value Contained Map</em>}' map. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getEObjectToEObjectValueContainedMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<EObject, EObject> eObjectToEObjectValueContainedMap;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected MapHolderImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.eINSTANCE.getMapHolder();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<Integer, String> getIntegerToStringMap()
+ {
+ if (integerToStringMap == null)
+ {
+ integerToStringMap = new EcoreEMap<Integer, String>(Model2Package.eINSTANCE.getIntegerToStringMap(),
+ IntegerToStringMapImpl.class, this, Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP);
+ }
+ return integerToStringMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<String, String> getStringToStringMap()
+ {
+ if (stringToStringMap == null)
+ {
+ stringToStringMap = new EcoreEMap<String, String>(Model2Package.eINSTANCE.getStringToStringMap(),
+ StringToStringMapImpl.class, this, Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP);
+ }
+ return stringToStringMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<String, VAT> getStringToVATMap()
+ {
+ if (stringToVATMap == null)
+ {
+ stringToVATMap = new EcoreEMap<String, VAT>(Model2Package.eINSTANCE.getStringToVATMap(),
+ StringToVATMapImpl.class, this, Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP);
+ }
+ return stringToVATMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<String, Address> getStringToAddressContainmentMap()
+ {
+ if (stringToAddressContainmentMap == null)
+ {
+ stringToAddressContainmentMap = new EcoreEMap<String, Address>(
+ Model2Package.eINSTANCE.getStringToAddressContainmentMap(), StringToAddressContainmentMapImpl.class, this,
+ Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP);
+ }
+ return stringToAddressContainmentMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<String, Address> getStringToAddressReferenceMap()
+ {
+ if (stringToAddressReferenceMap == null)
+ {
+ stringToAddressReferenceMap = new EcoreEMap<String, Address>(
+ Model2Package.eINSTANCE.getStringToAddressReferenceMap(), StringToAddressReferenceMapImpl.class, this,
+ Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP);
+ }
+ return stringToAddressReferenceMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<EObject, EObject> getEObjectToEObjectMap()
+ {
+ if (eObjectToEObjectMap == null)
+ {
+ eObjectToEObjectMap = new EcoreEMap<EObject, EObject>(Model2Package.eINSTANCE.getEObjectToEObjectMap(),
+ EObjectToEObjectMapImpl.class, this, Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP);
+ }
+ return eObjectToEObjectMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<EObject, EObject> getEObjectToEObjectKeyContainedMap()
+ {
+ if (eObjectToEObjectKeyContainedMap == null)
+ {
+ eObjectToEObjectKeyContainedMap = new EcoreEMap<EObject, EObject>(
+ Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap(), EObjectToEObjectKeyContainedMapImpl.class,
+ this, Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP);
+ }
+ return eObjectToEObjectKeyContainedMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<EObject, EObject> getEObjectToEObjectBothContainedMap()
+ {
+ if (eObjectToEObjectBothContainedMap == null)
+ {
+ eObjectToEObjectBothContainedMap = new EcoreEMap<EObject, EObject>(
+ Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap(), EObjectToEObjectBothContainedMapImpl.class,
+ this, Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP);
+ }
+ return eObjectToEObjectBothContainedMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EMap<EObject, EObject> getEObjectToEObjectValueContainedMap()
+ {
+ if (eObjectToEObjectValueContainedMap == null)
+ {
+ eObjectToEObjectValueContainedMap = new EcoreEMap<EObject, EObject>(
+ Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap(), EObjectToEObjectValueContainedMapImpl.class,
+ this, Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP);
+ }
+ return eObjectToEObjectValueContainedMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
+ return ((InternalEList<?>)getIntegerToStringMap()).basicRemove(otherEnd, msgs);
+ case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
+ return ((InternalEList<?>)getStringToStringMap()).basicRemove(otherEnd, msgs);
+ case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
+ return ((InternalEList<?>)getStringToVATMap()).basicRemove(otherEnd, msgs);
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
+ return ((InternalEList<?>)getStringToAddressContainmentMap()).basicRemove(otherEnd, msgs);
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
+ return ((InternalEList<?>)getStringToAddressReferenceMap()).basicRemove(otherEnd, msgs);
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
+ return ((InternalEList<?>)getEObjectToEObjectMap()).basicRemove(otherEnd, msgs);
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
+ return ((InternalEList<?>)getEObjectToEObjectKeyContainedMap()).basicRemove(otherEnd, msgs);
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
+ return ((InternalEList<?>)getEObjectToEObjectBothContainedMap()).basicRemove(otherEnd, msgs);
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
+ return ((InternalEList<?>)getEObjectToEObjectValueContainedMap()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
+ if (coreType)
+ return getIntegerToStringMap();
+ else
+ return getIntegerToStringMap().map();
+ case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
+ if (coreType)
+ return getStringToStringMap();
+ else
+ return getStringToStringMap().map();
+ case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
+ if (coreType)
+ return getStringToVATMap();
+ else
+ return getStringToVATMap().map();
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
+ if (coreType)
+ return getStringToAddressContainmentMap();
+ else
+ return getStringToAddressContainmentMap().map();
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
+ if (coreType)
+ return getStringToAddressReferenceMap();
+ else
+ return getStringToAddressReferenceMap().map();
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
+ if (coreType)
+ return getEObjectToEObjectMap();
+ else
+ return getEObjectToEObjectMap().map();
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
+ if (coreType)
+ return getEObjectToEObjectKeyContainedMap();
+ else
+ return getEObjectToEObjectKeyContainedMap().map();
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
+ if (coreType)
+ return getEObjectToEObjectBothContainedMap();
+ else
+ return getEObjectToEObjectBothContainedMap().map();
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
+ if (coreType)
+ return getEObjectToEObjectValueContainedMap();
+ else
+ return getEObjectToEObjectValueContainedMap().map();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
+ ((EStructuralFeature.Setting)getIntegerToStringMap()).set(newValue);
+ return;
+ case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
+ ((EStructuralFeature.Setting)getStringToStringMap()).set(newValue);
+ return;
+ case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
+ ((EStructuralFeature.Setting)getStringToVATMap()).set(newValue);
+ return;
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
+ ((EStructuralFeature.Setting)getStringToAddressContainmentMap()).set(newValue);
+ return;
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
+ ((EStructuralFeature.Setting)getStringToAddressReferenceMap()).set(newValue);
+ return;
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
+ ((EStructuralFeature.Setting)getEObjectToEObjectMap()).set(newValue);
+ return;
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
+ ((EStructuralFeature.Setting)getEObjectToEObjectKeyContainedMap()).set(newValue);
+ return;
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
+ ((EStructuralFeature.Setting)getEObjectToEObjectBothContainedMap()).set(newValue);
+ return;
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
+ ((EStructuralFeature.Setting)getEObjectToEObjectValueContainedMap()).set(newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
+ getIntegerToStringMap().clear();
+ return;
+ case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
+ getStringToStringMap().clear();
+ return;
+ case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
+ getStringToVATMap().clear();
+ return;
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
+ getStringToAddressContainmentMap().clear();
+ return;
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
+ getStringToAddressReferenceMap().clear();
+ return;
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
+ getEObjectToEObjectMap().clear();
+ return;
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
+ getEObjectToEObjectKeyContainedMap().clear();
+ return;
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
+ getEObjectToEObjectBothContainedMap().clear();
+ return;
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
+ getEObjectToEObjectValueContainedMap().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.MAP_HOLDER__INTEGER_TO_STRING_MAP:
+ return integerToStringMap != null && !integerToStringMap.isEmpty();
+ case Model2Package.MAP_HOLDER__STRING_TO_STRING_MAP:
+ return stringToStringMap != null && !stringToStringMap.isEmpty();
+ case Model2Package.MAP_HOLDER__STRING_TO_VAT_MAP:
+ return stringToVATMap != null && !stringToVATMap.isEmpty();
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP:
+ return stringToAddressContainmentMap != null && !stringToAddressContainmentMap.isEmpty();
+ case Model2Package.MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP:
+ return stringToAddressReferenceMap != null && !stringToAddressReferenceMap.isEmpty();
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP:
+ return eObjectToEObjectMap != null && !eObjectToEObjectMap.isEmpty();
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
+ return eObjectToEObjectKeyContainedMap != null && !eObjectToEObjectKeyContainedMap.isEmpty();
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
+ return eObjectToEObjectBothContainedMap != null && !eObjectToEObjectBothContainedMap.isEmpty();
+ case Model2Package.MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
+ return eObjectToEObjectValueContainedMap != null && !eObjectToEObjectValueContainedMap.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} // MapHolderImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2FactoryImpl.java
index 4dedd21c24..9e252411ef 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2FactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2FactoryImpl.java
@@ -1,374 +1,374 @@
-/*
- * 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.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory;
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
-import org.eclipse.emf.cdo.tests.model2.MapHolder;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
-import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
-import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
-import org.eclipse.emf.cdo.tests.model2.Task;
-import org.eclipse.emf.cdo.tests.model2.TaskContainer;
-import org.eclipse.emf.cdo.tests.model2.TransientContainer;
-import org.eclipse.emf.cdo.tests.model2.Unsettable1;
-import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import java.util.Map;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
- *
- * @generated
- */
-public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
-{
- /**
- * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated NOT
- */
- public static Model2Factory init()
- {
- try
- {
- Model2Factory theModel2Factory = (Model2Factory)EPackage.Registry.INSTANCE
- .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model2/1.0.0");
- if (theModel2Factory != null)
- {
- return theModel2Factory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new Model2FactoryImpl();
- }
-
- /**
- * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Model2FactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case Model2Package.SPECIAL_PURCHASE_ORDER:
- return createSpecialPurchaseOrder();
- case Model2Package.TASK_CONTAINER:
- return createTaskContainer();
- case Model2Package.TASK:
- return createTask();
- case Model2Package.UNSETTABLE1:
- return createUnsettable1();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT:
- return createUnsettable2WithDefault();
- case Model2Package.PERSISTENT_CONTAINMENT:
- return createPersistentContainment();
- case Model2Package.TRANSIENT_CONTAINER:
- return createTransientContainer();
- case Model2Package.NOT_UNSETTABLE:
- return createNotUnsettable();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT:
- return createNotUnsettableWithDefault();
- case Model2Package.MAP_HOLDER:
- return createMapHolder();
- case Model2Package.STRING_TO_STRING_MAP:
- return (EObject)createStringToStringMap();
- case Model2Package.INTEGER_TO_STRING_MAP:
- return (EObject)createIntegerToStringMap();
- case Model2Package.STRING_TO_VAT_MAP:
- return (EObject)createStringToVATMap();
- case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP:
- return (EObject)createStringToAddressContainmentMap();
- case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP:
- return (EObject)createStringToAddressReferenceMap();
- case Model2Package.EOBJECT_TO_EOBJECT_MAP:
- return (EObject)createEObjectToEObjectMap();
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
- return (EObject)createEObjectToEObjectKeyContainedMap();
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
- return (EObject)createEObjectToEObjectBothContainedMap();
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
- return (EObject)createEObjectToEObjectValueContainedMap();
- case Model2Package.ENUM_LIST_HOLDER:
- return createEnumListHolder();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public SpecialPurchaseOrder createSpecialPurchaseOrder()
- {
- SpecialPurchaseOrderImpl specialPurchaseOrder = new SpecialPurchaseOrderImpl();
- return specialPurchaseOrder;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public TaskContainer createTaskContainer()
- {
- TaskContainerImpl taskContainer = new TaskContainerImpl();
- return taskContainer;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Task createTask()
- {
- TaskImpl task = new TaskImpl();
- return task;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Unsettable1 createUnsettable1()
- {
- Unsettable1Impl unsettable1 = new Unsettable1Impl();
- return unsettable1;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Unsettable2WithDefault createUnsettable2WithDefault()
- {
- Unsettable2WithDefaultImpl unsettable2WithDefault = new Unsettable2WithDefaultImpl();
- return unsettable2WithDefault;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public PersistentContainment createPersistentContainment()
- {
- PersistentContainmentImpl persistentContainment = new PersistentContainmentImpl();
- return persistentContainment;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public TransientContainer createTransientContainer()
- {
- TransientContainerImpl transientContainer = new TransientContainerImpl();
- return transientContainer;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotUnsettable createNotUnsettable()
- {
- NotUnsettableImpl notUnsettable = new NotUnsettableImpl();
- return notUnsettable;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotUnsettableWithDefault createNotUnsettableWithDefault()
- {
- NotUnsettableWithDefaultImpl notUnsettableWithDefault = new NotUnsettableWithDefaultImpl();
- return notUnsettableWithDefault;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public MapHolder createMapHolder()
- {
- MapHolderImpl mapHolder = new MapHolderImpl();
- return mapHolder;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<String, String> createStringToStringMap()
- {
- StringToStringMapImpl stringToStringMap = new StringToStringMapImpl();
- return stringToStringMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<Integer, String> createIntegerToStringMap()
- {
- IntegerToStringMapImpl integerToStringMap = new IntegerToStringMapImpl();
- return integerToStringMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<String, VAT> createStringToVATMap()
- {
- StringToVATMapImpl stringToVATMap = new StringToVATMapImpl();
- return stringToVATMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<String, Address> createStringToAddressContainmentMap()
- {
- StringToAddressContainmentMapImpl stringToAddressContainmentMap = new StringToAddressContainmentMapImpl();
- return stringToAddressContainmentMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<String, Address> createStringToAddressReferenceMap()
- {
- StringToAddressReferenceMapImpl stringToAddressReferenceMap = new StringToAddressReferenceMapImpl();
- return stringToAddressReferenceMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<EObject, EObject> createEObjectToEObjectMap()
- {
- EObjectToEObjectMapImpl eObjectToEObjectMap = new EObjectToEObjectMapImpl();
- return eObjectToEObjectMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<EObject, EObject> createEObjectToEObjectKeyContainedMap()
- {
- EObjectToEObjectKeyContainedMapImpl eObjectToEObjectKeyContainedMap = new EObjectToEObjectKeyContainedMapImpl();
- return eObjectToEObjectKeyContainedMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<EObject, EObject> createEObjectToEObjectBothContainedMap()
- {
- EObjectToEObjectBothContainedMapImpl eObjectToEObjectBothContainedMap = new EObjectToEObjectBothContainedMapImpl();
- return eObjectToEObjectBothContainedMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Map.Entry<EObject, EObject> createEObjectToEObjectValueContainedMap()
- {
- EObjectToEObjectValueContainedMapImpl eObjectToEObjectValueContainedMap = new EObjectToEObjectValueContainedMapImpl();
- return eObjectToEObjectValueContainedMap;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EnumListHolder createEnumListHolder()
- {
- EnumListHolderImpl enumListHolder = new EnumListHolderImpl();
- return enumListHolder;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Model2Package getModel2Package()
- {
- return (Model2Package)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static Model2Package getPackage()
- {
- return Model2Package.eINSTANCE;
- }
-
-} // Model2FactoryImpl
+/*
+ * 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.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory;
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model1.Address;
+import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
+import org.eclipse.emf.cdo.tests.model2.MapHolder;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
+import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
+import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
+import org.eclipse.emf.cdo.tests.model2.Task;
+import org.eclipse.emf.cdo.tests.model2.TaskContainer;
+import org.eclipse.emf.cdo.tests.model2.TransientContainer;
+import org.eclipse.emf.cdo.tests.model2.Unsettable1;
+import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import java.util.Map;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
+{
+ /**
+ * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated NOT
+ */
+ public static Model2Factory init()
+ {
+ try
+ {
+ Model2Factory theModel2Factory = (Model2Factory)EPackage.Registry.INSTANCE
+ .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model2/1.0.0");
+ if (theModel2Factory != null)
+ {
+ return theModel2Factory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new Model2FactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Model2FactoryImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ case Model2Package.SPECIAL_PURCHASE_ORDER:
+ return createSpecialPurchaseOrder();
+ case Model2Package.TASK_CONTAINER:
+ return createTaskContainer();
+ case Model2Package.TASK:
+ return createTask();
+ case Model2Package.UNSETTABLE1:
+ return createUnsettable1();
+ case Model2Package.UNSETTABLE2_WITH_DEFAULT:
+ return createUnsettable2WithDefault();
+ case Model2Package.PERSISTENT_CONTAINMENT:
+ return createPersistentContainment();
+ case Model2Package.TRANSIENT_CONTAINER:
+ return createTransientContainer();
+ case Model2Package.NOT_UNSETTABLE:
+ return createNotUnsettable();
+ case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT:
+ return createNotUnsettableWithDefault();
+ case Model2Package.MAP_HOLDER:
+ return createMapHolder();
+ case Model2Package.STRING_TO_STRING_MAP:
+ return (EObject)createStringToStringMap();
+ case Model2Package.INTEGER_TO_STRING_MAP:
+ return (EObject)createIntegerToStringMap();
+ case Model2Package.STRING_TO_VAT_MAP:
+ return (EObject)createStringToVATMap();
+ case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP:
+ return (EObject)createStringToAddressContainmentMap();
+ case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP:
+ return (EObject)createStringToAddressReferenceMap();
+ case Model2Package.EOBJECT_TO_EOBJECT_MAP:
+ return (EObject)createEObjectToEObjectMap();
+ case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
+ return (EObject)createEObjectToEObjectKeyContainedMap();
+ case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
+ return (EObject)createEObjectToEObjectBothContainedMap();
+ case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
+ return (EObject)createEObjectToEObjectValueContainedMap();
+ case Model2Package.ENUM_LIST_HOLDER:
+ return createEnumListHolder();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public SpecialPurchaseOrder createSpecialPurchaseOrder()
+ {
+ SpecialPurchaseOrderImpl specialPurchaseOrder = new SpecialPurchaseOrderImpl();
+ return specialPurchaseOrder;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public TaskContainer createTaskContainer()
+ {
+ TaskContainerImpl taskContainer = new TaskContainerImpl();
+ return taskContainer;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Task createTask()
+ {
+ TaskImpl task = new TaskImpl();
+ return task;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Unsettable1 createUnsettable1()
+ {
+ Unsettable1Impl unsettable1 = new Unsettable1Impl();
+ return unsettable1;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Unsettable2WithDefault createUnsettable2WithDefault()
+ {
+ Unsettable2WithDefaultImpl unsettable2WithDefault = new Unsettable2WithDefaultImpl();
+ return unsettable2WithDefault;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public PersistentContainment createPersistentContainment()
+ {
+ PersistentContainmentImpl persistentContainment = new PersistentContainmentImpl();
+ return persistentContainment;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public TransientContainer createTransientContainer()
+ {
+ TransientContainerImpl transientContainer = new TransientContainerImpl();
+ return transientContainer;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotUnsettable createNotUnsettable()
+ {
+ NotUnsettableImpl notUnsettable = new NotUnsettableImpl();
+ return notUnsettable;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotUnsettableWithDefault createNotUnsettableWithDefault()
+ {
+ NotUnsettableWithDefaultImpl notUnsettableWithDefault = new NotUnsettableWithDefaultImpl();
+ return notUnsettableWithDefault;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public MapHolder createMapHolder()
+ {
+ MapHolderImpl mapHolder = new MapHolderImpl();
+ return mapHolder;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<String, String> createStringToStringMap()
+ {
+ StringToStringMapImpl stringToStringMap = new StringToStringMapImpl();
+ return stringToStringMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<Integer, String> createIntegerToStringMap()
+ {
+ IntegerToStringMapImpl integerToStringMap = new IntegerToStringMapImpl();
+ return integerToStringMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<String, VAT> createStringToVATMap()
+ {
+ StringToVATMapImpl stringToVATMap = new StringToVATMapImpl();
+ return stringToVATMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<String, Address> createStringToAddressContainmentMap()
+ {
+ StringToAddressContainmentMapImpl stringToAddressContainmentMap = new StringToAddressContainmentMapImpl();
+ return stringToAddressContainmentMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<String, Address> createStringToAddressReferenceMap()
+ {
+ StringToAddressReferenceMapImpl stringToAddressReferenceMap = new StringToAddressReferenceMapImpl();
+ return stringToAddressReferenceMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<EObject, EObject> createEObjectToEObjectMap()
+ {
+ EObjectToEObjectMapImpl eObjectToEObjectMap = new EObjectToEObjectMapImpl();
+ return eObjectToEObjectMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<EObject, EObject> createEObjectToEObjectKeyContainedMap()
+ {
+ EObjectToEObjectKeyContainedMapImpl eObjectToEObjectKeyContainedMap = new EObjectToEObjectKeyContainedMapImpl();
+ return eObjectToEObjectKeyContainedMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<EObject, EObject> createEObjectToEObjectBothContainedMap()
+ {
+ EObjectToEObjectBothContainedMapImpl eObjectToEObjectBothContainedMap = new EObjectToEObjectBothContainedMapImpl();
+ return eObjectToEObjectBothContainedMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Map.Entry<EObject, EObject> createEObjectToEObjectValueContainedMap()
+ {
+ EObjectToEObjectValueContainedMapImpl eObjectToEObjectValueContainedMap = new EObjectToEObjectValueContainedMapImpl();
+ return eObjectToEObjectValueContainedMap;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EnumListHolder createEnumListHolder()
+ {
+ EnumListHolderImpl enumListHolder = new EnumListHolderImpl();
+ return enumListHolder;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Model2Package getModel2Package()
+ {
+ return (Model2Package)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static Model2Package getPackage()
+ {
+ return Model2Package.eINSTANCE;
+ }
+
+} // Model2FactoryImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2PackageImpl.java
index 67efeb9c77..7d20f15671 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2PackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2PackageImpl.java
@@ -1,1785 +1,1785 @@
-/*
- * 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.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory;
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
-import org.eclipse.emf.cdo.tests.model2.MapHolder;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
-import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
-import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
-import org.eclipse.emf.cdo.tests.model2.Task;
-import org.eclipse.emf.cdo.tests.model2.TaskContainer;
-import org.eclipse.emf.cdo.tests.model2.TransientContainer;
-import org.eclipse.emf.cdo.tests.model2.Unsettable1;
-import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import java.util.Map;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
- *
- * @generated
- */
-public class Model2PackageImpl extends EPackageImpl implements Model2Package
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass specialPurchaseOrderEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass taskContainerEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass taskEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass unsettable1EClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass unsettable2WithDefaultEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass persistentContainmentEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass transientContainerEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass notUnsettableEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass notUnsettableWithDefaultEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass mapHolderEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass stringToStringMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass integerToStringMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass stringToVATMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass stringToAddressContainmentMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass stringToAddressReferenceMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eObjectToEObjectMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eObjectToEObjectKeyContainedMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eObjectToEObjectBothContainedMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass eObjectToEObjectValueContainedMapEClass = null;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass enumListHolderEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
- * EPackage.Registry} by the package package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also
- * performs initialization of the package, or returns the registered package, if one already exists. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Package#eNS_URI
- * @see #init()
- * @generated
- */
- private Model2PackageImpl()
- {
- super(eNS_URI, Model2Factory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- * <p>
- * This method is used to initialize {@link Model2Package#eINSTANCE} when that field is accessed. Clients should not
- * invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static Model2Package init()
- {
- if (isInited)
- return (Model2Package)EPackage.Registry.INSTANCE.getEPackage(Model2Package.eNS_URI);
-
- // Obtain or create and register package
- Model2PackageImpl theModel2Package = (Model2PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Model2PackageImpl ? EPackage.Registry.INSTANCE
- .get(eNS_URI) : new Model2PackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- Model1Package.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theModel2Package.createPackageContents();
-
- // Initialize created meta-data
- theModel2Package.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theModel2Package.freeze();
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(Model2Package.eNS_URI, theModel2Package);
- return theModel2Package;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getSpecialPurchaseOrder()
- {
- return specialPurchaseOrderEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getSpecialPurchaseOrder_DiscountCode()
- {
- return (EAttribute)specialPurchaseOrderEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getSpecialPurchaseOrder_ShippingAddress()
- {
- return (EReference)specialPurchaseOrderEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getTaskContainer()
- {
- return taskContainerEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getTaskContainer_Tasks()
- {
- return (EReference)taskContainerEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getTask()
- {
- return taskEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getTask_TaskContainer()
- {
- return (EReference)taskEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getTask_Description()
- {
- return (EAttribute)taskEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getTask_Done()
- {
- return (EAttribute)taskEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getUnsettable1()
- {
- return unsettable1EClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableBoolean()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableByte()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableChar()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableDate()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableDouble()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableFloat()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableInt()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableLong()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableShort()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableString()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable1_UnsettableVAT()
- {
- return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(10);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getUnsettable2WithDefault()
- {
- return unsettable2WithDefaultEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableBoolean()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableByte()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableChar()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableDate()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableDouble()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableFloat()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableInt()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableLong()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableShort()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableString()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getUnsettable2WithDefault_UnsettableVAT()
- {
- return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getPersistentContainment()
- {
- return persistentContainmentEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getPersistentContainment_AttrBefore()
- {
- return (EAttribute)persistentContainmentEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getPersistentContainment_Children()
- {
- return (EReference)persistentContainmentEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getPersistentContainment_AttrAfter()
- {
- return (EAttribute)persistentContainmentEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getTransientContainer()
- {
- return transientContainerEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getTransientContainer_AttrBefore()
- {
- return (EAttribute)transientContainerEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getTransientContainer_Parent()
- {
- return (EReference)transientContainerEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getTransientContainer_AttrAfter()
- {
- return (EAttribute)transientContainerEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getNotUnsettable()
- {
- return notUnsettableEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableBoolean()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableByte()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableChar()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableDate()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableDouble()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableFloat()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableInt()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableLong()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableShort()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableString()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettable_NotUnsettableVAT()
- {
- return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getNotUnsettableWithDefault()
- {
- return notUnsettableWithDefaultEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableBoolean()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableByte()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableChar()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableDate()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableDouble()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableFloat()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableInt()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableLong()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableShort()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableString()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNotUnsettableWithDefault_NotUnsettableVAT()
- {
- return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getMapHolder()
- {
- return mapHolderEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_IntegerToStringMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_StringToStringMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_StringToVATMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_StringToAddressContainmentMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_StringToAddressReferenceMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_EObjectToEObjectMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_EObjectToEObjectKeyContainedMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_EObjectToEObjectBothContainedMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMapHolder_EObjectToEObjectValueContainedMap()
- {
- return (EReference)mapHolderEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getStringToStringMap()
- {
- return stringToStringMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getStringToStringMap_Key()
- {
- return (EAttribute)stringToStringMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getStringToStringMap_Value()
- {
- return (EAttribute)stringToStringMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getIntegerToStringMap()
- {
- return integerToStringMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getIntegerToStringMap_Key()
- {
- return (EAttribute)integerToStringMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getIntegerToStringMap_Value()
- {
- return (EAttribute)integerToStringMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getStringToVATMap()
- {
- return stringToVATMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getStringToVATMap_Key()
- {
- return (EAttribute)stringToVATMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getStringToVATMap_Value()
- {
- return (EAttribute)stringToVATMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getStringToAddressContainmentMap()
- {
- return stringToAddressContainmentMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getStringToAddressContainmentMap_Key()
- {
- return (EAttribute)stringToAddressContainmentMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getStringToAddressContainmentMap_Value()
- {
- return (EReference)stringToAddressContainmentMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getStringToAddressReferenceMap()
- {
- return stringToAddressReferenceMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getStringToAddressReferenceMap_Key()
- {
- return (EAttribute)stringToAddressReferenceMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getStringToAddressReferenceMap_Value()
- {
- return (EReference)stringToAddressReferenceMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getEObjectToEObjectMap()
- {
- return eObjectToEObjectMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getEObjectToEObjectMap_Key()
- {
- return (EReference)eObjectToEObjectMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getEObjectToEObjectMap_Value()
- {
- return (EReference)eObjectToEObjectMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getEObjectToEObjectKeyContainedMap()
- {
- return eObjectToEObjectKeyContainedMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getEObjectToEObjectKeyContainedMap_Key()
- {
- return (EReference)eObjectToEObjectKeyContainedMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getEObjectToEObjectKeyContainedMap_Value()
- {
- return (EReference)eObjectToEObjectKeyContainedMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getEObjectToEObjectBothContainedMap()
- {
- return eObjectToEObjectBothContainedMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getEObjectToEObjectBothContainedMap_Key()
- {
- return (EReference)eObjectToEObjectBothContainedMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getEObjectToEObjectBothContainedMap_Value()
- {
- return (EReference)eObjectToEObjectBothContainedMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getEObjectToEObjectValueContainedMap()
- {
- return eObjectToEObjectValueContainedMapEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getEObjectToEObjectValueContainedMap_Key()
- {
- return (EReference)eObjectToEObjectValueContainedMapEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getEObjectToEObjectValueContainedMap_Value()
- {
- return (EReference)eObjectToEObjectValueContainedMapEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getEnumListHolder()
- {
- return enumListHolderEClass;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getEnumListHolder_EnumList()
- {
- return (EAttribute)enumListHolderEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Model2Factory getModel2Factory()
- {
- return (Model2Factory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
- * first. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated)
- return;
- isCreated = true;
-
- // Create classes and their features
- specialPurchaseOrderEClass = createEClass(SPECIAL_PURCHASE_ORDER);
- createEAttribute(specialPurchaseOrderEClass, SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE);
- createEReference(specialPurchaseOrderEClass, SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS);
-
- taskContainerEClass = createEClass(TASK_CONTAINER);
- createEReference(taskContainerEClass, TASK_CONTAINER__TASKS);
-
- taskEClass = createEClass(TASK);
- createEReference(taskEClass, TASK__TASK_CONTAINER);
- createEAttribute(taskEClass, TASK__DESCRIPTION);
- createEAttribute(taskEClass, TASK__DONE);
-
- unsettable1EClass = createEClass(UNSETTABLE1);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_BOOLEAN);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_BYTE);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_CHAR);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_DATE);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_DOUBLE);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_FLOAT);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_INT);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_LONG);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_SHORT);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_STRING);
- createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_VAT);
-
- unsettable2WithDefaultEClass = createEClass(UNSETTABLE2_WITH_DEFAULT);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING);
- createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT);
-
- persistentContainmentEClass = createEClass(PERSISTENT_CONTAINMENT);
- createEAttribute(persistentContainmentEClass, PERSISTENT_CONTAINMENT__ATTR_BEFORE);
- createEReference(persistentContainmentEClass, PERSISTENT_CONTAINMENT__CHILDREN);
- createEAttribute(persistentContainmentEClass, PERSISTENT_CONTAINMENT__ATTR_AFTER);
-
- transientContainerEClass = createEClass(TRANSIENT_CONTAINER);
- createEAttribute(transientContainerEClass, TRANSIENT_CONTAINER__ATTR_BEFORE);
- createEReference(transientContainerEClass, TRANSIENT_CONTAINER__PARENT);
- createEAttribute(transientContainerEClass, TRANSIENT_CONTAINER__ATTR_AFTER);
-
- notUnsettableEClass = createEClass(NOT_UNSETTABLE);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_DATE);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_INT);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_LONG);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_STRING);
- createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_VAT);
-
- notUnsettableWithDefaultEClass = createEClass(NOT_UNSETTABLE_WITH_DEFAULT);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING);
- createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT);
-
- mapHolderEClass = createEClass(MAP_HOLDER);
- createEReference(mapHolderEClass, MAP_HOLDER__INTEGER_TO_STRING_MAP);
- createEReference(mapHolderEClass, MAP_HOLDER__STRING_TO_STRING_MAP);
- createEReference(mapHolderEClass, MAP_HOLDER__STRING_TO_VAT_MAP);
- createEReference(mapHolderEClass, MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP);
- createEReference(mapHolderEClass, MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP);
- createEReference(mapHolderEClass, MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP);
- createEReference(mapHolderEClass, MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP);
- createEReference(mapHolderEClass, MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP);
- createEReference(mapHolderEClass, MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP);
-
- stringToStringMapEClass = createEClass(STRING_TO_STRING_MAP);
- createEAttribute(stringToStringMapEClass, STRING_TO_STRING_MAP__KEY);
- createEAttribute(stringToStringMapEClass, STRING_TO_STRING_MAP__VALUE);
-
- integerToStringMapEClass = createEClass(INTEGER_TO_STRING_MAP);
- createEAttribute(integerToStringMapEClass, INTEGER_TO_STRING_MAP__KEY);
- createEAttribute(integerToStringMapEClass, INTEGER_TO_STRING_MAP__VALUE);
-
- stringToVATMapEClass = createEClass(STRING_TO_VAT_MAP);
- createEAttribute(stringToVATMapEClass, STRING_TO_VAT_MAP__KEY);
- createEAttribute(stringToVATMapEClass, STRING_TO_VAT_MAP__VALUE);
-
- stringToAddressContainmentMapEClass = createEClass(STRING_TO_ADDRESS_CONTAINMENT_MAP);
- createEAttribute(stringToAddressContainmentMapEClass, STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY);
- createEReference(stringToAddressContainmentMapEClass, STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE);
-
- stringToAddressReferenceMapEClass = createEClass(STRING_TO_ADDRESS_REFERENCE_MAP);
- createEAttribute(stringToAddressReferenceMapEClass, STRING_TO_ADDRESS_REFERENCE_MAP__KEY);
- createEReference(stringToAddressReferenceMapEClass, STRING_TO_ADDRESS_REFERENCE_MAP__VALUE);
-
- eObjectToEObjectMapEClass = createEClass(EOBJECT_TO_EOBJECT_MAP);
- createEReference(eObjectToEObjectMapEClass, EOBJECT_TO_EOBJECT_MAP__KEY);
- createEReference(eObjectToEObjectMapEClass, EOBJECT_TO_EOBJECT_MAP__VALUE);
-
- eObjectToEObjectKeyContainedMapEClass = createEClass(EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP);
- createEReference(eObjectToEObjectKeyContainedMapEClass, EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY);
- createEReference(eObjectToEObjectKeyContainedMapEClass, EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE);
-
- eObjectToEObjectBothContainedMapEClass = createEClass(EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP);
- createEReference(eObjectToEObjectBothContainedMapEClass, EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY);
- createEReference(eObjectToEObjectBothContainedMapEClass, EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE);
-
- eObjectToEObjectValueContainedMapEClass = createEClass(EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP);
- createEReference(eObjectToEObjectValueContainedMapEClass, EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY);
- createEReference(eObjectToEObjectValueContainedMapEClass, EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE);
-
- enumListHolderEClass = createEClass(ENUM_LIST_HOLDER);
- createEAttribute(enumListHolderEClass, ENUM_LIST_HOLDER__ENUM_LIST);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
- * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized)
- return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- Model1Package theModel1Package = (Model1Package)EPackage.Registry.INSTANCE.getEPackage(Model1Package.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- specialPurchaseOrderEClass.getESuperTypes().add(theModel1Package.getPurchaseOrder());
-
- // Initialize classes and features; add operations and parameters
- initEClass(specialPurchaseOrderEClass, SpecialPurchaseOrder.class, "SpecialPurchaseOrder", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSpecialPurchaseOrder_DiscountCode(), ecorePackage.getEString(), "discountCode", null, 0, 1,
- SpecialPurchaseOrder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getSpecialPurchaseOrder_ShippingAddress(), theModel1Package.getAddress(), null, "shippingAddress",
- null, 0, 1, SpecialPurchaseOrder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
- !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(taskContainerEClass, TaskContainer.class, "TaskContainer", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTaskContainer_Tasks(), this.getTask(), this.getTask_TaskContainer(), "tasks", null, 0, -1,
- TaskContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(taskEClass, Task.class, "Task", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTask_TaskContainer(), this.getTaskContainer(), this.getTaskContainer_Tasks(), "taskContainer",
- null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTask_Description(), ecorePackage.getEString(), "description", null, 0, 1, Task.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getTask_Done(), ecorePackage.getEBoolean(), "done", null, 0, 1, Task.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(unsettable1EClass, Unsettable1.class, "Unsettable1", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUnsettable1_UnsettableBoolean(), ecorePackage.getEBoolean(), "unsettableBoolean", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableByte(), ecorePackage.getEByte(), "unsettableByte", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableChar(), ecorePackage.getEChar(), "unsettableChar", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableDate(), ecorePackage.getEDate(), "unsettableDate", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableDouble(), ecorePackage.getEDouble(), "unsettableDouble", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableFloat(), ecorePackage.getEFloat(), "unsettableFloat", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableInt(), ecorePackage.getEInt(), "unsettableInt", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableLong(), ecorePackage.getELong(), "unsettableLong", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableShort(), ecorePackage.getEShort(), "unsettableShort", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableString(), ecorePackage.getEString(), "unsettableString", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getUnsettable1_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", null, 0, 1,
- Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
-
- initEClass(unsettable2WithDefaultEClass, Unsettable2WithDefault.class, "Unsettable2WithDefault", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUnsettable2WithDefault_UnsettableBoolean(), ecorePackage.getEBoolean(), "unsettableBoolean",
- "true", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableByte(), ecorePackage.getEByte(), "unsettableByte", "3", 0, 1,
- Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableChar(), ecorePackage.getEChar(), "unsettableChar", "\'x\'", 0,
- 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableDate(), ecorePackage.getEDate(), "unsettableDate",
- "2009-12-21T15:12:59", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableDouble(), ecorePackage.getEDouble(), "unsettableDouble", "3.3",
- 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableFloat(), ecorePackage.getEFloat(), "unsettableFloat", "4.4", 0,
- 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableInt(), ecorePackage.getEInt(), "unsettableInt", "5", 0, 1,
- Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableLong(), ecorePackage.getELong(), "unsettableLong", "6", 0, 1,
- Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableShort(), ecorePackage.getEShort(), "unsettableShort", "7", 0, 1,
- Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableString(), ecorePackage.getEString(), "unsettableString",
- "\"eike\"", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", "vat15", 0,
- 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(persistentContainmentEClass, PersistentContainment.class, "PersistentContainment", !IS_ABSTRACT,
- !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPersistentContainment_AttrBefore(), ecorePackage.getEString(), "attrBefore", null, 0, 1,
- PersistentContainment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getPersistentContainment_Children(), this.getTransientContainer(),
- this.getTransientContainer_Parent(), "children", null, 0, -1, PersistentContainment.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- !IS_ORDERED);
- initEAttribute(getPersistentContainment_AttrAfter(), ecorePackage.getEString(), "attrAfter", null, 0, 1,
- PersistentContainment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(transientContainerEClass, TransientContainer.class, "TransientContainer", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getTransientContainer_AttrBefore(), ecorePackage.getEString(), "attrBefore", null, 0, 1,
- TransientContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getTransientContainer_Parent(), this.getPersistentContainment(),
- this.getPersistentContainment_Children(), "parent", null, 0, 1, TransientContainer.class, IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getTransientContainer_AttrAfter(), ecorePackage.getEString(), "attrAfter", null, 0, 1,
- TransientContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(notUnsettableEClass, NotUnsettable.class, "NotUnsettable", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNotUnsettable_NotUnsettableBoolean(), ecorePackage.getEBoolean(), "notUnsettableBoolean", null,
- 0, 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableByte(), ecorePackage.getEByte(), "notUnsettableByte", null, 0, 1,
- NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableChar(), ecorePackage.getEChar(), "notUnsettableChar", null, 0, 1,
- NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableDate(), ecorePackage.getEDate(), "notUnsettableDate", null, 0, 1,
- NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableDouble(), ecorePackage.getEDouble(), "notUnsettableDouble", null, 0,
- 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableFloat(), ecorePackage.getEFloat(), "notUnsettableFloat", null, 0, 1,
- NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableInt(), ecorePackage.getEInt(), "notUnsettableInt", null, 0, 1,
- NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableLong(), ecorePackage.getELong(), "notUnsettableLong", null, 0, 1,
- NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableShort(), ecorePackage.getEShort(), "notUnsettableShort", null, 0, 1,
- NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableString(), ecorePackage.getEString(), "notUnsettableString", null, 0,
- 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettable_NotUnsettableVAT(), theModel1Package.getVAT(), "notUnsettableVAT", null, 0, 1,
- NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(notUnsettableWithDefaultEClass, NotUnsettableWithDefault.class, "NotUnsettableWithDefault",
- !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableBoolean(), ecorePackage.getEBoolean(),
- "notUnsettableBoolean", "true", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableByte(), ecorePackage.getEByte(), "notUnsettableByte", "3",
- 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableChar(), ecorePackage.getEChar(), "notUnsettableChar",
- "\'x\'", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableDate(), ecorePackage.getEDate(), "notUnsettableDate",
- "1979-03-15T07:12:59", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableDouble(), ecorePackage.getEDouble(), "notUnsettableDouble",
- "3.3", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableFloat(), ecorePackage.getEFloat(), "notUnsettableFloat",
- "4.4", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableInt(), ecorePackage.getEInt(), "notUnsettableInt", "5", 0,
- 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableLong(), ecorePackage.getELong(), "notUnsettableLong", "6",
- 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableShort(), ecorePackage.getEShort(), "notUnsettableShort",
- "7", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableString(), ecorePackage.getEString(), "notUnsettableString",
- "\"eike\"", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getNotUnsettableWithDefault_NotUnsettableVAT(), theModel1Package.getVAT(), "notUnsettableVAT",
- "vat15", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
- !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(mapHolderEClass, MapHolder.class, "MapHolder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMapHolder_IntegerToStringMap(), this.getIntegerToStringMap(), null, "integerToStringMap", null,
- 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMapHolder_StringToStringMap(), this.getStringToStringMap(), null, "stringToStringMap", null, 0,
- -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMapHolder_StringToVATMap(), this.getStringToVATMap(), null, "stringToVATMap", null, 0, -1,
- MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMapHolder_StringToAddressContainmentMap(), this.getStringToAddressContainmentMap(), null,
- "stringToAddressContainmentMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMapHolder_StringToAddressReferenceMap(), this.getStringToAddressReferenceMap(), null,
- "stringToAddressReferenceMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMapHolder_EObjectToEObjectMap(), this.getEObjectToEObjectMap(), null, "eObjectToEObjectMap",
- null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMapHolder_EObjectToEObjectKeyContainedMap(), this.getEObjectToEObjectKeyContainedMap(), null,
- "eObjectToEObjectKeyContainedMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMapHolder_EObjectToEObjectBothContainedMap(), this.getEObjectToEObjectBothContainedMap(), null,
- "eObjectToEObjectBothContainedMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getMapHolder_EObjectToEObjectValueContainedMap(), this.getEObjectToEObjectValueContainedMap(), null,
- "eObjectToEObjectValueContainedMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(stringToStringMapEClass, Map.Entry.class, "StringToStringMap", !IS_ABSTRACT, !IS_INTERFACE,
- !IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStringToStringMap_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStringToStringMap_Value(), ecorePackage.getEString(), "value", null, 0, 1, Map.Entry.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(integerToStringMapEClass, Map.Entry.class, "IntegerToStringMap", !IS_ABSTRACT, !IS_INTERFACE,
- !IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getIntegerToStringMap_Key(), ecorePackage.getEIntegerObject(), "key", null, 0, 1, Map.Entry.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getIntegerToStringMap_Value(), ecorePackage.getEString(), "value", null, 0, 1, Map.Entry.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(stringToVATMapEClass, Map.Entry.class, "StringToVATMap", !IS_ABSTRACT, !IS_INTERFACE,
- !IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStringToVATMap_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getStringToVATMap_Value(), theModel1Package.getVAT(), "value", null, 0, 1, Map.Entry.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(stringToAddressContainmentMapEClass, Map.Entry.class, "StringToAddressContainmentMap", !IS_ABSTRACT,
- !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStringToAddressContainmentMap_Key(), ecorePackage.getEString(), "key", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getStringToAddressContainmentMap_Value(), theModel1Package.getAddress(), null, "value", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(stringToAddressReferenceMapEClass, Map.Entry.class, "StringToAddressReferenceMap", !IS_ABSTRACT,
- !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getStringToAddressReferenceMap_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getStringToAddressReferenceMap_Value(), theModel1Package.getAddress(), null, "value", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(eObjectToEObjectMapEClass, Map.Entry.class, "EObjectToEObjectMap", !IS_ABSTRACT, !IS_INTERFACE,
- !IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEObjectToEObjectMap_Key(), ecorePackage.getEObject(), null, "key", null, 0, 1, Map.Entry.class,
- !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getEObjectToEObjectMap_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(eObjectToEObjectKeyContainedMapEClass, Map.Entry.class, "EObjectToEObjectKeyContainedMap", !IS_ABSTRACT,
- !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEObjectToEObjectKeyContainedMap_Key(), ecorePackage.getEObject(), null, "key", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEObjectToEObjectKeyContainedMap_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(eObjectToEObjectBothContainedMapEClass, Map.Entry.class, "EObjectToEObjectBothContainedMap",
- !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEObjectToEObjectBothContainedMap_Key(), ecorePackage.getEObject(), null, "key", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEObjectToEObjectBothContainedMap_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(eObjectToEObjectValueContainedMapEClass, Map.Entry.class, "EObjectToEObjectValueContainedMap",
- !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEObjectToEObjectValueContainedMap_Key(), ecorePackage.getEObject(), null, "key", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEObjectToEObjectValueContainedMap_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1,
- Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(enumListHolderEClass, EnumListHolder.class, "EnumListHolder", !IS_ABSTRACT, !IS_INTERFACE,
- IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getEnumListHolder_EnumList(), theModel1Package.getVAT(), "enumList", null, 0, -1,
- EnumListHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} // Model2PackageImpl
+/*
+ * 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.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Factory;
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
+import org.eclipse.emf.cdo.tests.model2.MapHolder;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
+import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
+import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
+import org.eclipse.emf.cdo.tests.model2.Task;
+import org.eclipse.emf.cdo.tests.model2.TaskContainer;
+import org.eclipse.emf.cdo.tests.model2.TransientContainer;
+import org.eclipse.emf.cdo.tests.model2.Unsettable1;
+import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import java.util.Map;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
+ * @generated
+ */
+public class Model2PackageImpl extends EPackageImpl implements Model2Package
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass specialPurchaseOrderEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass taskContainerEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass taskEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass unsettable1EClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass unsettable2WithDefaultEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass persistentContainmentEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass transientContainerEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass notUnsettableEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass notUnsettableWithDefaultEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass mapHolderEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass stringToStringMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass integerToStringMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass stringToVATMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass stringToAddressContainmentMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass stringToAddressReferenceMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass eObjectToEObjectMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass eObjectToEObjectKeyContainedMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass eObjectToEObjectBothContainedMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass eObjectToEObjectValueContainedMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass enumListHolderEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
+ * EPackage.Registry} by the package package URI value.
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also
+ * performs initialization of the package, or returns the registered package, if one already exists. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.emf.cdo.tests.legacy.model2.Model2Package#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private Model2PackageImpl()
+ {
+ super(eNS_URI, Model2Factory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
+ * <p>
+ * This method is used to initialize {@link Model2Package#eINSTANCE} when that field is accessed. Clients should not
+ * invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static Model2Package init()
+ {
+ if (isInited)
+ return (Model2Package)EPackage.Registry.INSTANCE.getEPackage(Model2Package.eNS_URI);
+
+ // Obtain or create and register package
+ Model2PackageImpl theModel2Package = (Model2PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Model2PackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new Model2PackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ Model1Package.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theModel2Package.createPackageContents();
+
+ // Initialize created meta-data
+ theModel2Package.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theModel2Package.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(Model2Package.eNS_URI, theModel2Package);
+ return theModel2Package;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getSpecialPurchaseOrder()
+ {
+ return specialPurchaseOrderEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getSpecialPurchaseOrder_DiscountCode()
+ {
+ return (EAttribute)specialPurchaseOrderEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getSpecialPurchaseOrder_ShippingAddress()
+ {
+ return (EReference)specialPurchaseOrderEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getTaskContainer()
+ {
+ return taskContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getTaskContainer_Tasks()
+ {
+ return (EReference)taskContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getTask()
+ {
+ return taskEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getTask_TaskContainer()
+ {
+ return (EReference)taskEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getTask_Description()
+ {
+ return (EAttribute)taskEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getTask_Done()
+ {
+ return (EAttribute)taskEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getUnsettable1()
+ {
+ return unsettable1EClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableBoolean()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableByte()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableChar()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableDate()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableDouble()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableFloat()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableInt()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableLong()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableShort()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableString()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableVAT()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getUnsettable2WithDefault()
+ {
+ return unsettable2WithDefaultEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableBoolean()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableByte()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableChar()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableDate()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableDouble()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableFloat()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableInt()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableLong()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableShort()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableString()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableVAT()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getPersistentContainment()
+ {
+ return persistentContainmentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPersistentContainment_AttrBefore()
+ {
+ return (EAttribute)persistentContainmentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getPersistentContainment_Children()
+ {
+ return (EReference)persistentContainmentEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPersistentContainment_AttrAfter()
+ {
+ return (EAttribute)persistentContainmentEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getTransientContainer()
+ {
+ return transientContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getTransientContainer_AttrBefore()
+ {
+ return (EAttribute)transientContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getTransientContainer_Parent()
+ {
+ return (EReference)transientContainerEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getTransientContainer_AttrAfter()
+ {
+ return (EAttribute)transientContainerEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getNotUnsettable()
+ {
+ return notUnsettableEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableBoolean()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableByte()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableChar()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableDate()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableDouble()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableFloat()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableInt()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableLong()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableShort()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableString()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableVAT()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getNotUnsettableWithDefault()
+ {
+ return notUnsettableWithDefaultEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableBoolean()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableByte()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableChar()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableDate()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableDouble()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableFloat()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableInt()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableLong()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableShort()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableString()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableVAT()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getMapHolder()
+ {
+ return mapHolderEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_IntegerToStringMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_StringToStringMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_StringToVATMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_StringToAddressContainmentMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_StringToAddressReferenceMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_EObjectToEObjectMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_EObjectToEObjectKeyContainedMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_EObjectToEObjectBothContainedMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getMapHolder_EObjectToEObjectValueContainedMap()
+ {
+ return (EReference)mapHolderEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getStringToStringMap()
+ {
+ return stringToStringMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getStringToStringMap_Key()
+ {
+ return (EAttribute)stringToStringMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getStringToStringMap_Value()
+ {
+ return (EAttribute)stringToStringMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIntegerToStringMap()
+ {
+ return integerToStringMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getIntegerToStringMap_Key()
+ {
+ return (EAttribute)integerToStringMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getIntegerToStringMap_Value()
+ {
+ return (EAttribute)integerToStringMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getStringToVATMap()
+ {
+ return stringToVATMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getStringToVATMap_Key()
+ {
+ return (EAttribute)stringToVATMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getStringToVATMap_Value()
+ {
+ return (EAttribute)stringToVATMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getStringToAddressContainmentMap()
+ {
+ return stringToAddressContainmentMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getStringToAddressContainmentMap_Key()
+ {
+ return (EAttribute)stringToAddressContainmentMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getStringToAddressContainmentMap_Value()
+ {
+ return (EReference)stringToAddressContainmentMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getStringToAddressReferenceMap()
+ {
+ return stringToAddressReferenceMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getStringToAddressReferenceMap_Key()
+ {
+ return (EAttribute)stringToAddressReferenceMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getStringToAddressReferenceMap_Value()
+ {
+ return (EReference)stringToAddressReferenceMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getEObjectToEObjectMap()
+ {
+ return eObjectToEObjectMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getEObjectToEObjectMap_Key()
+ {
+ return (EReference)eObjectToEObjectMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getEObjectToEObjectMap_Value()
+ {
+ return (EReference)eObjectToEObjectMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getEObjectToEObjectKeyContainedMap()
+ {
+ return eObjectToEObjectKeyContainedMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getEObjectToEObjectKeyContainedMap_Key()
+ {
+ return (EReference)eObjectToEObjectKeyContainedMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getEObjectToEObjectKeyContainedMap_Value()
+ {
+ return (EReference)eObjectToEObjectKeyContainedMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getEObjectToEObjectBothContainedMap()
+ {
+ return eObjectToEObjectBothContainedMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getEObjectToEObjectBothContainedMap_Key()
+ {
+ return (EReference)eObjectToEObjectBothContainedMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getEObjectToEObjectBothContainedMap_Value()
+ {
+ return (EReference)eObjectToEObjectBothContainedMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getEObjectToEObjectValueContainedMap()
+ {
+ return eObjectToEObjectValueContainedMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getEObjectToEObjectValueContainedMap_Key()
+ {
+ return (EReference)eObjectToEObjectValueContainedMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getEObjectToEObjectValueContainedMap_Value()
+ {
+ return (EReference)eObjectToEObjectValueContainedMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getEnumListHolder()
+ {
+ return enumListHolderEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getEnumListHolder_EnumList()
+ {
+ return (EAttribute)enumListHolderEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Model2Factory getModel2Factory()
+ {
+ return (Model2Factory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
+ * first. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void createPackageContents()
+ {
+ if (isCreated)
+ return;
+ isCreated = true;
+
+ // Create classes and their features
+ specialPurchaseOrderEClass = createEClass(SPECIAL_PURCHASE_ORDER);
+ createEAttribute(specialPurchaseOrderEClass, SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE);
+ createEReference(specialPurchaseOrderEClass, SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS);
+
+ taskContainerEClass = createEClass(TASK_CONTAINER);
+ createEReference(taskContainerEClass, TASK_CONTAINER__TASKS);
+
+ taskEClass = createEClass(TASK);
+ createEReference(taskEClass, TASK__TASK_CONTAINER);
+ createEAttribute(taskEClass, TASK__DESCRIPTION);
+ createEAttribute(taskEClass, TASK__DONE);
+
+ unsettable1EClass = createEClass(UNSETTABLE1);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_BOOLEAN);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_BYTE);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_CHAR);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_DATE);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_DOUBLE);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_FLOAT);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_INT);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_LONG);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_SHORT);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_STRING);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_VAT);
+
+ unsettable2WithDefaultEClass = createEClass(UNSETTABLE2_WITH_DEFAULT);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT);
+
+ persistentContainmentEClass = createEClass(PERSISTENT_CONTAINMENT);
+ createEAttribute(persistentContainmentEClass, PERSISTENT_CONTAINMENT__ATTR_BEFORE);
+ createEReference(persistentContainmentEClass, PERSISTENT_CONTAINMENT__CHILDREN);
+ createEAttribute(persistentContainmentEClass, PERSISTENT_CONTAINMENT__ATTR_AFTER);
+
+ transientContainerEClass = createEClass(TRANSIENT_CONTAINER);
+ createEAttribute(transientContainerEClass, TRANSIENT_CONTAINER__ATTR_BEFORE);
+ createEReference(transientContainerEClass, TRANSIENT_CONTAINER__PARENT);
+ createEAttribute(transientContainerEClass, TRANSIENT_CONTAINER__ATTR_AFTER);
+
+ notUnsettableEClass = createEClass(NOT_UNSETTABLE);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_DATE);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_INT);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_LONG);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_STRING);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_VAT);
+
+ notUnsettableWithDefaultEClass = createEClass(NOT_UNSETTABLE_WITH_DEFAULT);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT);
+
+ mapHolderEClass = createEClass(MAP_HOLDER);
+ createEReference(mapHolderEClass, MAP_HOLDER__INTEGER_TO_STRING_MAP);
+ createEReference(mapHolderEClass, MAP_HOLDER__STRING_TO_STRING_MAP);
+ createEReference(mapHolderEClass, MAP_HOLDER__STRING_TO_VAT_MAP);
+ createEReference(mapHolderEClass, MAP_HOLDER__STRING_TO_ADDRESS_CONTAINMENT_MAP);
+ createEReference(mapHolderEClass, MAP_HOLDER__STRING_TO_ADDRESS_REFERENCE_MAP);
+ createEReference(mapHolderEClass, MAP_HOLDER__EOBJECT_TO_EOBJECT_MAP);
+ createEReference(mapHolderEClass, MAP_HOLDER__EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP);
+ createEReference(mapHolderEClass, MAP_HOLDER__EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP);
+ createEReference(mapHolderEClass, MAP_HOLDER__EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP);
+
+ stringToStringMapEClass = createEClass(STRING_TO_STRING_MAP);
+ createEAttribute(stringToStringMapEClass, STRING_TO_STRING_MAP__KEY);
+ createEAttribute(stringToStringMapEClass, STRING_TO_STRING_MAP__VALUE);
+
+ integerToStringMapEClass = createEClass(INTEGER_TO_STRING_MAP);
+ createEAttribute(integerToStringMapEClass, INTEGER_TO_STRING_MAP__KEY);
+ createEAttribute(integerToStringMapEClass, INTEGER_TO_STRING_MAP__VALUE);
+
+ stringToVATMapEClass = createEClass(STRING_TO_VAT_MAP);
+ createEAttribute(stringToVATMapEClass, STRING_TO_VAT_MAP__KEY);
+ createEAttribute(stringToVATMapEClass, STRING_TO_VAT_MAP__VALUE);
+
+ stringToAddressContainmentMapEClass = createEClass(STRING_TO_ADDRESS_CONTAINMENT_MAP);
+ createEAttribute(stringToAddressContainmentMapEClass, STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY);
+ createEReference(stringToAddressContainmentMapEClass, STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE);
+
+ stringToAddressReferenceMapEClass = createEClass(STRING_TO_ADDRESS_REFERENCE_MAP);
+ createEAttribute(stringToAddressReferenceMapEClass, STRING_TO_ADDRESS_REFERENCE_MAP__KEY);
+ createEReference(stringToAddressReferenceMapEClass, STRING_TO_ADDRESS_REFERENCE_MAP__VALUE);
+
+ eObjectToEObjectMapEClass = createEClass(EOBJECT_TO_EOBJECT_MAP);
+ createEReference(eObjectToEObjectMapEClass, EOBJECT_TO_EOBJECT_MAP__KEY);
+ createEReference(eObjectToEObjectMapEClass, EOBJECT_TO_EOBJECT_MAP__VALUE);
+
+ eObjectToEObjectKeyContainedMapEClass = createEClass(EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP);
+ createEReference(eObjectToEObjectKeyContainedMapEClass, EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__KEY);
+ createEReference(eObjectToEObjectKeyContainedMapEClass, EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP__VALUE);
+
+ eObjectToEObjectBothContainedMapEClass = createEClass(EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP);
+ createEReference(eObjectToEObjectBothContainedMapEClass, EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__KEY);
+ createEReference(eObjectToEObjectBothContainedMapEClass, EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP__VALUE);
+
+ eObjectToEObjectValueContainedMapEClass = createEClass(EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP);
+ createEReference(eObjectToEObjectValueContainedMapEClass, EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__KEY);
+ createEReference(eObjectToEObjectValueContainedMapEClass, EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP__VALUE);
+
+ enumListHolderEClass = createEClass(ENUM_LIST_HOLDER);
+ createEAttribute(enumListHolderEClass, ENUM_LIST_HOLDER__ENUM_LIST);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
+ * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void initializePackageContents()
+ {
+ if (isInitialized)
+ return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ Model1Package theModel1Package = (Model1Package)EPackage.Registry.INSTANCE.getEPackage(Model1Package.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ specialPurchaseOrderEClass.getESuperTypes().add(theModel1Package.getPurchaseOrder());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(specialPurchaseOrderEClass, SpecialPurchaseOrder.class, "SpecialPurchaseOrder", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getSpecialPurchaseOrder_DiscountCode(), ecorePackage.getEString(), "discountCode", null, 0, 1,
+ SpecialPurchaseOrder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getSpecialPurchaseOrder_ShippingAddress(), theModel1Package.getAddress(), null, "shippingAddress",
+ null, 0, 1, SpecialPurchaseOrder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE,
+ !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(taskContainerEClass, TaskContainer.class, "TaskContainer", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTaskContainer_Tasks(), this.getTask(), this.getTask_TaskContainer(), "tasks", null, 0, -1,
+ TaskContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(taskEClass, Task.class, "Task", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTask_TaskContainer(), this.getTaskContainer(), this.getTaskContainer_Tasks(), "taskContainer",
+ null, 0, 1, Task.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTask_Description(), ecorePackage.getEString(), "description", null, 0, 1, Task.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTask_Done(), ecorePackage.getEBoolean(), "done", null, 0, 1, Task.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(unsettable1EClass, Unsettable1.class, "Unsettable1", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUnsettable1_UnsettableBoolean(), ecorePackage.getEBoolean(), "unsettableBoolean", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableByte(), ecorePackage.getEByte(), "unsettableByte", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableChar(), ecorePackage.getEChar(), "unsettableChar", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableDate(), ecorePackage.getEDate(), "unsettableDate", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableDouble(), ecorePackage.getEDouble(), "unsettableDouble", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableFloat(), ecorePackage.getEFloat(), "unsettableFloat", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableInt(), ecorePackage.getEInt(), "unsettableInt", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableLong(), ecorePackage.getELong(), "unsettableLong", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableShort(), ecorePackage.getEShort(), "unsettableShort", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableString(), ecorePackage.getEString(), "unsettableString", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+
+ initEClass(unsettable2WithDefaultEClass, Unsettable2WithDefault.class, "Unsettable2WithDefault", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUnsettable2WithDefault_UnsettableBoolean(), ecorePackage.getEBoolean(), "unsettableBoolean",
+ "true", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableByte(), ecorePackage.getEByte(), "unsettableByte", "3", 0, 1,
+ Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableChar(), ecorePackage.getEChar(), "unsettableChar", "\'x\'", 0,
+ 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableDate(), ecorePackage.getEDate(), "unsettableDate",
+ "2009-12-21T15:12:59", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableDouble(), ecorePackage.getEDouble(), "unsettableDouble", "3.3",
+ 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableFloat(), ecorePackage.getEFloat(), "unsettableFloat", "4.4", 0,
+ 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableInt(), ecorePackage.getEInt(), "unsettableInt", "5", 0, 1,
+ Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableLong(), ecorePackage.getELong(), "unsettableLong", "6", 0, 1,
+ Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableShort(), ecorePackage.getEShort(), "unsettableShort", "7", 0, 1,
+ Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableString(), ecorePackage.getEString(), "unsettableString",
+ "\"eike\"", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", "vat15", 0,
+ 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(persistentContainmentEClass, PersistentContainment.class, "PersistentContainment", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPersistentContainment_AttrBefore(), ecorePackage.getEString(), "attrBefore", null, 0, 1,
+ PersistentContainment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getPersistentContainment_Children(), this.getTransientContainer(),
+ this.getTransientContainer_Parent(), "children", null, 0, -1, PersistentContainment.class, !IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ !IS_ORDERED);
+ initEAttribute(getPersistentContainment_AttrAfter(), ecorePackage.getEString(), "attrAfter", null, 0, 1,
+ PersistentContainment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(transientContainerEClass, TransientContainer.class, "TransientContainer", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTransientContainer_AttrBefore(), ecorePackage.getEString(), "attrBefore", null, 0, 1,
+ TransientContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getTransientContainer_Parent(), this.getPersistentContainment(),
+ this.getPersistentContainment_Children(), "parent", null, 0, 1, TransientContainer.class, IS_TRANSIENT,
+ !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getTransientContainer_AttrAfter(), ecorePackage.getEString(), "attrAfter", null, 0, 1,
+ TransientContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(notUnsettableEClass, NotUnsettable.class, "NotUnsettable", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNotUnsettable_NotUnsettableBoolean(), ecorePackage.getEBoolean(), "notUnsettableBoolean", null,
+ 0, 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableByte(), ecorePackage.getEByte(), "notUnsettableByte", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableChar(), ecorePackage.getEChar(), "notUnsettableChar", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableDate(), ecorePackage.getEDate(), "notUnsettableDate", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableDouble(), ecorePackage.getEDouble(), "notUnsettableDouble", null, 0,
+ 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableFloat(), ecorePackage.getEFloat(), "notUnsettableFloat", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableInt(), ecorePackage.getEInt(), "notUnsettableInt", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableLong(), ecorePackage.getELong(), "notUnsettableLong", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableShort(), ecorePackage.getEShort(), "notUnsettableShort", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableString(), ecorePackage.getEString(), "notUnsettableString", null, 0,
+ 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableVAT(), theModel1Package.getVAT(), "notUnsettableVAT", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(notUnsettableWithDefaultEClass, NotUnsettableWithDefault.class, "NotUnsettableWithDefault",
+ !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableBoolean(), ecorePackage.getEBoolean(),
+ "notUnsettableBoolean", "true", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableByte(), ecorePackage.getEByte(), "notUnsettableByte", "3",
+ 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableChar(), ecorePackage.getEChar(), "notUnsettableChar",
+ "\'x\'", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableDate(), ecorePackage.getEDate(), "notUnsettableDate",
+ "1979-03-15T07:12:59", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableDouble(), ecorePackage.getEDouble(), "notUnsettableDouble",
+ "3.3", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableFloat(), ecorePackage.getEFloat(), "notUnsettableFloat",
+ "4.4", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableInt(), ecorePackage.getEInt(), "notUnsettableInt", "5", 0,
+ 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableLong(), ecorePackage.getELong(), "notUnsettableLong", "6",
+ 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableShort(), ecorePackage.getEShort(), "notUnsettableShort",
+ "7", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableString(), ecorePackage.getEString(), "notUnsettableString",
+ "\"eike\"", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableVAT(), theModel1Package.getVAT(), "notUnsettableVAT",
+ "vat15", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(mapHolderEClass, MapHolder.class, "MapHolder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMapHolder_IntegerToStringMap(), this.getIntegerToStringMap(), null, "integerToStringMap", null,
+ 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapHolder_StringToStringMap(), this.getStringToStringMap(), null, "stringToStringMap", null, 0,
+ -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapHolder_StringToVATMap(), this.getStringToVATMap(), null, "stringToVATMap", null, 0, -1,
+ MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapHolder_StringToAddressContainmentMap(), this.getStringToAddressContainmentMap(), null,
+ "stringToAddressContainmentMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapHolder_StringToAddressReferenceMap(), this.getStringToAddressReferenceMap(), null,
+ "stringToAddressReferenceMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapHolder_EObjectToEObjectMap(), this.getEObjectToEObjectMap(), null, "eObjectToEObjectMap",
+ null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
+ !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapHolder_EObjectToEObjectKeyContainedMap(), this.getEObjectToEObjectKeyContainedMap(), null,
+ "eObjectToEObjectKeyContainedMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapHolder_EObjectToEObjectBothContainedMap(), this.getEObjectToEObjectBothContainedMap(), null,
+ "eObjectToEObjectBothContainedMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getMapHolder_EObjectToEObjectValueContainedMap(), this.getEObjectToEObjectValueContainedMap(), null,
+ "eObjectToEObjectValueContainedMap", null, 0, -1, MapHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(stringToStringMapEClass, Map.Entry.class, "StringToStringMap", !IS_ABSTRACT, !IS_INTERFACE,
+ !IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getStringToStringMap_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStringToStringMap_Value(), ecorePackage.getEString(), "value", null, 0, 1, Map.Entry.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(integerToStringMapEClass, Map.Entry.class, "IntegerToStringMap", !IS_ABSTRACT, !IS_INTERFACE,
+ !IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getIntegerToStringMap_Key(), ecorePackage.getEIntegerObject(), "key", null, 0, 1, Map.Entry.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getIntegerToStringMap_Value(), ecorePackage.getEString(), "value", null, 0, 1, Map.Entry.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(stringToVATMapEClass, Map.Entry.class, "StringToVATMap", !IS_ABSTRACT, !IS_INTERFACE,
+ !IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getStringToVATMap_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getStringToVATMap_Value(), theModel1Package.getVAT(), "value", null, 0, 1, Map.Entry.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(stringToAddressContainmentMapEClass, Map.Entry.class, "StringToAddressContainmentMap", !IS_ABSTRACT,
+ !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getStringToAddressContainmentMap_Key(), ecorePackage.getEString(), "key", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEReference(getStringToAddressContainmentMap_Value(), theModel1Package.getAddress(), null, "value", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(stringToAddressReferenceMapEClass, Map.Entry.class, "StringToAddressReferenceMap", !IS_ABSTRACT,
+ !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getStringToAddressReferenceMap_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getStringToAddressReferenceMap_Value(), theModel1Package.getAddress(), null, "value", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eObjectToEObjectMapEClass, Map.Entry.class, "EObjectToEObjectMap", !IS_ABSTRACT, !IS_INTERFACE,
+ !IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEObjectToEObjectMap_Key(), ecorePackage.getEObject(), null, "key", null, 0, 1, Map.Entry.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEReference(getEObjectToEObjectMap_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eObjectToEObjectKeyContainedMapEClass, Map.Entry.class, "EObjectToEObjectKeyContainedMap", !IS_ABSTRACT,
+ !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEObjectToEObjectKeyContainedMap_Key(), ecorePackage.getEObject(), null, "key", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEObjectToEObjectKeyContainedMap_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eObjectToEObjectBothContainedMapEClass, Map.Entry.class, "EObjectToEObjectBothContainedMap",
+ !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEObjectToEObjectBothContainedMap_Key(), ecorePackage.getEObject(), null, "key", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEObjectToEObjectBothContainedMap_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(eObjectToEObjectValueContainedMapEClass, Map.Entry.class, "EObjectToEObjectValueContainedMap",
+ !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEObjectToEObjectValueContainedMap_Key(), ecorePackage.getEObject(), null, "key", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEObjectToEObjectValueContainedMap_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1,
+ Map.Entry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(enumListHolderEClass, EnumListHolder.class, "EnumListHolder", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getEnumListHolder_EnumList(), theModel1Package.getVAT(), "enumList", null, 0, -1,
+ EnumListHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} // Model2PackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableImpl.java
index 5412a2b514..c36361b212 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableImpl.java
@@ -1,771 +1,771 @@
-/*
- * 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
- *
- * $Id: NotUnsettableImpl.java,v 1.3 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import java.util.Date;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Not Unsettable</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#isNotUnsettableBoolean <em>Not Unsettable
- * Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableByte <em>Not Unsettable
- * Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableChar <em>Not Unsettable
- * Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableDate <em>Not Unsettable
- * Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableDouble <em>Not Unsettable
- * Double</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableFloat <em>Not Unsettable
- * Float</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableInt <em>Not Unsettable Int
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableLong <em>Not Unsettable
- * Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableShort <em>Not Unsettable
- * Short</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableString <em>Not Unsettable
- * String</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableVAT <em>Not Unsettable VAT
- * </em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NotUnsettableImpl extends EObjectImpl implements NotUnsettable
-{
- /**
- * The default value of the '{@link #isNotUnsettableBoolean() <em>Not Unsettable Boolean</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isNotUnsettableBoolean()
- * @generated
- * @ordered
- */
- protected static final boolean NOT_UNSETTABLE_BOOLEAN_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isNotUnsettableBoolean() <em>Not Unsettable Boolean</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isNotUnsettableBoolean()
- * @generated
- * @ordered
- */
- protected boolean notUnsettableBoolean = NOT_UNSETTABLE_BOOLEAN_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableByte() <em>Not Unsettable Byte</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableByte()
- * @generated
- * @ordered
- */
- protected static final byte NOT_UNSETTABLE_BYTE_EDEFAULT = 0x00;
-
- /**
- * The cached value of the '{@link #getNotUnsettableByte() <em>Not Unsettable Byte</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableByte()
- * @generated
- * @ordered
- */
- protected byte notUnsettableByte = NOT_UNSETTABLE_BYTE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableChar() <em>Not Unsettable Char</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableChar()
- * @generated
- * @ordered
- */
- protected static final char NOT_UNSETTABLE_CHAR_EDEFAULT = '\u0000';
-
- /**
- * The cached value of the '{@link #getNotUnsettableChar() <em>Not Unsettable Char</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableChar()
- * @generated
- * @ordered
- */
- protected char notUnsettableChar = NOT_UNSETTABLE_CHAR_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableDate() <em>Not Unsettable Date</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableDate()
- * @generated
- * @ordered
- */
- protected static final Date NOT_UNSETTABLE_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNotUnsettableDate() <em>Not Unsettable Date</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableDate()
- * @generated
- * @ordered
- */
- protected Date notUnsettableDate = NOT_UNSETTABLE_DATE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableDouble() <em>Not Unsettable Double</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableDouble()
- * @generated
- * @ordered
- */
- protected static final double NOT_UNSETTABLE_DOUBLE_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getNotUnsettableDouble() <em>Not Unsettable Double</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableDouble()
- * @generated
- * @ordered
- */
- protected double notUnsettableDouble = NOT_UNSETTABLE_DOUBLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableFloat() <em>Not Unsettable Float</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableFloat()
- * @generated
- * @ordered
- */
- protected static final float NOT_UNSETTABLE_FLOAT_EDEFAULT = 0.0F;
-
- /**
- * The cached value of the '{@link #getNotUnsettableFloat() <em>Not Unsettable Float</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableFloat()
- * @generated
- * @ordered
- */
- protected float notUnsettableFloat = NOT_UNSETTABLE_FLOAT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableInt() <em>Not Unsettable Int</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableInt()
- * @generated
- * @ordered
- */
- protected static final int NOT_UNSETTABLE_INT_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getNotUnsettableInt() <em>Not Unsettable Int</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableInt()
- * @generated
- * @ordered
- */
- protected int notUnsettableInt = NOT_UNSETTABLE_INT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableLong() <em>Not Unsettable Long</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableLong()
- * @generated
- * @ordered
- */
- protected static final long NOT_UNSETTABLE_LONG_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getNotUnsettableLong() <em>Not Unsettable Long</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableLong()
- * @generated
- * @ordered
- */
- protected long notUnsettableLong = NOT_UNSETTABLE_LONG_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableShort() <em>Not Unsettable Short</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableShort()
- * @generated
- * @ordered
- */
- protected static final short NOT_UNSETTABLE_SHORT_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getNotUnsettableShort() <em>Not Unsettable Short</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableShort()
- * @generated
- * @ordered
- */
- protected short notUnsettableShort = NOT_UNSETTABLE_SHORT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableString() <em>Not Unsettable String</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableString()
- * @generated
- * @ordered
- */
- protected static final String NOT_UNSETTABLE_STRING_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNotUnsettableString() <em>Not Unsettable String</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableString()
- * @generated
- * @ordered
- */
- protected String notUnsettableString = NOT_UNSETTABLE_STRING_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNotUnsettableVAT() <em>Not Unsettable VAT</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableVAT()
- * @generated
- * @ordered
- */
- protected static final VAT NOT_UNSETTABLE_VAT_EDEFAULT = VAT.VAT0;
-
- /**
- * The cached value of the '{@link #getNotUnsettableVAT() <em>Not Unsettable VAT</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getNotUnsettableVAT()
- * @generated
- * @ordered
- */
- protected VAT notUnsettableVAT = NOT_UNSETTABLE_VAT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected NotUnsettableImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getNotUnsettable();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isNotUnsettableBoolean()
- {
- return notUnsettableBoolean;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean)
- {
- boolean oldNotUnsettableBoolean = notUnsettableBoolean;
- notUnsettableBoolean = newNotUnsettableBoolean;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN,
- oldNotUnsettableBoolean, notUnsettableBoolean));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public byte getNotUnsettableByte()
- {
- return notUnsettableByte;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableByte(byte newNotUnsettableByte)
- {
- byte oldNotUnsettableByte = notUnsettableByte;
- notUnsettableByte = newNotUnsettableByte;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE,
- oldNotUnsettableByte, notUnsettableByte));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public char getNotUnsettableChar()
- {
- return notUnsettableChar;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableChar(char newNotUnsettableChar)
- {
- char oldNotUnsettableChar = notUnsettableChar;
- notUnsettableChar = newNotUnsettableChar;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR,
- oldNotUnsettableChar, notUnsettableChar));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Date getNotUnsettableDate()
- {
- return notUnsettableDate;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableDate(Date newNotUnsettableDate)
- {
- Date oldNotUnsettableDate = notUnsettableDate;
- notUnsettableDate = newNotUnsettableDate;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE,
- oldNotUnsettableDate, notUnsettableDate));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public double getNotUnsettableDouble()
- {
- return notUnsettableDouble;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableDouble(double newNotUnsettableDouble)
- {
- double oldNotUnsettableDouble = notUnsettableDouble;
- notUnsettableDouble = newNotUnsettableDouble;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE,
- oldNotUnsettableDouble, notUnsettableDouble));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public float getNotUnsettableFloat()
- {
- return notUnsettableFloat;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableFloat(float newNotUnsettableFloat)
- {
- float oldNotUnsettableFloat = notUnsettableFloat;
- notUnsettableFloat = newNotUnsettableFloat;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT,
- oldNotUnsettableFloat, notUnsettableFloat));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getNotUnsettableInt()
- {
- return notUnsettableInt;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableInt(int newNotUnsettableInt)
- {
- int oldNotUnsettableInt = notUnsettableInt;
- notUnsettableInt = newNotUnsettableInt;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT,
- oldNotUnsettableInt, notUnsettableInt));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public long getNotUnsettableLong()
- {
- return notUnsettableLong;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableLong(long newNotUnsettableLong)
- {
- long oldNotUnsettableLong = notUnsettableLong;
- notUnsettableLong = newNotUnsettableLong;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG,
- oldNotUnsettableLong, notUnsettableLong));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public short getNotUnsettableShort()
- {
- return notUnsettableShort;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableShort(short newNotUnsettableShort)
- {
- short oldNotUnsettableShort = notUnsettableShort;
- notUnsettableShort = newNotUnsettableShort;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT,
- oldNotUnsettableShort, notUnsettableShort));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getNotUnsettableString()
- {
- return notUnsettableString;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableString(String newNotUnsettableString)
- {
- String oldNotUnsettableString = notUnsettableString;
- notUnsettableString = newNotUnsettableString;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING,
- oldNotUnsettableString, notUnsettableString));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getNotUnsettableVAT()
- {
- return notUnsettableVAT;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableVAT(VAT newNotUnsettableVAT)
- {
- VAT oldNotUnsettableVAT = notUnsettableVAT;
- notUnsettableVAT = newNotUnsettableVAT == null ? NOT_UNSETTABLE_VAT_EDEFAULT : newNotUnsettableVAT;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT,
- oldNotUnsettableVAT, notUnsettableVAT));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN:
- return isNotUnsettableBoolean();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE:
- return getNotUnsettableByte();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR:
- return getNotUnsettableChar();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE:
- return getNotUnsettableDate();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE:
- return getNotUnsettableDouble();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT:
- return getNotUnsettableFloat();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT:
- return getNotUnsettableInt();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG:
- return getNotUnsettableLong();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT:
- return getNotUnsettableShort();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING:
- return getNotUnsettableString();
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT:
- return getNotUnsettableVAT();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN:
- setNotUnsettableBoolean((Boolean)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE:
- setNotUnsettableByte((Byte)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR:
- setNotUnsettableChar((Character)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE:
- setNotUnsettableDate((Date)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE:
- setNotUnsettableDouble((Double)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT:
- setNotUnsettableFloat((Float)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT:
- setNotUnsettableInt((Integer)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG:
- setNotUnsettableLong((Long)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT:
- setNotUnsettableShort((Short)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING:
- setNotUnsettableString((String)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT:
- setNotUnsettableVAT((VAT)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN:
- setNotUnsettableBoolean(NOT_UNSETTABLE_BOOLEAN_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE:
- setNotUnsettableByte(NOT_UNSETTABLE_BYTE_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR:
- setNotUnsettableChar(NOT_UNSETTABLE_CHAR_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE:
- setNotUnsettableDate(NOT_UNSETTABLE_DATE_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE:
- setNotUnsettableDouble(NOT_UNSETTABLE_DOUBLE_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT:
- setNotUnsettableFloat(NOT_UNSETTABLE_FLOAT_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT:
- setNotUnsettableInt(NOT_UNSETTABLE_INT_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG:
- setNotUnsettableLong(NOT_UNSETTABLE_LONG_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT:
- setNotUnsettableShort(NOT_UNSETTABLE_SHORT_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING:
- setNotUnsettableString(NOT_UNSETTABLE_STRING_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT:
- setNotUnsettableVAT(NOT_UNSETTABLE_VAT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN:
- return notUnsettableBoolean != NOT_UNSETTABLE_BOOLEAN_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE:
- return notUnsettableByte != NOT_UNSETTABLE_BYTE_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR:
- return notUnsettableChar != NOT_UNSETTABLE_CHAR_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE:
- return NOT_UNSETTABLE_DATE_EDEFAULT == null ? notUnsettableDate != null : !NOT_UNSETTABLE_DATE_EDEFAULT
- .equals(notUnsettableDate);
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE:
- return notUnsettableDouble != NOT_UNSETTABLE_DOUBLE_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT:
- return notUnsettableFloat != NOT_UNSETTABLE_FLOAT_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT:
- return notUnsettableInt != NOT_UNSETTABLE_INT_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG:
- return notUnsettableLong != NOT_UNSETTABLE_LONG_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT:
- return notUnsettableShort != NOT_UNSETTABLE_SHORT_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING:
- return NOT_UNSETTABLE_STRING_EDEFAULT == null ? notUnsettableString != null : !NOT_UNSETTABLE_STRING_EDEFAULT
- .equals(notUnsettableString);
- case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT:
- return notUnsettableVAT != NOT_UNSETTABLE_VAT_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (notUnsettableBoolean: ");
- result.append(notUnsettableBoolean);
- result.append(", notUnsettableByte: ");
- result.append(notUnsettableByte);
- result.append(", notUnsettableChar: ");
- result.append(notUnsettableChar);
- result.append(", notUnsettableDate: ");
- result.append(notUnsettableDate);
- result.append(", notUnsettableDouble: ");
- result.append(notUnsettableDouble);
- result.append(", notUnsettableFloat: ");
- result.append(notUnsettableFloat);
- result.append(", notUnsettableInt: ");
- result.append(notUnsettableInt);
- result.append(", notUnsettableLong: ");
- result.append(notUnsettableLong);
- result.append(", notUnsettableShort: ");
- result.append(notUnsettableShort);
- result.append(", notUnsettableString: ");
- result.append(notUnsettableString);
- result.append(", notUnsettableVAT: ");
- result.append(notUnsettableVAT);
- result.append(')');
- return result.toString();
- }
-
-} // NotUnsettableImpl
+/*
+ * 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
+ *
+ * $Id: NotUnsettableImpl.java,v 1.3 2011-01-01 11:01:57 estepper Exp $
+ */
+package org.eclipse.emf.cdo.tests.legacy.model2.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Not Unsettable</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#isNotUnsettableBoolean <em>Not Unsettable
+ * Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableByte <em>Not Unsettable
+ * Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableChar <em>Not Unsettable
+ * Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableDate <em>Not Unsettable
+ * Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableDouble <em>Not Unsettable
+ * Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableFloat <em>Not Unsettable
+ * Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableInt <em>Not Unsettable Int
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableLong <em>Not Unsettable
+ * Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableShort <em>Not Unsettable
+ * Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableString <em>Not Unsettable
+ * String</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableImpl#getNotUnsettableVAT <em>Not Unsettable VAT
+ * </em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class NotUnsettableImpl extends EObjectImpl implements NotUnsettable
+{
+ /**
+ * The default value of the '{@link #isNotUnsettableBoolean() <em>Not Unsettable Boolean</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isNotUnsettableBoolean()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NOT_UNSETTABLE_BOOLEAN_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isNotUnsettableBoolean() <em>Not Unsettable Boolean</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isNotUnsettableBoolean()
+ * @generated
+ * @ordered
+ */
+ protected boolean notUnsettableBoolean = NOT_UNSETTABLE_BOOLEAN_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableByte() <em>Not Unsettable Byte</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableByte()
+ * @generated
+ * @ordered
+ */
+ protected static final byte NOT_UNSETTABLE_BYTE_EDEFAULT = 0x00;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableByte() <em>Not Unsettable Byte</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableByte()
+ * @generated
+ * @ordered
+ */
+ protected byte notUnsettableByte = NOT_UNSETTABLE_BYTE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableChar() <em>Not Unsettable Char</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableChar()
+ * @generated
+ * @ordered
+ */
+ protected static final char NOT_UNSETTABLE_CHAR_EDEFAULT = '\u0000';
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableChar() <em>Not Unsettable Char</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableChar()
+ * @generated
+ * @ordered
+ */
+ protected char notUnsettableChar = NOT_UNSETTABLE_CHAR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableDate() <em>Not Unsettable Date</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableDate()
+ * @generated
+ * @ordered
+ */
+ protected static final Date NOT_UNSETTABLE_DATE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableDate() <em>Not Unsettable Date</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableDate()
+ * @generated
+ * @ordered
+ */
+ protected Date notUnsettableDate = NOT_UNSETTABLE_DATE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableDouble() <em>Not Unsettable Double</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableDouble()
+ * @generated
+ * @ordered
+ */
+ protected static final double NOT_UNSETTABLE_DOUBLE_EDEFAULT = 0.0;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableDouble() <em>Not Unsettable Double</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableDouble()
+ * @generated
+ * @ordered
+ */
+ protected double notUnsettableDouble = NOT_UNSETTABLE_DOUBLE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableFloat() <em>Not Unsettable Float</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableFloat()
+ * @generated
+ * @ordered
+ */
+ protected static final float NOT_UNSETTABLE_FLOAT_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableFloat() <em>Not Unsettable Float</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableFloat()
+ * @generated
+ * @ordered
+ */
+ protected float notUnsettableFloat = NOT_UNSETTABLE_FLOAT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableInt() <em>Not Unsettable Int</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableInt()
+ * @generated
+ * @ordered
+ */
+ protected static final int NOT_UNSETTABLE_INT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableInt() <em>Not Unsettable Int</em>}' attribute. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableInt()
+ * @generated
+ * @ordered
+ */
+ protected int notUnsettableInt = NOT_UNSETTABLE_INT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableLong() <em>Not Unsettable Long</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableLong()
+ * @generated
+ * @ordered
+ */
+ protected static final long NOT_UNSETTABLE_LONG_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableLong() <em>Not Unsettable Long</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableLong()
+ * @generated
+ * @ordered
+ */
+ protected long notUnsettableLong = NOT_UNSETTABLE_LONG_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableShort() <em>Not Unsettable Short</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableShort()
+ * @generated
+ * @ordered
+ */
+ protected static final short NOT_UNSETTABLE_SHORT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableShort() <em>Not Unsettable Short</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableShort()
+ * @generated
+ * @ordered
+ */
+ protected short notUnsettableShort = NOT_UNSETTABLE_SHORT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableString() <em>Not Unsettable String</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableString()
+ * @generated
+ * @ordered
+ */
+ protected static final String NOT_UNSETTABLE_STRING_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableString() <em>Not Unsettable String</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableString()
+ * @generated
+ * @ordered
+ */
+ protected String notUnsettableString = NOT_UNSETTABLE_STRING_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getNotUnsettableVAT() <em>Not Unsettable VAT</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableVAT()
+ * @generated
+ * @ordered
+ */
+ protected static final VAT NOT_UNSETTABLE_VAT_EDEFAULT = VAT.VAT0;
+
+ /**
+ * The cached value of the '{@link #getNotUnsettableVAT() <em>Not Unsettable VAT</em>}' attribute. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getNotUnsettableVAT()
+ * @generated
+ * @ordered
+ */
+ protected VAT notUnsettableVAT = NOT_UNSETTABLE_VAT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected NotUnsettableImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.eINSTANCE.getNotUnsettable();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isNotUnsettableBoolean()
+ {
+ return notUnsettableBoolean;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean)
+ {
+ boolean oldNotUnsettableBoolean = notUnsettableBoolean;
+ notUnsettableBoolean = newNotUnsettableBoolean;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN,
+ oldNotUnsettableBoolean, notUnsettableBoolean));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public byte getNotUnsettableByte()
+ {
+ return notUnsettableByte;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableByte(byte newNotUnsettableByte)
+ {
+ byte oldNotUnsettableByte = notUnsettableByte;
+ notUnsettableByte = newNotUnsettableByte;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE,
+ oldNotUnsettableByte, notUnsettableByte));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public char getNotUnsettableChar()
+ {
+ return notUnsettableChar;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableChar(char newNotUnsettableChar)
+ {
+ char oldNotUnsettableChar = notUnsettableChar;
+ notUnsettableChar = newNotUnsettableChar;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR,
+ oldNotUnsettableChar, notUnsettableChar));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Date getNotUnsettableDate()
+ {
+ return notUnsettableDate;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDate(Date newNotUnsettableDate)
+ {
+ Date oldNotUnsettableDate = notUnsettableDate;
+ notUnsettableDate = newNotUnsettableDate;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE,
+ oldNotUnsettableDate, notUnsettableDate));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public double getNotUnsettableDouble()
+ {
+ return notUnsettableDouble;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDouble(double newNotUnsettableDouble)
+ {
+ double oldNotUnsettableDouble = notUnsettableDouble;
+ notUnsettableDouble = newNotUnsettableDouble;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE,
+ oldNotUnsettableDouble, notUnsettableDouble));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public float getNotUnsettableFloat()
+ {
+ return notUnsettableFloat;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableFloat(float newNotUnsettableFloat)
+ {
+ float oldNotUnsettableFloat = notUnsettableFloat;
+ notUnsettableFloat = newNotUnsettableFloat;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT,
+ oldNotUnsettableFloat, notUnsettableFloat));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getNotUnsettableInt()
+ {
+ return notUnsettableInt;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableInt(int newNotUnsettableInt)
+ {
+ int oldNotUnsettableInt = notUnsettableInt;
+ notUnsettableInt = newNotUnsettableInt;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT,
+ oldNotUnsettableInt, notUnsettableInt));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public long getNotUnsettableLong()
+ {
+ return notUnsettableLong;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableLong(long newNotUnsettableLong)
+ {
+ long oldNotUnsettableLong = notUnsettableLong;
+ notUnsettableLong = newNotUnsettableLong;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG,
+ oldNotUnsettableLong, notUnsettableLong));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public short getNotUnsettableShort()
+ {
+ return notUnsettableShort;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableShort(short newNotUnsettableShort)
+ {
+ short oldNotUnsettableShort = notUnsettableShort;
+ notUnsettableShort = newNotUnsettableShort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT,
+ oldNotUnsettableShort, notUnsettableShort));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getNotUnsettableString()
+ {
+ return notUnsettableString;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableString(String newNotUnsettableString)
+ {
+ String oldNotUnsettableString = notUnsettableString;
+ notUnsettableString = newNotUnsettableString;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING,
+ oldNotUnsettableString, notUnsettableString));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VAT getNotUnsettableVAT()
+ {
+ return notUnsettableVAT;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableVAT(VAT newNotUnsettableVAT)
+ {
+ VAT oldNotUnsettableVAT = notUnsettableVAT;
+ notUnsettableVAT = newNotUnsettableVAT == null ? NOT_UNSETTABLE_VAT_EDEFAULT : newNotUnsettableVAT;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT,
+ oldNotUnsettableVAT, notUnsettableVAT));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN:
+ return isNotUnsettableBoolean();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE:
+ return getNotUnsettableByte();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR:
+ return getNotUnsettableChar();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE:
+ return getNotUnsettableDate();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE:
+ return getNotUnsettableDouble();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT:
+ return getNotUnsettableFloat();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT:
+ return getNotUnsettableInt();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG:
+ return getNotUnsettableLong();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT:
+ return getNotUnsettableShort();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING:
+ return getNotUnsettableString();
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT:
+ return getNotUnsettableVAT();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN:
+ setNotUnsettableBoolean((Boolean)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE:
+ setNotUnsettableByte((Byte)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR:
+ setNotUnsettableChar((Character)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE:
+ setNotUnsettableDate((Date)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE:
+ setNotUnsettableDouble((Double)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT:
+ setNotUnsettableFloat((Float)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT:
+ setNotUnsettableInt((Integer)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG:
+ setNotUnsettableLong((Long)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT:
+ setNotUnsettableShort((Short)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING:
+ setNotUnsettableString((String)newValue);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT:
+ setNotUnsettableVAT((VAT)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN:
+ setNotUnsettableBoolean(NOT_UNSETTABLE_BOOLEAN_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE:
+ setNotUnsettableByte(NOT_UNSETTABLE_BYTE_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR:
+ setNotUnsettableChar(NOT_UNSETTABLE_CHAR_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE:
+ setNotUnsettableDate(NOT_UNSETTABLE_DATE_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE:
+ setNotUnsettableDouble(NOT_UNSETTABLE_DOUBLE_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT:
+ setNotUnsettableFloat(NOT_UNSETTABLE_FLOAT_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_INT:
+ setNotUnsettableInt(NOT_UNSETTABLE_INT_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG:
+ setNotUnsettableLong(NOT_UNSETTABLE_LONG_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT:
+ setNotUnsettableShort(NOT_UNSETTABLE_SHORT_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING:
+ setNotUnsettableString(NOT_UNSETTABLE_STRING_EDEFAULT);
+ return;
+ case Model2Package.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT:
+ setNotUnsettableVAT(NOT_UNSETTABLE_VAT_EDEFAULT);