diff options
author | Eike Stepper | 2012-07-19 08:22:04 +0000 |
---|---|---|
committer | Eike Stepper | 2012-07-19 08:22:04 +0000 |
commit | 1460904fd3c193ffaf809913b2983a400fce9d94 (patch) | |
tree | 72f3a17b75fedba3ae1060df1d32c9c7889be954 /plugins/org.eclipse.emf.cdo.tests.model2 | |
parent | 5f360965ae87478e0681899bf310a210cafc2c44 (diff) | |
download | cdo-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')
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.
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" 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.
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" 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); + 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 diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableWithDefaultImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableWithDefaultImpl.java index 7213492431..31e3d6c5f3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableWithDefaultImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableWithDefaultImpl.java @@ -1,776 +1,776 @@ -/*
- * 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: NotUnsettableWithDefaultImpl.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.NotUnsettableWithDefault;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EcoreFactory;
-import org.eclipse.emf.ecore.EcorePackage;
-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 With Default</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#isNotUnsettableBoolean <em>Not
- * Unsettable Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableByte <em>Not
- * Unsettable Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableChar <em>Not
- * Unsettable Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDate <em>Not
- * Unsettable Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDouble <em>Not
- * Unsettable Double</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableFloat <em>Not
- * Unsettable Float</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableInt <em>Not
- * Unsettable Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableLong <em>Not
- * Unsettable Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableShort <em>Not
- * Unsettable Short</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableString <em>Not
- * Unsettable String</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableVAT <em>Not
- * Unsettable VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NotUnsettableWithDefaultImpl extends EObjectImpl implements NotUnsettableWithDefault
-{
- /**
- * 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 = true;
-
- /**
- * 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 = 0x03;
-
- /**
- * 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 = '\'';
-
- /**
- * 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 = (Date)EcoreFactory.eINSTANCE.createFromString(
- EcorePackage.eINSTANCE.getEDate(), "1979-03-15T07:12:59");
-
- /**
- * 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 = 3.3;
-
- /**
- * 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 = 4.4F;
-
- /**
- * 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 = 5;
-
- /**
- * 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 = 6L;
-
- /**
- * 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 = 7;
-
- /**
- * 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 = "\"eike\"";
-
- /**
- * 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.VAT15;
-
- /**
- * 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 NotUnsettableWithDefaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getNotUnsettableWithDefault();
- }
-
- /**
- * <!-- 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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN:
- return isNotUnsettableBoolean();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE:
- return getNotUnsettableByte();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR:
- return getNotUnsettableChar();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE:
- return getNotUnsettableDate();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE:
- return getNotUnsettableDouble();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT:
- return getNotUnsettableFloat();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT:
- return getNotUnsettableInt();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG:
- return getNotUnsettableLong();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT:
- return getNotUnsettableShort();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING:
- return getNotUnsettableString();
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__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_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN:
- setNotUnsettableBoolean((Boolean)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE:
- setNotUnsettableByte((Byte)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR:
- setNotUnsettableChar((Character)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE:
- setNotUnsettableDate((Date)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE:
- setNotUnsettableDouble((Double)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT:
- setNotUnsettableFloat((Float)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT:
- setNotUnsettableInt((Integer)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG:
- setNotUnsettableLong((Long)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT:
- setNotUnsettableShort((Short)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING:
- setNotUnsettableString((String)newValue);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__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_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN:
- setNotUnsettableBoolean(NOT_UNSETTABLE_BOOLEAN_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE:
- setNotUnsettableByte(NOT_UNSETTABLE_BYTE_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR:
- setNotUnsettableChar(NOT_UNSETTABLE_CHAR_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE:
- setNotUnsettableDate(NOT_UNSETTABLE_DATE_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE:
- setNotUnsettableDouble(NOT_UNSETTABLE_DOUBLE_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT:
- setNotUnsettableFloat(NOT_UNSETTABLE_FLOAT_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT:
- setNotUnsettableInt(NOT_UNSETTABLE_INT_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG:
- setNotUnsettableLong(NOT_UNSETTABLE_LONG_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT:
- setNotUnsettableShort(NOT_UNSETTABLE_SHORT_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING:
- setNotUnsettableString(NOT_UNSETTABLE_STRING_EDEFAULT);
- return;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__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_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN:
- return notUnsettableBoolean != NOT_UNSETTABLE_BOOLEAN_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE:
- return notUnsettableByte != NOT_UNSETTABLE_BYTE_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR:
- return notUnsettableChar != NOT_UNSETTABLE_CHAR_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE:
- return NOT_UNSETTABLE_DATE_EDEFAULT == null ? notUnsettableDate != null : !NOT_UNSETTABLE_DATE_EDEFAULT
- .equals(notUnsettableDate);
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE:
- return notUnsettableDouble != NOT_UNSETTABLE_DOUBLE_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT:
- return notUnsettableFloat != NOT_UNSETTABLE_FLOAT_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT:
- return notUnsettableInt != NOT_UNSETTABLE_INT_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG:
- return notUnsettableLong != NOT_UNSETTABLE_LONG_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT:
- return notUnsettableShort != NOT_UNSETTABLE_SHORT_EDEFAULT;
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING:
- return NOT_UNSETTABLE_STRING_EDEFAULT == null ? notUnsettableString != null : !NOT_UNSETTABLE_STRING_EDEFAULT
- .equals(notUnsettableString);
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__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();
- }
-
-} // NotUnsettableWithDefaultImpl
+/* + * 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: NotUnsettableWithDefaultImpl.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.NotUnsettableWithDefault; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EcoreFactory; +import org.eclipse.emf.ecore.EcorePackage; +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 With Default</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#isNotUnsettableBoolean <em>Not + * Unsettable Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableByte <em>Not + * Unsettable Byte</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableChar <em>Not + * Unsettable Char</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDate <em>Not + * Unsettable Date</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDouble <em>Not + * Unsettable Double</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableFloat <em>Not + * Unsettable Float</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableInt <em>Not + * Unsettable Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableLong <em>Not + * Unsettable Long</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableShort <em>Not + * Unsettable Short</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableString <em>Not + * Unsettable String</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableVAT <em>Not + * Unsettable VAT</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NotUnsettableWithDefaultImpl extends EObjectImpl implements NotUnsettableWithDefault +{ + /** + * 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 = true; + + /** + * 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 = 0x03; + + /** + * 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 = '\''; + + /** + * 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 = (Date)EcoreFactory.eINSTANCE.createFromString( + EcorePackage.eINSTANCE.getEDate(), "1979-03-15T07:12:59"); + + /** + * 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 = 3.3; + + /** + * 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 = 4.4F; + + /** + * 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 = 5; + + /** + * 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 = 6L; + + /** + * 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 = 7; + + /** + * 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 = "\"eike\""; + + /** + * 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.VAT15; + + /** + * 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 NotUnsettableWithDefaultImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getNotUnsettableWithDefault(); + } + + /** + * <!-- 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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__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_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN: + return isNotUnsettableBoolean(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE: + return getNotUnsettableByte(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR: + return getNotUnsettableChar(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE: + return getNotUnsettableDate(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE: + return getNotUnsettableDouble(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT: + return getNotUnsettableFloat(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT: + return getNotUnsettableInt(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG: + return getNotUnsettableLong(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT: + return getNotUnsettableShort(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING: + return getNotUnsettableString(); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__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_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN: + setNotUnsettableBoolean((Boolean)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE: + setNotUnsettableByte((Byte)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR: + setNotUnsettableChar((Character)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE: + setNotUnsettableDate((Date)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE: + setNotUnsettableDouble((Double)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT: + setNotUnsettableFloat((Float)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT: + setNotUnsettableInt((Integer)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG: + setNotUnsettableLong((Long)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT: + setNotUnsettableShort((Short)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING: + setNotUnsettableString((String)newValue); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__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_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN: + setNotUnsettableBoolean(NOT_UNSETTABLE_BOOLEAN_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE: + setNotUnsettableByte(NOT_UNSETTABLE_BYTE_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR: + setNotUnsettableChar(NOT_UNSETTABLE_CHAR_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE: + setNotUnsettableDate(NOT_UNSETTABLE_DATE_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE: + setNotUnsettableDouble(NOT_UNSETTABLE_DOUBLE_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT: + setNotUnsettableFloat(NOT_UNSETTABLE_FLOAT_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT: + setNotUnsettableInt(NOT_UNSETTABLE_INT_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG: + setNotUnsettableLong(NOT_UNSETTABLE_LONG_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT: + setNotUnsettableShort(NOT_UNSETTABLE_SHORT_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING: + setNotUnsettableString(NOT_UNSETTABLE_STRING_EDEFAULT); + return; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__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_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN: + return notUnsettableBoolean != NOT_UNSETTABLE_BOOLEAN_EDEFAULT; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE: + return notUnsettableByte != NOT_UNSETTABLE_BYTE_EDEFAULT; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR: + return notUnsettableChar != NOT_UNSETTABLE_CHAR_EDEFAULT; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE: + return NOT_UNSETTABLE_DATE_EDEFAULT == null ? notUnsettableDate != null : !NOT_UNSETTABLE_DATE_EDEFAULT + .equals(notUnsettableDate); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE: + return notUnsettableDouble != NOT_UNSETTABLE_DOUBLE_EDEFAULT; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT: + return notUnsettableFloat != NOT_UNSETTABLE_FLOAT_EDEFAULT; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT: + return notUnsettableInt != NOT_UNSETTABLE_INT_EDEFAULT; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG: + return notUnsettableLong != NOT_UNSETTABLE_LONG_EDEFAULT; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT: + return notUnsettableShort != NOT_UNSETTABLE_SHORT_EDEFAULT; + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING: + return NOT_UNSETTABLE_STRING_EDEFAULT == null ? notUnsettableString != null : !NOT_UNSETTABLE_STRING_EDEFAULT + .equals(notUnsettableString); + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT__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(); + } + +} // NotUnsettableWithDefaultImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/PersistentContainmentImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/PersistentContainmentImpl.java index 587d288a8d..5ee0a9f8f1 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/PersistentContainmentImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/PersistentContainmentImpl.java @@ -1,321 +1,321 @@ -/*
- * 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.model2.PersistentContainment;
-import org.eclipse.emf.cdo.tests.model2.TransientContainer;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Persistent Containment</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getAttrBefore <em>Attr Before</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getChildren <em>Children</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getAttrAfter <em>Attr After</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PersistentContainmentImpl extends EObjectImpl implements PersistentContainment
-{
- /**
- * The default value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getAttrBefore()
- * @generated
- * @ordered
- */
- protected static final String ATTR_BEFORE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getAttrBefore()
- * @generated
- * @ordered
- */
- protected String attrBefore = ATTR_BEFORE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getChildren()
- * @generated
- * @ordered
- */
- protected EList<TransientContainer> children;
-
- /**
- * The default value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getAttrAfter()
- * @generated
- * @ordered
- */
- protected static final String ATTR_AFTER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getAttrAfter()
- * @generated
- * @ordered
- */
- protected String attrAfter = ATTR_AFTER_EDEFAULT;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected PersistentContainmentImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getPersistentContainment();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getAttrBefore()
- {
- return attrBefore;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAttrBefore(String newAttrBefore)
- {
- String oldAttrBefore = attrBefore;
- attrBefore = newAttrBefore;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE,
- oldAttrBefore, attrBefore));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<TransientContainer> getChildren()
- {
- if (children == null)
- {
- children = new EObjectContainmentWithInverseEList<TransientContainer>(TransientContainer.class, this,
- Model2Package.PERSISTENT_CONTAINMENT__CHILDREN, Model2Package.TRANSIENT_CONTAINER__PARENT);
- }
- return children;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getAttrAfter()
- {
- return attrAfter;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAttrAfter(String newAttrAfter)
- {
- String oldAttrAfter = attrAfter;
- attrAfter = newAttrAfter;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER,
- oldAttrAfter, attrAfter));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getChildren()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
- return ((InternalEList<?>)getChildren()).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.PERSISTENT_CONTAINMENT__ATTR_BEFORE:
- return getAttrBefore();
- case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
- return getChildren();
- case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER:
- return getAttrAfter();
- }
- 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.PERSISTENT_CONTAINMENT__ATTR_BEFORE:
- setAttrBefore((String)newValue);
- return;
- case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
- getChildren().clear();
- getChildren().addAll((Collection<? extends TransientContainer>)newValue);
- return;
- case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER:
- setAttrAfter((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE:
- setAttrBefore(ATTR_BEFORE_EDEFAULT);
- return;
- case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
- getChildren().clear();
- return;
- case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER:
- setAttrAfter(ATTR_AFTER_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE:
- return ATTR_BEFORE_EDEFAULT == null ? attrBefore != null : !ATTR_BEFORE_EDEFAULT.equals(attrBefore);
- case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN:
- return children != null && !children.isEmpty();
- case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER:
- return ATTR_AFTER_EDEFAULT == null ? attrAfter != null : !ATTR_AFTER_EDEFAULT.equals(attrAfter);
- }
- 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(" (attrBefore: ");
- result.append(attrBefore);
- result.append(", attrAfter: ");
- result.append(attrAfter);
- result.append(')');
- return result.toString();
- }
-
-} // PersistentContainmentImpl
+/* + * 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.model2.PersistentContainment; +import org.eclipse.emf.cdo.tests.model2.TransientContainer; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Persistent Containment</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getAttrBefore <em>Attr Before</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getChildren <em>Children</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.PersistentContainmentImpl#getAttrAfter <em>Attr After</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PersistentContainmentImpl extends EObjectImpl implements PersistentContainment +{ + /** + * The default value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getAttrBefore() + * @generated + * @ordered + */ + protected static final String ATTR_BEFORE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getAttrBefore() + * @generated + * @ordered + */ + protected String attrBefore = ATTR_BEFORE_EDEFAULT; + + /** + * The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getChildren() + * @generated + * @ordered + */ + protected EList<TransientContainer> children; + + /** + * The default value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getAttrAfter() + * @generated + * @ordered + */ + protected static final String ATTR_AFTER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getAttrAfter() + * @generated + * @ordered + */ + protected String attrAfter = ATTR_AFTER_EDEFAULT; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected PersistentContainmentImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getPersistentContainment(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getAttrBefore() + { + return attrBefore; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setAttrBefore(String newAttrBefore) + { + String oldAttrBefore = attrBefore; + attrBefore = newAttrBefore; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE, + oldAttrBefore, attrBefore)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EList<TransientContainer> getChildren() + { + if (children == null) + { + children = new EObjectContainmentWithInverseEList<TransientContainer>(TransientContainer.class, this, + Model2Package.PERSISTENT_CONTAINMENT__CHILDREN, Model2Package.TRANSIENT_CONTAINER__PARENT); + } + return children; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getAttrAfter() + { + return attrAfter; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setAttrAfter(String newAttrAfter) + { + String oldAttrAfter = attrAfter; + attrAfter = newAttrAfter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER, + oldAttrAfter, attrAfter)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN: + return ((InternalEList<InternalEObject>)(InternalEList<?>)getChildren()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN: + return ((InternalEList<?>)getChildren()).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.PERSISTENT_CONTAINMENT__ATTR_BEFORE: + return getAttrBefore(); + case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN: + return getChildren(); + case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER: + return getAttrAfter(); + } + 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.PERSISTENT_CONTAINMENT__ATTR_BEFORE: + setAttrBefore((String)newValue); + return; + case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN: + getChildren().clear(); + getChildren().addAll((Collection<? extends TransientContainer>)newValue); + return; + case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER: + setAttrAfter((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE: + setAttrBefore(ATTR_BEFORE_EDEFAULT); + return; + case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN: + getChildren().clear(); + return; + case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER: + setAttrAfter(ATTR_AFTER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.PERSISTENT_CONTAINMENT__ATTR_BEFORE: + return ATTR_BEFORE_EDEFAULT == null ? attrBefore != null : !ATTR_BEFORE_EDEFAULT.equals(attrBefore); + case Model2Package.PERSISTENT_CONTAINMENT__CHILDREN: + return children != null && !children.isEmpty(); + case Model2Package.PERSISTENT_CONTAINMENT__ATTR_AFTER: + return ATTR_AFTER_EDEFAULT == null ? attrAfter != null : !ATTR_AFTER_EDEFAULT.equals(attrAfter); + } + 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(" (attrBefore: "); + result.append(attrBefore); + result.append(", attrAfter: "); + result.append(attrAfter); + result.append(')'); + return result.toString(); + } + +} // PersistentContainmentImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/SpecialPurchaseOrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/SpecialPurchaseOrderImpl.java index 87bb8874b4..28ab13b840 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/SpecialPurchaseOrderImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/SpecialPurchaseOrderImpl.java @@ -1,282 +1,282 @@ -/*
- * 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.impl.PurchaseOrderImpl;
-import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Special Purchase Order</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl#getDiscountCode <em>Discount Code
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl#getShippingAddress <em>Shipping
- * Address</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements SpecialPurchaseOrder
-{
- /**
- * The default value of the '{@link #getDiscountCode() <em>Discount Code</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDiscountCode()
- * @generated
- * @ordered
- */
- protected static final String DISCOUNT_CODE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDiscountCode() <em>Discount Code</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getDiscountCode()
- * @generated
- * @ordered
- */
- protected String discountCode = DISCOUNT_CODE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getShippingAddress() <em>Shipping Address</em>}' containment reference. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getShippingAddress()
- * @generated
- * @ordered
- */
- protected Address shippingAddress;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected SpecialPurchaseOrderImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getSpecialPurchaseOrder();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDiscountCode()
- {
- return discountCode;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDiscountCode(String newDiscountCode)
- {
- String oldDiscountCode = discountCode;
- discountCode = newDiscountCode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE,
- oldDiscountCode, discountCode));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getShippingAddress()
- {
- return shippingAddress;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetShippingAddress(Address newShippingAddress, NotificationChain msgs)
- {
- Address oldShippingAddress = shippingAddress;
- shippingAddress = newShippingAddress;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, oldShippingAddress, newShippingAddress);
- if (msgs == null)
- msgs = notification;
- else
- msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setShippingAddress(Address newShippingAddress)
- {
- if (newShippingAddress != shippingAddress)
- {
- NotificationChain msgs = null;
- if (shippingAddress != null)
- msgs = ((InternalEObject)shippingAddress).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, null, msgs);
- if (newShippingAddress != null)
- msgs = ((InternalEObject)newShippingAddress).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, null, msgs);
- msgs = basicSetShippingAddress(newShippingAddress, msgs);
- if (msgs != null)
- msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS,
- newShippingAddress, newShippingAddress));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
- return basicSetShippingAddress(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.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE:
- return getDiscountCode();
- case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
- return getShippingAddress();
- }
- 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.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE:
- setDiscountCode((String)newValue);
- return;
- case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
- setShippingAddress((Address)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE:
- setDiscountCode(DISCOUNT_CODE_EDEFAULT);
- return;
- case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
- setShippingAddress((Address)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE:
- return DISCOUNT_CODE_EDEFAULT == null ? discountCode != null : !DISCOUNT_CODE_EDEFAULT.equals(discountCode);
- case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS:
- return shippingAddress != null;
- }
- 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(" (discountCode: ");
- result.append(discountCode);
- result.append(')');
- return result.toString();
- }
-
-} // SpecialPurchaseOrderImpl
+/* + * 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.impl.PurchaseOrderImpl; +import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model1.Address; +import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Special Purchase Order</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl#getDiscountCode <em>Discount Code + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.SpecialPurchaseOrderImpl#getShippingAddress <em>Shipping + * Address</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements SpecialPurchaseOrder +{ + /** + * The default value of the '{@link #getDiscountCode() <em>Discount Code</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getDiscountCode() + * @generated + * @ordered + */ + protected static final String DISCOUNT_CODE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDiscountCode() <em>Discount Code</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getDiscountCode() + * @generated + * @ordered + */ + protected String discountCode = DISCOUNT_CODE_EDEFAULT; + + /** + * The cached value of the '{@link #getShippingAddress() <em>Shipping Address</em>}' containment reference. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @see #getShippingAddress() + * @generated + * @ordered + */ + protected Address shippingAddress; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected SpecialPurchaseOrderImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getSpecialPurchaseOrder(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getDiscountCode() + { + return discountCode; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setDiscountCode(String newDiscountCode) + { + String oldDiscountCode = discountCode; + discountCode = newDiscountCode; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE, + oldDiscountCode, discountCode)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getShippingAddress() + { + return shippingAddress; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public NotificationChain basicSetShippingAddress(Address newShippingAddress, NotificationChain msgs) + { + Address oldShippingAddress = shippingAddress; + shippingAddress = newShippingAddress; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, oldShippingAddress, newShippingAddress); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setShippingAddress(Address newShippingAddress) + { + if (newShippingAddress != shippingAddress) + { + NotificationChain msgs = null; + if (shippingAddress != null) + msgs = ((InternalEObject)shippingAddress).eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, null, msgs); + if (newShippingAddress != null) + msgs = ((InternalEObject)newShippingAddress).eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, null, msgs); + msgs = basicSetShippingAddress(newShippingAddress, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS, + newShippingAddress, newShippingAddress)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS: + return basicSetShippingAddress(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.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE: + return getDiscountCode(); + case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS: + return getShippingAddress(); + } + 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.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE: + setDiscountCode((String)newValue); + return; + case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS: + setShippingAddress((Address)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE: + setDiscountCode(DISCOUNT_CODE_EDEFAULT); + return; + case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS: + setShippingAddress((Address)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE: + return DISCOUNT_CODE_EDEFAULT == null ? discountCode != null : !DISCOUNT_CODE_EDEFAULT.equals(discountCode); + case Model2Package.SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS: + return shippingAddress != null; + } + 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(" (discountCode: "); + result.append(discountCode); + result.append(')'); + return result.toString(); + } + +} // SpecialPurchaseOrderImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressContainmentMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressContainmentMapImpl.java index 2fe09c9c55..e8e1ae6ec1 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressContainmentMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressContainmentMapImpl.java @@ -1,371 +1,371 @@ -/*
- * 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: StringToAddressContainmentMapImpl.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.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>String To Address Containment Map</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressContainmentMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressContainmentMapImpl#getTypedValue <em>Value
- * </em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StringToAddressContainmentMapImpl extends EObjectImpl implements BasicEMap.Entry<String, Address>
-{
- /**
- * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected static final String 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 String key = KEY_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getTypedValue() <em>Value</em>}' containment reference. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected Address value;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected StringToAddressContainmentMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getStringToAddressContainmentMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(String newKey)
- {
- String oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY,
- oldKey, key));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getTypedValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetTypedValue(Address newValue, NotificationChain msgs)
- {
- Address oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- Model2Package.STRING_TO_ADDRESS_CONTAINMENT_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(Address newValue)
- {
- if (newValue != value)
- {
- NotificationChain msgs = null;
- if (value != null)
- msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE, null, msgs);
- if (newValue != null)
- msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE, null, msgs);
- msgs = basicSetTypedValue(newValue, msgs);
- if (msgs != null)
- msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_ADDRESS_CONTAINMENT_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.STRING_TO_ADDRESS_CONTAINMENT_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.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY:
- return getTypedKey();
- case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_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.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY:
- setTypedKey((String)newValue);
- return;
- case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE:
- setTypedValue((Address)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY:
- setTypedKey(KEY_EDEFAULT);
- return;
- case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE:
- setTypedValue((Address)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY:
- return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
- case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE:
- return value != null;
- }
- 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(')');
- 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 String getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address setValue(Address value)
- {
- Address oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, Address> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<String, Address>)container.eGet(eContainmentFeature());
- }
-
-} // StringToAddressContainmentMapImpl
+/* + * 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: StringToAddressContainmentMapImpl.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.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>String To Address Containment Map</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressContainmentMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressContainmentMapImpl#getTypedValue <em>Value + * </em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringToAddressContainmentMapImpl extends EObjectImpl implements BasicEMap.Entry<String, Address> +{ + /** + * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @see #getTypedKey() + * @generated + * @ordered + */ + protected static final String 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 String key = KEY_EDEFAULT; + + /** + * The cached value of the '{@link #getTypedValue() <em>Value</em>}' containment reference. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getTypedValue() + * @generated + * @ordered + */ + protected Address value; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected StringToAddressContainmentMapImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getStringToAddressContainmentMap(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedKey() + { + return key; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(String newKey) + { + String oldKey = key; + key = newKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY, + oldKey, key)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getTypedValue() + { + return value; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public NotificationChain basicSetTypedValue(Address newValue, NotificationChain msgs) + { + Address oldValue = value; + value = newValue; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + Model2Package.STRING_TO_ADDRESS_CONTAINMENT_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(Address newValue) + { + if (newValue != value) + { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE, null, msgs); + msgs = basicSetTypedValue(newValue, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_ADDRESS_CONTAINMENT_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.STRING_TO_ADDRESS_CONTAINMENT_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.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY: + return getTypedKey(); + case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_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.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY: + setTypedKey((String)newValue); + return; + case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE: + setTypedValue((Address)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY: + setTypedKey(KEY_EDEFAULT); + return; + case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE: + setTypedValue((Address)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__KEY: + return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); + case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP__VALUE: + return value != null; + } + 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(')'); + 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 String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setKey(String key) + { + setTypedKey(key); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getValue() + { + return getTypedValue(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address setValue(Address value) + { + Address oldValue = getValue(); + setTypedValue(value); + return oldValue; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, Address> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, Address>)container.eGet(eContainmentFeature()); + } + +} // StringToAddressContainmentMapImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressReferenceMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressReferenceMapImpl.java index d1c9aeaeb0..92f24318c4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressReferenceMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToAddressReferenceMapImpl.java @@ -1,345 +1,345 @@ -/*
- * 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: StringToAddressReferenceMapImpl.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.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>String To Address Reference Map</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressReferenceMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressReferenceMapImpl#getTypedValue <em>Value</em>}
- * </li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StringToAddressReferenceMapImpl extends EObjectImpl implements BasicEMap.Entry<String, Address>
-{
- /**
- * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected static final String 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 String key = KEY_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected Address value;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected StringToAddressReferenceMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getStringToAddressReferenceMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(String newKey)
- {
- String oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__KEY, oldKey,
- key));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getTypedValue()
- {
- if (value != null && value.eIsProxy())
- {
- InternalEObject oldValue = (InternalEObject)value;
- value = (Address)eResolveProxy(oldValue);
- if (value != oldValue)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__VALUE, oldValue, value));
- }
- }
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address basicGetTypedValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(Address newValue)
- {
- Address oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_ADDRESS_REFERENCE_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.STRING_TO_ADDRESS_REFERENCE_MAP__KEY:
- return getTypedKey();
- case Model2Package.STRING_TO_ADDRESS_REFERENCE_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.STRING_TO_ADDRESS_REFERENCE_MAP__KEY:
- setTypedKey((String)newValue);
- return;
- case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__VALUE:
- setTypedValue((Address)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__KEY:
- setTypedKey(KEY_EDEFAULT);
- return;
- case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__VALUE:
- setTypedValue((Address)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__KEY:
- return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
- case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__VALUE:
- return value != null;
- }
- 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(')');
- 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 String getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address setValue(Address value)
- {
- Address oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, Address> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<String, Address>)container.eGet(eContainmentFeature());
- }
-
-} // StringToAddressReferenceMapImpl
+/* + * 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: StringToAddressReferenceMapImpl.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.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>String To Address Reference Map</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressReferenceMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToAddressReferenceMapImpl#getTypedValue <em>Value</em>} + * </li> + * </ul> + * </p> + * + * @generated + */ +public class StringToAddressReferenceMapImpl extends EObjectImpl implements BasicEMap.Entry<String, Address> +{ + /** + * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @see #getTypedKey() + * @generated + * @ordered + */ + protected static final String 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 String key = KEY_EDEFAULT; + + /** + * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getTypedValue() + * @generated + * @ordered + */ + protected Address value; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected StringToAddressReferenceMapImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getStringToAddressReferenceMap(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedKey() + { + return key; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(String newKey) + { + String oldKey = key; + key = newKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__KEY, oldKey, + key)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getTypedValue() + { + if (value != null && value.eIsProxy()) + { + InternalEObject oldValue = (InternalEObject)value; + value = (Address)eResolveProxy(oldValue); + if (value != oldValue) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__VALUE, oldValue, value)); + } + } + return value; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address basicGetTypedValue() + { + return value; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(Address newValue) + { + Address oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_ADDRESS_REFERENCE_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.STRING_TO_ADDRESS_REFERENCE_MAP__KEY: + return getTypedKey(); + case Model2Package.STRING_TO_ADDRESS_REFERENCE_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.STRING_TO_ADDRESS_REFERENCE_MAP__KEY: + setTypedKey((String)newValue); + return; + case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__VALUE: + setTypedValue((Address)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__KEY: + setTypedKey(KEY_EDEFAULT); + return; + case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__VALUE: + setTypedValue((Address)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__KEY: + return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); + case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP__VALUE: + return value != null; + } + 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(')'); + 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 String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setKey(String key) + { + setTypedKey(key); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getValue() + { + return getTypedValue(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address setValue(Address value) + { + Address oldValue = getValue(); + setTypedValue(value); + return oldValue; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, Address> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, Address>)container.eGet(eContainmentFeature()); + } + +} // StringToAddressReferenceMapImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToStringMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToStringMapImpl.java index c481668b85..233fa1a194 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToStringMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToStringMapImpl.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: StringToStringMapImpl.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>String 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.StringToStringMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToStringMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StringToStringMapImpl extends EObjectImpl implements BasicEMap.Entry<String, 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 String 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 String 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 StringToStringMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getStringToStringMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(String newKey)
- {
- String oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_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.STRING_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.STRING_TO_STRING_MAP__KEY:
- return getTypedKey();
- case Model2Package.STRING_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.STRING_TO_STRING_MAP__KEY:
- setTypedKey((String)newValue);
- return;
- case Model2Package.STRING_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.STRING_TO_STRING_MAP__KEY:
- setTypedKey(KEY_EDEFAULT);
- return;
- case Model2Package.STRING_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.STRING_TO_STRING_MAP__KEY:
- return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
- case Model2Package.STRING_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 String getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String 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<String, String> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<String, String>)container.eGet(eContainmentFeature());
- }
-
-} // StringToStringMapImpl
+/* + * 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: StringToStringMapImpl.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>String 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.StringToStringMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToStringMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringToStringMapImpl extends EObjectImpl implements BasicEMap.Entry<String, 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 String 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 String 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 StringToStringMapImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getStringToStringMap(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedKey() + { + return key; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(String newKey) + { + String oldKey = key; + key = newKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_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.STRING_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.STRING_TO_STRING_MAP__KEY: + return getTypedKey(); + case Model2Package.STRING_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.STRING_TO_STRING_MAP__KEY: + setTypedKey((String)newValue); + return; + case Model2Package.STRING_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.STRING_TO_STRING_MAP__KEY: + setTypedKey(KEY_EDEFAULT); + return; + case Model2Package.STRING_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.STRING_TO_STRING_MAP__KEY: + return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); + case Model2Package.STRING_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 String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setKey(String 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<String, String> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, String>)container.eGet(eContainmentFeature()); + } + +} // StringToStringMapImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToVATMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToVATMapImpl.java index 4535e25878..c4a6a358d2 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToVATMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/StringToVATMapImpl.java @@ -1,330 +1,330 @@ -/*
- * 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: StringToVATMapImpl.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.VAT;
-
-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>String To VAT Map</b></em>'. <!-- end-user-doc
- * -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToVATMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToVATMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StringToVATMapImpl extends EObjectImpl implements BasicEMap.Entry<String, VAT>
-{
- /**
- * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @see #getTypedKey()
- * @generated
- * @ordered
- */
- protected static final String 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 String 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 VAT VALUE_EDEFAULT = VAT.VAT0;
-
- /**
- * The cached value of the '{@link #getTypedValue() <em>Value</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getTypedValue()
- * @generated
- * @ordered
- */
- protected VAT value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected StringToVATMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getStringToVATMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedKey()
- {
- return key;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(String newKey)
- {
- String oldKey = key;
- key = newKey;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_VAT_MAP__KEY, oldKey, key));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getTypedValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(VAT newValue)
- {
- VAT oldValue = value;
- value = newValue == null ? VALUE_EDEFAULT : newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_VAT_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.STRING_TO_VAT_MAP__KEY:
- return getTypedKey();
- case Model2Package.STRING_TO_VAT_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.STRING_TO_VAT_MAP__KEY:
- setTypedKey((String)newValue);
- return;
- case Model2Package.STRING_TO_VAT_MAP__VALUE:
- setTypedValue((VAT)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.STRING_TO_VAT_MAP__KEY:
- setTypedKey(KEY_EDEFAULT);
- return;
- case Model2Package.STRING_TO_VAT_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.STRING_TO_VAT_MAP__KEY:
- return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key);
- case Model2Package.STRING_TO_VAT_MAP__VALUE:
- return value != VALUE_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(" (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 String getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT setValue(VAT value)
- {
- VAT oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, VAT> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<String, VAT>)container.eGet(eContainmentFeature());
- }
-
-} // StringToVATMapImpl
+/* + * 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: StringToVATMapImpl.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.VAT; + +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>String To VAT Map</b></em>'. <!-- end-user-doc + * --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToVATMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.StringToVATMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringToVATMapImpl extends EObjectImpl implements BasicEMap.Entry<String, VAT> +{ + /** + * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @see #getTypedKey() + * @generated + * @ordered + */ + protected static final String 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 String 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 VAT VALUE_EDEFAULT = VAT.VAT0; + + /** + * The cached value of the '{@link #getTypedValue() <em>Value</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getTypedValue() + * @generated + * @ordered + */ + protected VAT value = VALUE_EDEFAULT; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected StringToVATMapImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getStringToVATMap(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedKey() + { + return key; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(String newKey) + { + String oldKey = key; + key = newKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_VAT_MAP__KEY, oldKey, key)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getTypedValue() + { + return value; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(VAT newValue) + { + VAT oldValue = value; + value = newValue == null ? VALUE_EDEFAULT : newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.STRING_TO_VAT_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.STRING_TO_VAT_MAP__KEY: + return getTypedKey(); + case Model2Package.STRING_TO_VAT_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.STRING_TO_VAT_MAP__KEY: + setTypedKey((String)newValue); + return; + case Model2Package.STRING_TO_VAT_MAP__VALUE: + setTypedValue((VAT)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.STRING_TO_VAT_MAP__KEY: + setTypedKey(KEY_EDEFAULT); + return; + case Model2Package.STRING_TO_VAT_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.STRING_TO_VAT_MAP__KEY: + return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); + case Model2Package.STRING_TO_VAT_MAP__VALUE: + return value != VALUE_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(" (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 String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setKey(String key) + { + setTypedKey(key); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getValue() + { + return getTypedValue(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT setValue(VAT value) + { + VAT oldValue = getValue(); + setTypedValue(value); + return oldValue; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, VAT> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, VAT>)container.eGet(eContainmentFeature()); + } + +} // StringToVATMapImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskContainerImpl.java index 0aaab72f37..a50d748758 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskContainerImpl.java @@ -1,187 +1,187 @@ -/*
- * 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.model2.Task;
-import org.eclipse.emf.cdo.tests.model2.TaskContainer;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Task Container</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl#getTasks <em>Tasks</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TaskContainerImpl extends EObjectImpl implements TaskContainer
-{
- /**
- * The cached value of the '{@link #getTasks() <em>Tasks</em>}' containment reference list. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTasks()
- * @generated
- * @ordered
- */
- protected EList<Task> tasks;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected TaskContainerImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getTaskContainer();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<Task> getTasks()
- {
- if (tasks == null)
- {
- tasks = new EObjectContainmentWithInverseEList<Task>(Task.class, this, Model2Package.TASK_CONTAINER__TASKS,
- Model2Package.TASK__TASK_CONTAINER);
- }
- return tasks;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.TASK_CONTAINER__TASKS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getTasks()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.TASK_CONTAINER__TASKS:
- return ((InternalEList<?>)getTasks()).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.TASK_CONTAINER__TASKS:
- return getTasks();
- }
- 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.TASK_CONTAINER__TASKS:
- getTasks().clear();
- getTasks().addAll((Collection<? extends Task>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.TASK_CONTAINER__TASKS:
- getTasks().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.TASK_CONTAINER__TASKS:
- return tasks != null && !tasks.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // TaskContainerImpl
+/* + * 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.model2.Task; +import org.eclipse.emf.cdo.tests.model2.TaskContainer; + +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Task Container</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskContainerImpl#getTasks <em>Tasks</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TaskContainerImpl extends EObjectImpl implements TaskContainer +{ + /** + * The cached value of the '{@link #getTasks() <em>Tasks</em>}' containment reference list. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getTasks() + * @generated + * @ordered + */ + protected EList<Task> tasks; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected TaskContainerImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getTaskContainer(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EList<Task> getTasks() + { + if (tasks == null) + { + tasks = new EObjectContainmentWithInverseEList<Task>(Task.class, this, Model2Package.TASK_CONTAINER__TASKS, + Model2Package.TASK__TASK_CONTAINER); + } + return tasks; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.TASK_CONTAINER__TASKS: + return ((InternalEList<InternalEObject>)(InternalEList<?>)getTasks()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.TASK_CONTAINER__TASKS: + return ((InternalEList<?>)getTasks()).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.TASK_CONTAINER__TASKS: + return getTasks(); + } + 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.TASK_CONTAINER__TASKS: + getTasks().clear(); + getTasks().addAll((Collection<? extends Task>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.TASK_CONTAINER__TASKS: + getTasks().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.TASK_CONTAINER__TASKS: + return tasks != null && !tasks.isEmpty(); + } + return super.eIsSet(featureID); + } + +} // TaskContainerImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskImpl.java index 57813e0b97..c175fae3ea 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskImpl.java @@ -1,352 +1,352 @@ -/*
- * 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.model2.Task;
-import org.eclipse.emf.cdo.tests.model2.TaskContainer;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Task</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#getTaskContainer <em>Task Container</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#isDone <em>Done</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TaskImpl extends EObjectImpl implements Task
-{
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #isDone() <em>Done</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isDone()
- * @generated
- * @ordered
- */
- protected static final boolean DONE_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isDone() <em>Done</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isDone()
- * @generated
- * @ordered
- */
- protected boolean done = DONE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected TaskImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getTask();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public TaskContainer getTaskContainer()
- {
- if (eContainerFeatureID() != Model2Package.TASK__TASK_CONTAINER)
- return null;
- return (TaskContainer)eContainer();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetTaskContainer(TaskContainer newTaskContainer, NotificationChain msgs)
- {
- msgs = eBasicSetContainer((InternalEObject)newTaskContainer, Model2Package.TASK__TASK_CONTAINER, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTaskContainer(TaskContainer newTaskContainer)
- {
- if (newTaskContainer != eInternalContainer()
- || (eContainerFeatureID() != Model2Package.TASK__TASK_CONTAINER && newTaskContainer != null))
- {
- if (EcoreUtil.isAncestor(this, newTaskContainer))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newTaskContainer != null)
- msgs = ((InternalEObject)newTaskContainer).eInverseAdd(this, Model2Package.TASK_CONTAINER__TASKS,
- TaskContainer.class, msgs);
- msgs = basicSetTaskContainer(newTaskContainer, msgs);
- if (msgs != null)
- msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__TASK_CONTAINER, newTaskContainer,
- newTaskContainer));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDescription()
- {
- return description;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDescription(String newDescription)
- {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__DESCRIPTION, oldDescription,
- description));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isDone()
- {
- return done;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDone(boolean newDone)
- {
- boolean oldDone = done;
- done = newDone;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__DONE, oldDone, done));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.TASK__TASK_CONTAINER:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetTaskContainer((TaskContainer)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.TASK__TASK_CONTAINER:
- return basicSetTaskContainer(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- {
- switch (eContainerFeatureID())
- {
- case Model2Package.TASK__TASK_CONTAINER:
- return eInternalContainer().eInverseRemove(this, Model2Package.TASK_CONTAINER__TASKS, TaskContainer.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.TASK__TASK_CONTAINER:
- return getTaskContainer();
- case Model2Package.TASK__DESCRIPTION:
- return getDescription();
- case Model2Package.TASK__DONE:
- return isDone();
- }
- 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.TASK__TASK_CONTAINER:
- setTaskContainer((TaskContainer)newValue);
- return;
- case Model2Package.TASK__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case Model2Package.TASK__DONE:
- setDone((Boolean)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.TASK__TASK_CONTAINER:
- setTaskContainer((TaskContainer)null);
- return;
- case Model2Package.TASK__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case Model2Package.TASK__DONE:
- setDone(DONE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.TASK__TASK_CONTAINER:
- return getTaskContainer() != null;
- case Model2Package.TASK__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case Model2Package.TASK__DONE:
- return done != DONE_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(" (description: ");
- result.append(description);
- result.append(", done: ");
- result.append(done);
- result.append(')');
- return result.toString();
- }
-
-} // TaskImpl
+/* + * 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.model2.Task; +import org.eclipse.emf.cdo.tests.model2.TaskContainer; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EcoreUtil; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Task</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#getTaskContainer <em>Task Container</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TaskImpl#isDone <em>Done</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TaskImpl extends EObjectImpl implements Task +{ + /** + * The default value of the '{@link #getDescription() <em>Description</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getDescription() + * @generated + * @ordered + */ + protected static final String DESCRIPTION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getDescription() + * @generated + * @ordered + */ + protected String description = DESCRIPTION_EDEFAULT; + + /** + * The default value of the '{@link #isDone() <em>Done</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isDone() + * @generated + * @ordered + */ + protected static final boolean DONE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isDone() <em>Done</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isDone() + * @generated + * @ordered + */ + protected boolean done = DONE_EDEFAULT; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected TaskImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getTask(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public TaskContainer getTaskContainer() + { + if (eContainerFeatureID() != Model2Package.TASK__TASK_CONTAINER) + return null; + return (TaskContainer)eContainer(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public NotificationChain basicSetTaskContainer(TaskContainer newTaskContainer, NotificationChain msgs) + { + msgs = eBasicSetContainer((InternalEObject)newTaskContainer, Model2Package.TASK__TASK_CONTAINER, msgs); + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTaskContainer(TaskContainer newTaskContainer) + { + if (newTaskContainer != eInternalContainer() + || (eContainerFeatureID() != Model2Package.TASK__TASK_CONTAINER && newTaskContainer != null)) + { + if (EcoreUtil.isAncestor(this, newTaskContainer)) + throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); + NotificationChain msgs = null; + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + if (newTaskContainer != null) + msgs = ((InternalEObject)newTaskContainer).eInverseAdd(this, Model2Package.TASK_CONTAINER__TASKS, + TaskContainer.class, msgs); + msgs = basicSetTaskContainer(newTaskContainer, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__TASK_CONTAINER, newTaskContainer, + newTaskContainer)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getDescription() + { + return description; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setDescription(String newDescription) + { + String oldDescription = description; + description = newDescription; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__DESCRIPTION, oldDescription, + description)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isDone() + { + return done; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setDone(boolean newDone) + { + boolean oldDone = done; + done = newDone; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TASK__DONE, oldDone, done)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.TASK__TASK_CONTAINER: + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + return basicSetTaskContainer((TaskContainer)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.TASK__TASK_CONTAINER: + return basicSetTaskContainer(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) + { + switch (eContainerFeatureID()) + { + case Model2Package.TASK__TASK_CONTAINER: + return eInternalContainer().eInverseRemove(this, Model2Package.TASK_CONTAINER__TASKS, TaskContainer.class, msgs); + } + return super.eBasicRemoveFromContainerFeature(msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case Model2Package.TASK__TASK_CONTAINER: + return getTaskContainer(); + case Model2Package.TASK__DESCRIPTION: + return getDescription(); + case Model2Package.TASK__DONE: + return isDone(); + } + 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.TASK__TASK_CONTAINER: + setTaskContainer((TaskContainer)newValue); + return; + case Model2Package.TASK__DESCRIPTION: + setDescription((String)newValue); + return; + case Model2Package.TASK__DONE: + setDone((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.TASK__TASK_CONTAINER: + setTaskContainer((TaskContainer)null); + return; + case Model2Package.TASK__DESCRIPTION: + setDescription(DESCRIPTION_EDEFAULT); + return; + case Model2Package.TASK__DONE: + setDone(DONE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.TASK__TASK_CONTAINER: + return getTaskContainer() != null; + case Model2Package.TASK__DESCRIPTION: + return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description); + case Model2Package.TASK__DONE: + return done != DONE_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(" (description: "); + result.append(description); + result.append(", done: "); + result.append(done); + result.append(')'); + return result.toString(); + } + +} // TaskImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TransientContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TransientContainerImpl.java index 319881b4af..404dc5dfe1 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TransientContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TransientContainerImpl.java @@ -1,357 +1,357 @@ -/*
- * 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.model2.PersistentContainment;
-import org.eclipse.emf.cdo.tests.model2.TransientContainer;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Transient Container</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getAttrBefore <em>Attr Before</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getAttrAfter <em>Attr After</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TransientContainerImpl extends EObjectImpl implements TransientContainer
-{
- /**
- * The default value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getAttrBefore()
- * @generated
- * @ordered
- */
- protected static final String ATTR_BEFORE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getAttrBefore()
- * @generated
- * @ordered
- */
- protected String attrBefore = ATTR_BEFORE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getAttrAfter()
- * @generated
- * @ordered
- */
- protected static final String ATTR_AFTER_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!--
- * end-user-doc -->
- *
- * @see #getAttrAfter()
- * @generated
- * @ordered
- */
- protected String attrAfter = ATTR_AFTER_EDEFAULT;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected TransientContainerImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getTransientContainer();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getAttrBefore()
- {
- return attrBefore;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAttrBefore(String newAttrBefore)
- {
- String oldAttrBefore = attrBefore;
- attrBefore = newAttrBefore;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE,
- oldAttrBefore, attrBefore));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public PersistentContainment getParent()
- {
- if (eContainerFeatureID() != Model2Package.TRANSIENT_CONTAINER__PARENT)
- return null;
- return (PersistentContainment)eContainer();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetParent(PersistentContainment newParent, NotificationChain msgs)
- {
- msgs = eBasicSetContainer((InternalEObject)newParent, Model2Package.TRANSIENT_CONTAINER__PARENT, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setParent(PersistentContainment newParent)
- {
- if (newParent != eInternalContainer()
- || (eContainerFeatureID() != Model2Package.TRANSIENT_CONTAINER__PARENT && newParent != null))
- {
- if (EcoreUtil.isAncestor(this, newParent))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newParent != null)
- msgs = ((InternalEObject)newParent).eInverseAdd(this, Model2Package.PERSISTENT_CONTAINMENT__CHILDREN,
- PersistentContainment.class, msgs);
- msgs = basicSetParent(newParent, msgs);
- if (msgs != null)
- msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__PARENT, newParent,
- newParent));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getAttrAfter()
- {
- return attrAfter;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAttrAfter(String newAttrAfter)
- {
- String oldAttrAfter = attrAfter;
- attrAfter = newAttrAfter;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER,
- oldAttrAfter, attrAfter));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.TRANSIENT_CONTAINER__PARENT:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetParent((PersistentContainment)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case Model2Package.TRANSIENT_CONTAINER__PARENT:
- return basicSetParent(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- {
- switch (eContainerFeatureID())
- {
- case Model2Package.TRANSIENT_CONTAINER__PARENT:
- return eInternalContainer().eInverseRemove(this, Model2Package.PERSISTENT_CONTAINMENT__CHILDREN,
- PersistentContainment.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE:
- return getAttrBefore();
- case Model2Package.TRANSIENT_CONTAINER__PARENT:
- return getParent();
- case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER:
- return getAttrAfter();
- }
- 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.TRANSIENT_CONTAINER__ATTR_BEFORE:
- setAttrBefore((String)newValue);
- return;
- case Model2Package.TRANSIENT_CONTAINER__PARENT:
- setParent((PersistentContainment)newValue);
- return;
- case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER:
- setAttrAfter((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE:
- setAttrBefore(ATTR_BEFORE_EDEFAULT);
- return;
- case Model2Package.TRANSIENT_CONTAINER__PARENT:
- setParent((PersistentContainment)null);
- return;
- case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER:
- setAttrAfter(ATTR_AFTER_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE:
- return ATTR_BEFORE_EDEFAULT == null ? attrBefore != null : !ATTR_BEFORE_EDEFAULT.equals(attrBefore);
- case Model2Package.TRANSIENT_CONTAINER__PARENT:
- return getParent() != null;
- case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER:
- return ATTR_AFTER_EDEFAULT == null ? attrAfter != null : !ATTR_AFTER_EDEFAULT.equals(attrAfter);
- }
- 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(" (attrBefore: ");
- result.append(attrBefore);
- result.append(", attrAfter: ");
- result.append(attrAfter);
- result.append(')');
- return result.toString();
- }
-
-} // TransientContainerImpl
+/* + * 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.model2.PersistentContainment; +import org.eclipse.emf.cdo.tests.model2.TransientContainer; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EcoreUtil; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Transient Container</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getAttrBefore <em>Attr Before</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.TransientContainerImpl#getAttrAfter <em>Attr After</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TransientContainerImpl extends EObjectImpl implements TransientContainer +{ + /** + * The default value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getAttrBefore() + * @generated + * @ordered + */ + protected static final String ATTR_BEFORE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttrBefore() <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getAttrBefore() + * @generated + * @ordered + */ + protected String attrBefore = ATTR_BEFORE_EDEFAULT; + + /** + * The default value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getAttrAfter() + * @generated + * @ordered + */ + protected static final String ATTR_AFTER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getAttrAfter() <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getAttrAfter() + * @generated + * @ordered + */ + protected String attrAfter = ATTR_AFTER_EDEFAULT; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected TransientContainerImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getTransientContainer(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getAttrBefore() + { + return attrBefore; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setAttrBefore(String newAttrBefore) + { + String oldAttrBefore = attrBefore; + attrBefore = newAttrBefore; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE, + oldAttrBefore, attrBefore)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public PersistentContainment getParent() + { + if (eContainerFeatureID() != Model2Package.TRANSIENT_CONTAINER__PARENT) + return null; + return (PersistentContainment)eContainer(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public NotificationChain basicSetParent(PersistentContainment newParent, NotificationChain msgs) + { + msgs = eBasicSetContainer((InternalEObject)newParent, Model2Package.TRANSIENT_CONTAINER__PARENT, msgs); + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setParent(PersistentContainment newParent) + { + if (newParent != eInternalContainer() + || (eContainerFeatureID() != Model2Package.TRANSIENT_CONTAINER__PARENT && newParent != null)) + { + if (EcoreUtil.isAncestor(this, newParent)) + throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); + NotificationChain msgs = null; + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, Model2Package.PERSISTENT_CONTAINMENT__CHILDREN, + PersistentContainment.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__PARENT, newParent, + newParent)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getAttrAfter() + { + return attrAfter; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setAttrAfter(String newAttrAfter) + { + String oldAttrAfter = attrAfter; + attrAfter = newAttrAfter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER, + oldAttrAfter, attrAfter)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.TRANSIENT_CONTAINER__PARENT: + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + return basicSetParent((PersistentContainment)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case Model2Package.TRANSIENT_CONTAINER__PARENT: + return basicSetParent(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) + { + switch (eContainerFeatureID()) + { + case Model2Package.TRANSIENT_CONTAINER__PARENT: + return eInternalContainer().eInverseRemove(this, Model2Package.PERSISTENT_CONTAINMENT__CHILDREN, + PersistentContainment.class, msgs); + } + return super.eBasicRemoveFromContainerFeature(msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE: + return getAttrBefore(); + case Model2Package.TRANSIENT_CONTAINER__PARENT: + return getParent(); + case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER: + return getAttrAfter(); + } + 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.TRANSIENT_CONTAINER__ATTR_BEFORE: + setAttrBefore((String)newValue); + return; + case Model2Package.TRANSIENT_CONTAINER__PARENT: + setParent((PersistentContainment)newValue); + return; + case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER: + setAttrAfter((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE: + setAttrBefore(ATTR_BEFORE_EDEFAULT); + return; + case Model2Package.TRANSIENT_CONTAINER__PARENT: + setParent((PersistentContainment)null); + return; + case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER: + setAttrAfter(ATTR_AFTER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.TRANSIENT_CONTAINER__ATTR_BEFORE: + return ATTR_BEFORE_EDEFAULT == null ? attrBefore != null : !ATTR_BEFORE_EDEFAULT.equals(attrBefore); + case Model2Package.TRANSIENT_CONTAINER__PARENT: + return getParent() != null; + case Model2Package.TRANSIENT_CONTAINER__ATTR_AFTER: + return ATTR_AFTER_EDEFAULT == null ? attrAfter != null : !ATTR_AFTER_EDEFAULT.equals(attrAfter); + } + 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(" (attrBefore: "); + result.append(attrBefore); + result.append(", attrAfter: "); + result.append(attrAfter); + result.append(')'); + return result.toString(); + } + +} // TransientContainerImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable1Impl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable1Impl.java index 38520918d4..785176daba 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable1Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable1Impl.java @@ -1,1190 +1,1190 @@ -/*
- * 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.Unsettable1;
-
-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>Unsettable1</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#isUnsettableBoolean <em>Unsettable Boolean
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableByte <em>Unsettable Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableChar <em>Unsettable Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableDate <em>Unsettable Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableDouble <em>Unsettable Double
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableFloat <em>Unsettable Float</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableInt <em>Unsettable Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableLong <em>Unsettable Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableShort <em>Unsettable Short</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableString <em>Unsettable String
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableVAT <em>Unsettable VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Unsettable1Impl extends EObjectImpl implements Unsettable1
-{
- /**
- * The default value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isUnsettableBoolean()
- * @generated
- * @ordered
- */
- protected static final boolean UNSETTABLE_BOOLEAN_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #isUnsettableBoolean()
- * @generated
- * @ordered
- */
- protected boolean unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT;
-
- /**
- * This is true if the Unsettable Boolean attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableBooleanESet;
-
- /**
- * The default value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableByte()
- * @generated
- * @ordered
- */
- protected static final byte UNSETTABLE_BYTE_EDEFAULT = 0x00;
-
- /**
- * The cached value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableByte()
- * @generated
- * @ordered
- */
- protected byte unsettableByte = UNSETTABLE_BYTE_EDEFAULT;
-
- /**
- * This is true if the Unsettable Byte attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableByteESet;
-
- /**
- * The default value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableChar()
- * @generated
- * @ordered
- */
- protected static final char UNSETTABLE_CHAR_EDEFAULT = '\u0000';
-
- /**
- * The cached value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableChar()
- * @generated
- * @ordered
- */
- protected char unsettableChar = UNSETTABLE_CHAR_EDEFAULT;
-
- /**
- * This is true if the Unsettable Char attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableCharESet;
-
- /**
- * The default value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableDate()
- * @generated
- * @ordered
- */
- protected static final Date UNSETTABLE_DATE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableDate()
- * @generated
- * @ordered
- */
- protected Date unsettableDate = UNSETTABLE_DATE_EDEFAULT;
-
- /**
- * This is true if the Unsettable Date attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableDateESet;
-
- /**
- * The default value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableDouble()
- * @generated
- * @ordered
- */
- protected static final double UNSETTABLE_DOUBLE_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableDouble()
- * @generated
- * @ordered
- */
- protected double unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT;
-
- /**
- * This is true if the Unsettable Double attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableDoubleESet;
-
- /**
- * The default value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableFloat()
- * @generated
- * @ordered
- */
- protected static final float UNSETTABLE_FLOAT_EDEFAULT = 0.0F;
-
- /**
- * The cached value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableFloat()
- * @generated
- * @ordered
- */
- protected float unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT;
-
- /**
- * This is true if the Unsettable Float attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableFloatESet;
-
- /**
- * The default value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableInt()
- * @generated
- * @ordered
- */
- protected static final int UNSETTABLE_INT_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableInt()
- * @generated
- * @ordered
- */
- protected int unsettableInt = UNSETTABLE_INT_EDEFAULT;
-
- /**
- * This is true if the Unsettable Int attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableIntESet;
-
- /**
- * The default value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableLong()
- * @generated
- * @ordered
- */
- protected static final long UNSETTABLE_LONG_EDEFAULT = 0L;
-
- /**
- * The cached value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableLong()
- * @generated
- * @ordered
- */
- protected long unsettableLong = UNSETTABLE_LONG_EDEFAULT;
-
- /**
- * This is true if the Unsettable Long attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableLongESet;
-
- /**
- * The default value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableShort()
- * @generated
- * @ordered
- */
- protected static final short UNSETTABLE_SHORT_EDEFAULT = 0;
-
- /**
- * The cached value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableShort()
- * @generated
- * @ordered
- */
- protected short unsettableShort = UNSETTABLE_SHORT_EDEFAULT;
-
- /**
- * This is true if the Unsettable Short attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableShortESet;
-
- /**
- * The default value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableString()
- * @generated
- * @ordered
- */
- protected static final String UNSETTABLE_STRING_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableString()
- * @generated
- * @ordered
- */
- protected String unsettableString = UNSETTABLE_STRING_EDEFAULT;
-
- /**
- * This is true if the Unsettable String attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableStringESet;
-
- /**
- * The default value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableVAT()
- * @generated
- * @ordered
- */
- protected static final VAT UNSETTABLE_VAT_EDEFAULT = VAT.VAT0;
-
- /**
- * The cached value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableVAT()
- * @generated
- * @ordered
- */
- protected VAT unsettableVAT = UNSETTABLE_VAT_EDEFAULT;
-
- /**
- * This is true if the Unsettable VAT attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableVATESet;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected Unsettable1Impl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getUnsettable1();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isUnsettableBoolean()
- {
- return unsettableBoolean;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableBoolean(boolean newUnsettableBoolean)
- {
- boolean oldUnsettableBoolean = unsettableBoolean;
- unsettableBoolean = newUnsettableBoolean;
- boolean oldUnsettableBooleanESet = unsettableBooleanESet;
- unsettableBooleanESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN,
- oldUnsettableBoolean, unsettableBoolean, !oldUnsettableBooleanESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableBoolean()
- {
- boolean oldUnsettableBoolean = unsettableBoolean;
- boolean oldUnsettableBooleanESet = unsettableBooleanESet;
- unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT;
- unsettableBooleanESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN,
- oldUnsettableBoolean, UNSETTABLE_BOOLEAN_EDEFAULT, oldUnsettableBooleanESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableBoolean()
- {
- return unsettableBooleanESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public byte getUnsettableByte()
- {
- return unsettableByte;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableByte(byte newUnsettableByte)
- {
- byte oldUnsettableByte = unsettableByte;
- unsettableByte = newUnsettableByte;
- boolean oldUnsettableByteESet = unsettableByteESet;
- unsettableByteESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_BYTE,
- oldUnsettableByte, unsettableByte, !oldUnsettableByteESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableByte()
- {
- byte oldUnsettableByte = unsettableByte;
- boolean oldUnsettableByteESet = unsettableByteESet;
- unsettableByte = UNSETTABLE_BYTE_EDEFAULT;
- unsettableByteESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_BYTE,
- oldUnsettableByte, UNSETTABLE_BYTE_EDEFAULT, oldUnsettableByteESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableByte()
- {
- return unsettableByteESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public char getUnsettableChar()
- {
- return unsettableChar;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableChar(char newUnsettableChar)
- {
- char oldUnsettableChar = unsettableChar;
- unsettableChar = newUnsettableChar;
- boolean oldUnsettableCharESet = unsettableCharESet;
- unsettableCharESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_CHAR,
- oldUnsettableChar, unsettableChar, !oldUnsettableCharESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableChar()
- {
- char oldUnsettableChar = unsettableChar;
- boolean oldUnsettableCharESet = unsettableCharESet;
- unsettableChar = UNSETTABLE_CHAR_EDEFAULT;
- unsettableCharESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_CHAR,
- oldUnsettableChar, UNSETTABLE_CHAR_EDEFAULT, oldUnsettableCharESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableChar()
- {
- return unsettableCharESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Date getUnsettableDate()
- {
- return unsettableDate;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableDate(Date newUnsettableDate)
- {
- Date oldUnsettableDate = unsettableDate;
- unsettableDate = newUnsettableDate;
- boolean oldUnsettableDateESet = unsettableDateESet;
- unsettableDateESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_DATE,
- oldUnsettableDate, unsettableDate, !oldUnsettableDateESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableDate()
- {
- Date oldUnsettableDate = unsettableDate;
- boolean oldUnsettableDateESet = unsettableDateESet;
- unsettableDate = UNSETTABLE_DATE_EDEFAULT;
- unsettableDateESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_DATE,
- oldUnsettableDate, UNSETTABLE_DATE_EDEFAULT, oldUnsettableDateESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableDate()
- {
- return unsettableDateESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public double getUnsettableDouble()
- {
- return unsettableDouble;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableDouble(double newUnsettableDouble)
- {
- double oldUnsettableDouble = unsettableDouble;
- unsettableDouble = newUnsettableDouble;
- boolean oldUnsettableDoubleESet = unsettableDoubleESet;
- unsettableDoubleESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE,
- oldUnsettableDouble, unsettableDouble, !oldUnsettableDoubleESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableDouble()
- {
- double oldUnsettableDouble = unsettableDouble;
- boolean oldUnsettableDoubleESet = unsettableDoubleESet;
- unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT;
- unsettableDoubleESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE,
- oldUnsettableDouble, UNSETTABLE_DOUBLE_EDEFAULT, oldUnsettableDoubleESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableDouble()
- {
- return unsettableDoubleESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public float getUnsettableFloat()
- {
- return unsettableFloat;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableFloat(float newUnsettableFloat)
- {
- float oldUnsettableFloat = unsettableFloat;
- unsettableFloat = newUnsettableFloat;
- boolean oldUnsettableFloatESet = unsettableFloatESet;
- unsettableFloatESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT,
- oldUnsettableFloat, unsettableFloat, !oldUnsettableFloatESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableFloat()
- {
- float oldUnsettableFloat = unsettableFloat;
- boolean oldUnsettableFloatESet = unsettableFloatESet;
- unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT;
- unsettableFloatESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT,
- oldUnsettableFloat, UNSETTABLE_FLOAT_EDEFAULT, oldUnsettableFloatESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableFloat()
- {
- return unsettableFloatESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getUnsettableInt()
- {
- return unsettableInt;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableInt(int newUnsettableInt)
- {
- int oldUnsettableInt = unsettableInt;
- unsettableInt = newUnsettableInt;
- boolean oldUnsettableIntESet = unsettableIntESet;
- unsettableIntESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_INT,
- oldUnsettableInt, unsettableInt, !oldUnsettableIntESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableInt()
- {
- int oldUnsettableInt = unsettableInt;
- boolean oldUnsettableIntESet = unsettableIntESet;
- unsettableInt = UNSETTABLE_INT_EDEFAULT;
- unsettableIntESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_INT,
- oldUnsettableInt, UNSETTABLE_INT_EDEFAULT, oldUnsettableIntESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableInt()
- {
- return unsettableIntESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public long getUnsettableLong()
- {
- return unsettableLong;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableLong(long newUnsettableLong)
- {
- long oldUnsettableLong = unsettableLong;
- unsettableLong = newUnsettableLong;
- boolean oldUnsettableLongESet = unsettableLongESet;
- unsettableLongESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_LONG,
- oldUnsettableLong, unsettableLong, !oldUnsettableLongESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableLong()
- {
- long oldUnsettableLong = unsettableLong;
- boolean oldUnsettableLongESet = unsettableLongESet;
- unsettableLong = UNSETTABLE_LONG_EDEFAULT;
- unsettableLongESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_LONG,
- oldUnsettableLong, UNSETTABLE_LONG_EDEFAULT, oldUnsettableLongESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableLong()
- {
- return unsettableLongESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public short getUnsettableShort()
- {
- return unsettableShort;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableShort(short newUnsettableShort)
- {
- short oldUnsettableShort = unsettableShort;
- unsettableShort = newUnsettableShort;
- boolean oldUnsettableShortESet = unsettableShortESet;
- unsettableShortESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_SHORT,
- oldUnsettableShort, unsettableShort, !oldUnsettableShortESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableShort()
- {
- short oldUnsettableShort = unsettableShort;
- boolean oldUnsettableShortESet = unsettableShortESet;
- unsettableShort = UNSETTABLE_SHORT_EDEFAULT;
- unsettableShortESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_SHORT,
- oldUnsettableShort, UNSETTABLE_SHORT_EDEFAULT, oldUnsettableShortESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableShort()
- {
- return unsettableShortESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getUnsettableString()
- {
- return unsettableString;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableString(String newUnsettableString)
- {
- String oldUnsettableString = unsettableString;
- unsettableString = newUnsettableString;
- boolean oldUnsettableStringESet = unsettableStringESet;
- unsettableStringESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_STRING,
- oldUnsettableString, unsettableString, !oldUnsettableStringESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableString()
- {
- String oldUnsettableString = unsettableString;
- boolean oldUnsettableStringESet = unsettableStringESet;
- unsettableString = UNSETTABLE_STRING_EDEFAULT;
- unsettableStringESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_STRING,
- oldUnsettableString, UNSETTABLE_STRING_EDEFAULT, oldUnsettableStringESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableString()
- {
- return unsettableStringESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getUnsettableVAT()
- {
- return unsettableVAT;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableVAT(VAT newUnsettableVAT)
- {
- VAT oldUnsettableVAT = unsettableVAT;
- unsettableVAT = newUnsettableVAT == null ? UNSETTABLE_VAT_EDEFAULT : newUnsettableVAT;
- boolean oldUnsettableVATESet = unsettableVATESet;
- unsettableVATESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_VAT,
- oldUnsettableVAT, unsettableVAT, !oldUnsettableVATESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableVAT()
- {
- VAT oldUnsettableVAT = unsettableVAT;
- boolean oldUnsettableVATESet = unsettableVATESet;
- unsettableVAT = UNSETTABLE_VAT_EDEFAULT;
- unsettableVATESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_VAT,
- oldUnsettableVAT, UNSETTABLE_VAT_EDEFAULT, oldUnsettableVATESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableVAT()
- {
- return unsettableVATESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN:
- return isUnsettableBoolean();
- case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE:
- return getUnsettableByte();
- case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR:
- return getUnsettableChar();
- case Model2Package.UNSETTABLE1__UNSETTABLE_DATE:
- return getUnsettableDate();
- case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE:
- return getUnsettableDouble();
- case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT:
- return getUnsettableFloat();
- case Model2Package.UNSETTABLE1__UNSETTABLE_INT:
- return getUnsettableInt();
- case Model2Package.UNSETTABLE1__UNSETTABLE_LONG:
- return getUnsettableLong();
- case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT:
- return getUnsettableShort();
- case Model2Package.UNSETTABLE1__UNSETTABLE_STRING:
- return getUnsettableString();
- case Model2Package.UNSETTABLE1__UNSETTABLE_VAT:
- return getUnsettableVAT();
- }
- 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.UNSETTABLE1__UNSETTABLE_BOOLEAN:
- setUnsettableBoolean((Boolean)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE:
- setUnsettableByte((Byte)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR:
- setUnsettableChar((Character)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_DATE:
- setUnsettableDate((Date)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE:
- setUnsettableDouble((Double)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT:
- setUnsettableFloat((Float)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_INT:
- setUnsettableInt((Integer)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_LONG:
- setUnsettableLong((Long)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT:
- setUnsettableShort((Short)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_STRING:
- setUnsettableString((String)newValue);
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_VAT:
- setUnsettableVAT((VAT)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN:
- unsetUnsettableBoolean();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE:
- unsetUnsettableByte();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR:
- unsetUnsettableChar();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_DATE:
- unsetUnsettableDate();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE:
- unsetUnsettableDouble();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT:
- unsetUnsettableFloat();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_INT:
- unsetUnsettableInt();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_LONG:
- unsetUnsettableLong();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT:
- unsetUnsettableShort();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_STRING:
- unsetUnsettableString();
- return;
- case Model2Package.UNSETTABLE1__UNSETTABLE_VAT:
- unsetUnsettableVAT();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN:
- return isSetUnsettableBoolean();
- case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE:
- return isSetUnsettableByte();
- case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR:
- return isSetUnsettableChar();
- case Model2Package.UNSETTABLE1__UNSETTABLE_DATE:
- return isSetUnsettableDate();
- case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE:
- return isSetUnsettableDouble();
- case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT:
- return isSetUnsettableFloat();
- case Model2Package.UNSETTABLE1__UNSETTABLE_INT:
- return isSetUnsettableInt();
- case Model2Package.UNSETTABLE1__UNSETTABLE_LONG:
- return isSetUnsettableLong();
- case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT:
- return isSetUnsettableShort();
- case Model2Package.UNSETTABLE1__UNSETTABLE_STRING:
- return isSetUnsettableString();
- case Model2Package.UNSETTABLE1__UNSETTABLE_VAT:
- return isSetUnsettableVAT();
- }
- 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(" (unsettableBoolean: ");
- if (unsettableBooleanESet)
- result.append(unsettableBoolean);
- else
- result.append("<unset>");
- result.append(", unsettableByte: ");
- if (unsettableByteESet)
- result.append(unsettableByte);
- else
- result.append("<unset>");
- result.append(", unsettableChar: ");
- if (unsettableCharESet)
- result.append(unsettableChar);
- else
- result.append("<unset>");
- result.append(", unsettableDate: ");
- if (unsettableDateESet)
- result.append(unsettableDate);
- else
- result.append("<unset>");
- result.append(", unsettableDouble: ");
- if (unsettableDoubleESet)
- result.append(unsettableDouble);
- else
- result.append("<unset>");
- result.append(", unsettableFloat: ");
- if (unsettableFloatESet)
- result.append(unsettableFloat);
- else
- result.append("<unset>");
- result.append(", unsettableInt: ");
- if (unsettableIntESet)
- result.append(unsettableInt);
- else
- result.append("<unset>");
- result.append(", unsettableLong: ");
- if (unsettableLongESet)
- result.append(unsettableLong);
- else
- result.append("<unset>");
- result.append(", unsettableShort: ");
- if (unsettableShortESet)
- result.append(unsettableShort);
- else
- result.append("<unset>");
- result.append(", unsettableString: ");
- if (unsettableStringESet)
- result.append(unsettableString);
- else
- result.append("<unset>");
- result.append(", unsettableVAT: ");
- if (unsettableVATESet)
- result.append(unsettableVAT);
- else
- result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} // Unsettable1Impl
+/* + * 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.Unsettable1; + +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>Unsettable1</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#isUnsettableBoolean <em>Unsettable Boolean + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableByte <em>Unsettable Byte</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableChar <em>Unsettable Char</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableDate <em>Unsettable Date</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableDouble <em>Unsettable Double + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableFloat <em>Unsettable Float</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableInt <em>Unsettable Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableLong <em>Unsettable Long</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableShort <em>Unsettable Short</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableString <em>Unsettable String + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable1Impl#getUnsettableVAT <em>Unsettable VAT</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class Unsettable1Impl extends EObjectImpl implements Unsettable1 +{ + /** + * The default value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @see #isUnsettableBoolean() + * @generated + * @ordered + */ + protected static final boolean UNSETTABLE_BOOLEAN_EDEFAULT = false; + + /** + * The cached value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #isUnsettableBoolean() + * @generated + * @ordered + */ + protected boolean unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT; + + /** + * This is true if the Unsettable Boolean attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableBooleanESet; + + /** + * The default value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableByte() + * @generated + * @ordered + */ + protected static final byte UNSETTABLE_BYTE_EDEFAULT = 0x00; + + /** + * The cached value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableByte() + * @generated + * @ordered + */ + protected byte unsettableByte = UNSETTABLE_BYTE_EDEFAULT; + + /** + * This is true if the Unsettable Byte attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableByteESet; + + /** + * The default value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableChar() + * @generated + * @ordered + */ + protected static final char UNSETTABLE_CHAR_EDEFAULT = '\u0000'; + + /** + * The cached value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableChar() + * @generated + * @ordered + */ + protected char unsettableChar = UNSETTABLE_CHAR_EDEFAULT; + + /** + * This is true if the Unsettable Char attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableCharESet; + + /** + * The default value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableDate() + * @generated + * @ordered + */ + protected static final Date UNSETTABLE_DATE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableDate() + * @generated + * @ordered + */ + protected Date unsettableDate = UNSETTABLE_DATE_EDEFAULT; + + /** + * This is true if the Unsettable Date attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableDateESet; + + /** + * The default value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableDouble() + * @generated + * @ordered + */ + protected static final double UNSETTABLE_DOUBLE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableDouble() + * @generated + * @ordered + */ + protected double unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT; + + /** + * This is true if the Unsettable Double attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableDoubleESet; + + /** + * The default value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableFloat() + * @generated + * @ordered + */ + protected static final float UNSETTABLE_FLOAT_EDEFAULT = 0.0F; + + /** + * The cached value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableFloat() + * @generated + * @ordered + */ + protected float unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT; + + /** + * This is true if the Unsettable Float attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableFloatESet; + + /** + * The default value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableInt() + * @generated + * @ordered + */ + protected static final int UNSETTABLE_INT_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableInt() + * @generated + * @ordered + */ + protected int unsettableInt = UNSETTABLE_INT_EDEFAULT; + + /** + * This is true if the Unsettable Int attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableIntESet; + + /** + * The default value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableLong() + * @generated + * @ordered + */ + protected static final long UNSETTABLE_LONG_EDEFAULT = 0L; + + /** + * The cached value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableLong() + * @generated + * @ordered + */ + protected long unsettableLong = UNSETTABLE_LONG_EDEFAULT; + + /** + * This is true if the Unsettable Long attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableLongESet; + + /** + * The default value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableShort() + * @generated + * @ordered + */ + protected static final short UNSETTABLE_SHORT_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableShort() + * @generated + * @ordered + */ + protected short unsettableShort = UNSETTABLE_SHORT_EDEFAULT; + + /** + * This is true if the Unsettable Short attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableShortESet; + + /** + * The default value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableString() + * @generated + * @ordered + */ + protected static final String UNSETTABLE_STRING_EDEFAULT = null; + + /** + * The cached value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableString() + * @generated + * @ordered + */ + protected String unsettableString = UNSETTABLE_STRING_EDEFAULT; + + /** + * This is true if the Unsettable String attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableStringESet; + + /** + * The default value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableVAT() + * @generated + * @ordered + */ + protected static final VAT UNSETTABLE_VAT_EDEFAULT = VAT.VAT0; + + /** + * The cached value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableVAT() + * @generated + * @ordered + */ + protected VAT unsettableVAT = UNSETTABLE_VAT_EDEFAULT; + + /** + * This is true if the Unsettable VAT attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableVATESet; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected Unsettable1Impl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getUnsettable1(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isUnsettableBoolean() + { + return unsettableBoolean; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableBoolean(boolean newUnsettableBoolean) + { + boolean oldUnsettableBoolean = unsettableBoolean; + unsettableBoolean = newUnsettableBoolean; + boolean oldUnsettableBooleanESet = unsettableBooleanESet; + unsettableBooleanESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN, + oldUnsettableBoolean, unsettableBoolean, !oldUnsettableBooleanESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableBoolean() + { + boolean oldUnsettableBoolean = unsettableBoolean; + boolean oldUnsettableBooleanESet = unsettableBooleanESet; + unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT; + unsettableBooleanESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN, + oldUnsettableBoolean, UNSETTABLE_BOOLEAN_EDEFAULT, oldUnsettableBooleanESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableBoolean() + { + return unsettableBooleanESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public byte getUnsettableByte() + { + return unsettableByte; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableByte(byte newUnsettableByte) + { + byte oldUnsettableByte = unsettableByte; + unsettableByte = newUnsettableByte; + boolean oldUnsettableByteESet = unsettableByteESet; + unsettableByteESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_BYTE, + oldUnsettableByte, unsettableByte, !oldUnsettableByteESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableByte() + { + byte oldUnsettableByte = unsettableByte; + boolean oldUnsettableByteESet = unsettableByteESet; + unsettableByte = UNSETTABLE_BYTE_EDEFAULT; + unsettableByteESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_BYTE, + oldUnsettableByte, UNSETTABLE_BYTE_EDEFAULT, oldUnsettableByteESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableByte() + { + return unsettableByteESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public char getUnsettableChar() + { + return unsettableChar; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableChar(char newUnsettableChar) + { + char oldUnsettableChar = unsettableChar; + unsettableChar = newUnsettableChar; + boolean oldUnsettableCharESet = unsettableCharESet; + unsettableCharESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_CHAR, + oldUnsettableChar, unsettableChar, !oldUnsettableCharESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableChar() + { + char oldUnsettableChar = unsettableChar; + boolean oldUnsettableCharESet = unsettableCharESet; + unsettableChar = UNSETTABLE_CHAR_EDEFAULT; + unsettableCharESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_CHAR, + oldUnsettableChar, UNSETTABLE_CHAR_EDEFAULT, oldUnsettableCharESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableChar() + { + return unsettableCharESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Date getUnsettableDate() + { + return unsettableDate; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableDate(Date newUnsettableDate) + { + Date oldUnsettableDate = unsettableDate; + unsettableDate = newUnsettableDate; + boolean oldUnsettableDateESet = unsettableDateESet; + unsettableDateESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_DATE, + oldUnsettableDate, unsettableDate, !oldUnsettableDateESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableDate() + { + Date oldUnsettableDate = unsettableDate; + boolean oldUnsettableDateESet = unsettableDateESet; + unsettableDate = UNSETTABLE_DATE_EDEFAULT; + unsettableDateESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_DATE, + oldUnsettableDate, UNSETTABLE_DATE_EDEFAULT, oldUnsettableDateESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableDate() + { + return unsettableDateESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public double getUnsettableDouble() + { + return unsettableDouble; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableDouble(double newUnsettableDouble) + { + double oldUnsettableDouble = unsettableDouble; + unsettableDouble = newUnsettableDouble; + boolean oldUnsettableDoubleESet = unsettableDoubleESet; + unsettableDoubleESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE, + oldUnsettableDouble, unsettableDouble, !oldUnsettableDoubleESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableDouble() + { + double oldUnsettableDouble = unsettableDouble; + boolean oldUnsettableDoubleESet = unsettableDoubleESet; + unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT; + unsettableDoubleESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE, + oldUnsettableDouble, UNSETTABLE_DOUBLE_EDEFAULT, oldUnsettableDoubleESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableDouble() + { + return unsettableDoubleESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public float getUnsettableFloat() + { + return unsettableFloat; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableFloat(float newUnsettableFloat) + { + float oldUnsettableFloat = unsettableFloat; + unsettableFloat = newUnsettableFloat; + boolean oldUnsettableFloatESet = unsettableFloatESet; + unsettableFloatESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT, + oldUnsettableFloat, unsettableFloat, !oldUnsettableFloatESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableFloat() + { + float oldUnsettableFloat = unsettableFloat; + boolean oldUnsettableFloatESet = unsettableFloatESet; + unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT; + unsettableFloatESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT, + oldUnsettableFloat, UNSETTABLE_FLOAT_EDEFAULT, oldUnsettableFloatESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableFloat() + { + return unsettableFloatESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public int getUnsettableInt() + { + return unsettableInt; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableInt(int newUnsettableInt) + { + int oldUnsettableInt = unsettableInt; + unsettableInt = newUnsettableInt; + boolean oldUnsettableIntESet = unsettableIntESet; + unsettableIntESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_INT, + oldUnsettableInt, unsettableInt, !oldUnsettableIntESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableInt() + { + int oldUnsettableInt = unsettableInt; + boolean oldUnsettableIntESet = unsettableIntESet; + unsettableInt = UNSETTABLE_INT_EDEFAULT; + unsettableIntESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_INT, + oldUnsettableInt, UNSETTABLE_INT_EDEFAULT, oldUnsettableIntESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableInt() + { + return unsettableIntESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public long getUnsettableLong() + { + return unsettableLong; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableLong(long newUnsettableLong) + { + long oldUnsettableLong = unsettableLong; + unsettableLong = newUnsettableLong; + boolean oldUnsettableLongESet = unsettableLongESet; + unsettableLongESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_LONG, + oldUnsettableLong, unsettableLong, !oldUnsettableLongESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableLong() + { + long oldUnsettableLong = unsettableLong; + boolean oldUnsettableLongESet = unsettableLongESet; + unsettableLong = UNSETTABLE_LONG_EDEFAULT; + unsettableLongESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_LONG, + oldUnsettableLong, UNSETTABLE_LONG_EDEFAULT, oldUnsettableLongESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableLong() + { + return unsettableLongESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public short getUnsettableShort() + { + return unsettableShort; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableShort(short newUnsettableShort) + { + short oldUnsettableShort = unsettableShort; + unsettableShort = newUnsettableShort; + boolean oldUnsettableShortESet = unsettableShortESet; + unsettableShortESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_SHORT, + oldUnsettableShort, unsettableShort, !oldUnsettableShortESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableShort() + { + short oldUnsettableShort = unsettableShort; + boolean oldUnsettableShortESet = unsettableShortESet; + unsettableShort = UNSETTABLE_SHORT_EDEFAULT; + unsettableShortESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_SHORT, + oldUnsettableShort, UNSETTABLE_SHORT_EDEFAULT, oldUnsettableShortESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableShort() + { + return unsettableShortESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getUnsettableString() + { + return unsettableString; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableString(String newUnsettableString) + { + String oldUnsettableString = unsettableString; + unsettableString = newUnsettableString; + boolean oldUnsettableStringESet = unsettableStringESet; + unsettableStringESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_STRING, + oldUnsettableString, unsettableString, !oldUnsettableStringESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableString() + { + String oldUnsettableString = unsettableString; + boolean oldUnsettableStringESet = unsettableStringESet; + unsettableString = UNSETTABLE_STRING_EDEFAULT; + unsettableStringESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_STRING, + oldUnsettableString, UNSETTABLE_STRING_EDEFAULT, oldUnsettableStringESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableString() + { + return unsettableStringESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getUnsettableVAT() + { + return unsettableVAT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableVAT(VAT newUnsettableVAT) + { + VAT oldUnsettableVAT = unsettableVAT; + unsettableVAT = newUnsettableVAT == null ? UNSETTABLE_VAT_EDEFAULT : newUnsettableVAT; + boolean oldUnsettableVATESet = unsettableVATESet; + unsettableVATESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE1__UNSETTABLE_VAT, + oldUnsettableVAT, unsettableVAT, !oldUnsettableVATESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableVAT() + { + VAT oldUnsettableVAT = unsettableVAT; + boolean oldUnsettableVATESet = unsettableVATESet; + unsettableVAT = UNSETTABLE_VAT_EDEFAULT; + unsettableVATESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE1__UNSETTABLE_VAT, + oldUnsettableVAT, UNSETTABLE_VAT_EDEFAULT, oldUnsettableVATESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableVAT() + { + return unsettableVATESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN: + return isUnsettableBoolean(); + case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE: + return getUnsettableByte(); + case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR: + return getUnsettableChar(); + case Model2Package.UNSETTABLE1__UNSETTABLE_DATE: + return getUnsettableDate(); + case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE: + return getUnsettableDouble(); + case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT: + return getUnsettableFloat(); + case Model2Package.UNSETTABLE1__UNSETTABLE_INT: + return getUnsettableInt(); + case Model2Package.UNSETTABLE1__UNSETTABLE_LONG: + return getUnsettableLong(); + case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT: + return getUnsettableShort(); + case Model2Package.UNSETTABLE1__UNSETTABLE_STRING: + return getUnsettableString(); + case Model2Package.UNSETTABLE1__UNSETTABLE_VAT: + return getUnsettableVAT(); + } + 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.UNSETTABLE1__UNSETTABLE_BOOLEAN: + setUnsettableBoolean((Boolean)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE: + setUnsettableByte((Byte)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR: + setUnsettableChar((Character)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_DATE: + setUnsettableDate((Date)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE: + setUnsettableDouble((Double)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT: + setUnsettableFloat((Float)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_INT: + setUnsettableInt((Integer)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_LONG: + setUnsettableLong((Long)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT: + setUnsettableShort((Short)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_STRING: + setUnsettableString((String)newValue); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_VAT: + setUnsettableVAT((VAT)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN: + unsetUnsettableBoolean(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE: + unsetUnsettableByte(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR: + unsetUnsettableChar(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_DATE: + unsetUnsettableDate(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE: + unsetUnsettableDouble(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT: + unsetUnsettableFloat(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_INT: + unsetUnsettableInt(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_LONG: + unsetUnsettableLong(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT: + unsetUnsettableShort(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_STRING: + unsetUnsettableString(); + return; + case Model2Package.UNSETTABLE1__UNSETTABLE_VAT: + unsetUnsettableVAT(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.UNSETTABLE1__UNSETTABLE_BOOLEAN: + return isSetUnsettableBoolean(); + case Model2Package.UNSETTABLE1__UNSETTABLE_BYTE: + return isSetUnsettableByte(); + case Model2Package.UNSETTABLE1__UNSETTABLE_CHAR: + return isSetUnsettableChar(); + case Model2Package.UNSETTABLE1__UNSETTABLE_DATE: + return isSetUnsettableDate(); + case Model2Package.UNSETTABLE1__UNSETTABLE_DOUBLE: + return isSetUnsettableDouble(); + case Model2Package.UNSETTABLE1__UNSETTABLE_FLOAT: + return isSetUnsettableFloat(); + case Model2Package.UNSETTABLE1__UNSETTABLE_INT: + return isSetUnsettableInt(); + case Model2Package.UNSETTABLE1__UNSETTABLE_LONG: + return isSetUnsettableLong(); + case Model2Package.UNSETTABLE1__UNSETTABLE_SHORT: + return isSetUnsettableShort(); + case Model2Package.UNSETTABLE1__UNSETTABLE_STRING: + return isSetUnsettableString(); + case Model2Package.UNSETTABLE1__UNSETTABLE_VAT: + return isSetUnsettableVAT(); + } + 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(" (unsettableBoolean: "); + if (unsettableBooleanESet) + result.append(unsettableBoolean); + else + result.append("<unset>"); + result.append(", unsettableByte: "); + if (unsettableByteESet) + result.append(unsettableByte); + else + result.append("<unset>"); + result.append(", unsettableChar: "); + if (unsettableCharESet) + result.append(unsettableChar); + else + result.append("<unset>"); + result.append(", unsettableDate: "); + if (unsettableDateESet) + result.append(unsettableDate); + else + result.append("<unset>"); + result.append(", unsettableDouble: "); + if (unsettableDoubleESet) + result.append(unsettableDouble); + else + result.append("<unset>"); + result.append(", unsettableFloat: "); + if (unsettableFloatESet) + result.append(unsettableFloat); + else + result.append("<unset>"); + result.append(", unsettableInt: "); + if (unsettableIntESet) + result.append(unsettableInt); + else + result.append("<unset>"); + result.append(", unsettableLong: "); + if (unsettableLongESet) + result.append(unsettableLong); + else + result.append("<unset>"); + result.append(", unsettableShort: "); + if (unsettableShortESet) + result.append(unsettableShort); + else + result.append("<unset>"); + result.append(", unsettableString: "); + if (unsettableStringESet) + result.append(unsettableString); + else + result.append("<unset>"); + result.append(", unsettableVAT: "); + if (unsettableVATESet) + result.append(unsettableVAT); + else + result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} // Unsettable1Impl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable2WithDefaultImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable2WithDefaultImpl.java index e2ff619c01..5f176625d7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable2WithDefaultImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable2WithDefaultImpl.java @@ -1,1203 +1,1203 @@ -/*
- * 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.Unsettable2WithDefault;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EcoreFactory;
-import org.eclipse.emf.ecore.EcorePackage;
-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>Unsettable2 With Default</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#isUnsettableBoolean <em>Unsettable
- * Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableByte <em>Unsettable
- * Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableChar <em>Unsettable
- * Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDate <em>Unsettable
- * Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDouble <em>Unsettable
- * Double</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableFloat <em>Unsettable
- * Float</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableInt <em>Unsettable
- * Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableLong <em>Unsettable
- * Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableShort <em>Unsettable
- * Short</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableString <em>Unsettable
- * String</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableVAT <em>Unsettable
- * VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Unsettable2WithDefaultImpl extends EObjectImpl implements Unsettable2WithDefault
-{
- /**
- * The default value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isUnsettableBoolean()
- * @generated
- * @ordered
- */
- protected static final boolean UNSETTABLE_BOOLEAN_EDEFAULT = true;
-
- /**
- * The cached value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #isUnsettableBoolean()
- * @generated
- * @ordered
- */
- protected boolean unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT;
-
- /**
- * This is true if the Unsettable Boolean attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableBooleanESet;
-
- /**
- * The default value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableByte()
- * @generated
- * @ordered
- */
- protected static final byte UNSETTABLE_BYTE_EDEFAULT = 0x03;
-
- /**
- * The cached value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableByte()
- * @generated
- * @ordered
- */
- protected byte unsettableByte = UNSETTABLE_BYTE_EDEFAULT;
-
- /**
- * This is true if the Unsettable Byte attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableByteESet;
-
- /**
- * The default value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableChar()
- * @generated
- * @ordered
- */
- protected static final char UNSETTABLE_CHAR_EDEFAULT = '\'';
-
- /**
- * The cached value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableChar()
- * @generated
- * @ordered
- */
- protected char unsettableChar = UNSETTABLE_CHAR_EDEFAULT;
-
- /**
- * This is true if the Unsettable Char attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableCharESet;
-
- /**
- * The default value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableDate()
- * @generated
- * @ordered
- */
- protected static final Date UNSETTABLE_DATE_EDEFAULT = (Date)EcoreFactory.eINSTANCE.createFromString(
- EcorePackage.eINSTANCE.getEDate(), "2009-12-21T15:12:59");
-
- /**
- * The cached value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableDate()
- * @generated
- * @ordered
- */
- protected Date unsettableDate = UNSETTABLE_DATE_EDEFAULT;
-
- /**
- * This is true if the Unsettable Date attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableDateESet;
-
- /**
- * The default value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableDouble()
- * @generated
- * @ordered
- */
- protected static final double UNSETTABLE_DOUBLE_EDEFAULT = 3.3;
-
- /**
- * The cached value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableDouble()
- * @generated
- * @ordered
- */
- protected double unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT;
-
- /**
- * This is true if the Unsettable Double attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableDoubleESet;
-
- /**
- * The default value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableFloat()
- * @generated
- * @ordered
- */
- protected static final float UNSETTABLE_FLOAT_EDEFAULT = 4.4F;
-
- /**
- * The cached value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableFloat()
- * @generated
- * @ordered
- */
- protected float unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT;
-
- /**
- * This is true if the Unsettable Float attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableFloatESet;
-
- /**
- * The default value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableInt()
- * @generated
- * @ordered
- */
- protected static final int UNSETTABLE_INT_EDEFAULT = 5;
-
- /**
- * The cached value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableInt()
- * @generated
- * @ordered
- */
- protected int unsettableInt = UNSETTABLE_INT_EDEFAULT;
-
- /**
- * This is true if the Unsettable Int attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableIntESet;
-
- /**
- * The default value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableLong()
- * @generated
- * @ordered
- */
- protected static final long UNSETTABLE_LONG_EDEFAULT = 6L;
-
- /**
- * The cached value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableLong()
- * @generated
- * @ordered
- */
- protected long unsettableLong = UNSETTABLE_LONG_EDEFAULT;
-
- /**
- * This is true if the Unsettable Long attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableLongESet;
-
- /**
- * The default value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableShort()
- * @generated
- * @ordered
- */
- protected static final short UNSETTABLE_SHORT_EDEFAULT = 7;
-
- /**
- * The cached value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableShort()
- * @generated
- * @ordered
- */
- protected short unsettableShort = UNSETTABLE_SHORT_EDEFAULT;
-
- /**
- * This is true if the Unsettable Short attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableShortESet;
-
- /**
- * The default value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableString()
- * @generated
- * @ordered
- */
- protected static final String UNSETTABLE_STRING_EDEFAULT = "\"eike\"";
-
- /**
- * The cached value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- *
- * @see #getUnsettableString()
- * @generated
- * @ordered
- */
- protected String unsettableString = UNSETTABLE_STRING_EDEFAULT;
-
- /**
- * This is true if the Unsettable String attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableStringESet;
-
- /**
- * The default value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableVAT()
- * @generated
- * @ordered
- */
- protected static final VAT UNSETTABLE_VAT_EDEFAULT = VAT.VAT15;
-
- /**
- * The cached value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUnsettableVAT()
- * @generated
- * @ordered
- */
- protected VAT unsettableVAT = UNSETTABLE_VAT_EDEFAULT;
-
- /**
- * This is true if the Unsettable VAT attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- protected boolean unsettableVATESet;
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected Unsettable2WithDefaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getUnsettable2WithDefault();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isUnsettableBoolean()
- {
- return unsettableBoolean;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableBoolean(boolean newUnsettableBoolean)
- {
- boolean oldUnsettableBoolean = unsettableBoolean;
- unsettableBoolean = newUnsettableBoolean;
- boolean oldUnsettableBooleanESet = unsettableBooleanESet;
- unsettableBooleanESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN,
- oldUnsettableBoolean, unsettableBoolean, !oldUnsettableBooleanESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableBoolean()
- {
- boolean oldUnsettableBoolean = unsettableBoolean;
- boolean oldUnsettableBooleanESet = unsettableBooleanESet;
- unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT;
- unsettableBooleanESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN, oldUnsettableBoolean,
- UNSETTABLE_BOOLEAN_EDEFAULT, oldUnsettableBooleanESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableBoolean()
- {
- return unsettableBooleanESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public byte getUnsettableByte()
- {
- return unsettableByte;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableByte(byte newUnsettableByte)
- {
- byte oldUnsettableByte = unsettableByte;
- unsettableByte = newUnsettableByte;
- boolean oldUnsettableByteESet = unsettableByteESet;
- unsettableByteESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE,
- oldUnsettableByte, unsettableByte, !oldUnsettableByteESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableByte()
- {
- byte oldUnsettableByte = unsettableByte;
- boolean oldUnsettableByteESet = unsettableByteESet;
- unsettableByte = UNSETTABLE_BYTE_EDEFAULT;
- unsettableByteESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE,
- oldUnsettableByte, UNSETTABLE_BYTE_EDEFAULT, oldUnsettableByteESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableByte()
- {
- return unsettableByteESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public char getUnsettableChar()
- {
- return unsettableChar;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableChar(char newUnsettableChar)
- {
- char oldUnsettableChar = unsettableChar;
- unsettableChar = newUnsettableChar;
- boolean oldUnsettableCharESet = unsettableCharESet;
- unsettableCharESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR,
- oldUnsettableChar, unsettableChar, !oldUnsettableCharESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableChar()
- {
- char oldUnsettableChar = unsettableChar;
- boolean oldUnsettableCharESet = unsettableCharESet;
- unsettableChar = UNSETTABLE_CHAR_EDEFAULT;
- unsettableCharESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR,
- oldUnsettableChar, UNSETTABLE_CHAR_EDEFAULT, oldUnsettableCharESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableChar()
- {
- return unsettableCharESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Date getUnsettableDate()
- {
- return unsettableDate;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableDate(Date newUnsettableDate)
- {
- Date oldUnsettableDate = unsettableDate;
- unsettableDate = newUnsettableDate;
- boolean oldUnsettableDateESet = unsettableDateESet;
- unsettableDateESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE,
- oldUnsettableDate, unsettableDate, !oldUnsettableDateESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableDate()
- {
- Date oldUnsettableDate = unsettableDate;
- boolean oldUnsettableDateESet = unsettableDateESet;
- unsettableDate = UNSETTABLE_DATE_EDEFAULT;
- unsettableDateESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE,
- oldUnsettableDate, UNSETTABLE_DATE_EDEFAULT, oldUnsettableDateESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableDate()
- {
- return unsettableDateESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public double getUnsettableDouble()
- {
- return unsettableDouble;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableDouble(double newUnsettableDouble)
- {
- double oldUnsettableDouble = unsettableDouble;
- unsettableDouble = newUnsettableDouble;
- boolean oldUnsettableDoubleESet = unsettableDoubleESet;
- unsettableDoubleESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE,
- oldUnsettableDouble, unsettableDouble, !oldUnsettableDoubleESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableDouble()
- {
- double oldUnsettableDouble = unsettableDouble;
- boolean oldUnsettableDoubleESet = unsettableDoubleESet;
- unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT;
- unsettableDoubleESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE, oldUnsettableDouble, UNSETTABLE_DOUBLE_EDEFAULT,
- oldUnsettableDoubleESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableDouble()
- {
- return unsettableDoubleESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public float getUnsettableFloat()
- {
- return unsettableFloat;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableFloat(float newUnsettableFloat)
- {
- float oldUnsettableFloat = unsettableFloat;
- unsettableFloat = newUnsettableFloat;
- boolean oldUnsettableFloatESet = unsettableFloatESet;
- unsettableFloatESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT,
- oldUnsettableFloat, unsettableFloat, !oldUnsettableFloatESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableFloat()
- {
- float oldUnsettableFloat = unsettableFloat;
- boolean oldUnsettableFloatESet = unsettableFloatESet;
- unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT;
- unsettableFloatESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT,
- oldUnsettableFloat, UNSETTABLE_FLOAT_EDEFAULT, oldUnsettableFloatESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableFloat()
- {
- return unsettableFloatESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getUnsettableInt()
- {
- return unsettableInt;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableInt(int newUnsettableInt)
- {
- int oldUnsettableInt = unsettableInt;
- unsettableInt = newUnsettableInt;
- boolean oldUnsettableIntESet = unsettableIntESet;
- unsettableIntESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT,
- oldUnsettableInt, unsettableInt, !oldUnsettableIntESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableInt()
- {
- int oldUnsettableInt = unsettableInt;
- boolean oldUnsettableIntESet = unsettableIntESet;
- unsettableInt = UNSETTABLE_INT_EDEFAULT;
- unsettableIntESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT,
- oldUnsettableInt, UNSETTABLE_INT_EDEFAULT, oldUnsettableIntESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableInt()
- {
- return unsettableIntESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public long getUnsettableLong()
- {
- return unsettableLong;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableLong(long newUnsettableLong)
- {
- long oldUnsettableLong = unsettableLong;
- unsettableLong = newUnsettableLong;
- boolean oldUnsettableLongESet = unsettableLongESet;
- unsettableLongESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG,
- oldUnsettableLong, unsettableLong, !oldUnsettableLongESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableLong()
- {
- long oldUnsettableLong = unsettableLong;
- boolean oldUnsettableLongESet = unsettableLongESet;
- unsettableLong = UNSETTABLE_LONG_EDEFAULT;
- unsettableLongESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG,
- oldUnsettableLong, UNSETTABLE_LONG_EDEFAULT, oldUnsettableLongESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableLong()
- {
- return unsettableLongESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public short getUnsettableShort()
- {
- return unsettableShort;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableShort(short newUnsettableShort)
- {
- short oldUnsettableShort = unsettableShort;
- unsettableShort = newUnsettableShort;
- boolean oldUnsettableShortESet = unsettableShortESet;
- unsettableShortESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT,
- oldUnsettableShort, unsettableShort, !oldUnsettableShortESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableShort()
- {
- short oldUnsettableShort = unsettableShort;
- boolean oldUnsettableShortESet = unsettableShortESet;
- unsettableShort = UNSETTABLE_SHORT_EDEFAULT;
- unsettableShortESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT,
- oldUnsettableShort, UNSETTABLE_SHORT_EDEFAULT, oldUnsettableShortESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableShort()
- {
- return unsettableShortESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getUnsettableString()
- {
- return unsettableString;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableString(String newUnsettableString)
- {
- String oldUnsettableString = unsettableString;
- unsettableString = newUnsettableString;
- boolean oldUnsettableStringESet = unsettableStringESet;
- unsettableStringESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING,
- oldUnsettableString, unsettableString, !oldUnsettableStringESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableString()
- {
- String oldUnsettableString = unsettableString;
- boolean oldUnsettableStringESet = unsettableStringESet;
- unsettableString = UNSETTABLE_STRING_EDEFAULT;
- unsettableStringESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET,
- Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING, oldUnsettableString, UNSETTABLE_STRING_EDEFAULT,
- oldUnsettableStringESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableString()
- {
- return unsettableStringESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getUnsettableVAT()
- {
- return unsettableVAT;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableVAT(VAT newUnsettableVAT)
- {
- VAT oldUnsettableVAT = unsettableVAT;
- unsettableVAT = newUnsettableVAT == null ? UNSETTABLE_VAT_EDEFAULT : newUnsettableVAT;
- boolean oldUnsettableVATESet = unsettableVATESet;
- unsettableVATESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT,
- oldUnsettableVAT, unsettableVAT, !oldUnsettableVATESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableVAT()
- {
- VAT oldUnsettableVAT = unsettableVAT;
- boolean oldUnsettableVATESet = unsettableVATESet;
- unsettableVAT = UNSETTABLE_VAT_EDEFAULT;
- unsettableVATESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT,
- oldUnsettableVAT, UNSETTABLE_VAT_EDEFAULT, oldUnsettableVATESet));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableVAT()
- {
- return unsettableVATESet;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN:
- return isUnsettableBoolean();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE:
- return getUnsettableByte();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR:
- return getUnsettableChar();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE:
- return getUnsettableDate();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE:
- return getUnsettableDouble();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT:
- return getUnsettableFloat();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT:
- return getUnsettableInt();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG:
- return getUnsettableLong();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT:
- return getUnsettableShort();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING:
- return getUnsettableString();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT:
- return getUnsettableVAT();
- }
- 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.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN:
- setUnsettableBoolean((Boolean)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE:
- setUnsettableByte((Byte)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR:
- setUnsettableChar((Character)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE:
- setUnsettableDate((Date)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE:
- setUnsettableDouble((Double)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT:
- setUnsettableFloat((Float)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT:
- setUnsettableInt((Integer)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG:
- setUnsettableLong((Long)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT:
- setUnsettableShort((Short)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING:
- setUnsettableString((String)newValue);
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT:
- setUnsettableVAT((VAT)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN:
- unsetUnsettableBoolean();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE:
- unsetUnsettableByte();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR:
- unsetUnsettableChar();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE:
- unsetUnsettableDate();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE:
- unsetUnsettableDouble();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT:
- unsetUnsettableFloat();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT:
- unsetUnsettableInt();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG:
- unsetUnsettableLong();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT:
- unsetUnsettableShort();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING:
- unsetUnsettableString();
- return;
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT:
- unsetUnsettableVAT();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN:
- return isSetUnsettableBoolean();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE:
- return isSetUnsettableByte();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR:
- return isSetUnsettableChar();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE:
- return isSetUnsettableDate();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE:
- return isSetUnsettableDouble();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT:
- return isSetUnsettableFloat();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT:
- return isSetUnsettableInt();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG:
- return isSetUnsettableLong();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT:
- return isSetUnsettableShort();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING:
- return isSetUnsettableString();
- case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT:
- return isSetUnsettableVAT();
- }
- 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(" (unsettableBoolean: ");
- if (unsettableBooleanESet)
- result.append(unsettableBoolean);
- else
- result.append("<unset>");
- result.append(", unsettableByte: ");
- if (unsettableByteESet)
- result.append(unsettableByte);
- else
- result.append("<unset>");
- result.append(", unsettableChar: ");
- if (unsettableCharESet)
- result.append(unsettableChar);
- else
- result.append("<unset>");
- result.append(", unsettableDate: ");
- if (unsettableDateESet)
- result.append(unsettableDate);
- else
- result.append("<unset>");
- result.append(", unsettableDouble: ");
- if (unsettableDoubleESet)
- result.append(unsettableDouble);
- else
- result.append("<unset>");
- result.append(", unsettableFloat: ");
- if (unsettableFloatESet)
- result.append(unsettableFloat);
- else
- result.append("<unset>");
- result.append(", unsettableInt: ");
- if (unsettableIntESet)
- result.append(unsettableInt);
- else
- result.append("<unset>");
- result.append(", unsettableLong: ");
- if (unsettableLongESet)
- result.append(unsettableLong);
- else
- result.append("<unset>");
- result.append(", unsettableShort: ");
- if (unsettableShortESet)
- result.append(unsettableShort);
- else
- result.append("<unset>");
- result.append(", unsettableString: ");
- if (unsettableStringESet)
- result.append(unsettableString);
- else
- result.append("<unset>");
- result.append(", unsettableVAT: ");
- if (unsettableVATESet)
- result.append(unsettableVAT);
- else
- result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} // Unsettable2WithDefaultImpl
+/* + * 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.Unsettable2WithDefault; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EcoreFactory; +import org.eclipse.emf.ecore.EcorePackage; +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>Unsettable2 With Default</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#isUnsettableBoolean <em>Unsettable + * Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableByte <em>Unsettable + * Byte</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableChar <em>Unsettable + * Char</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDate <em>Unsettable + * Date</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDouble <em>Unsettable + * Double</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableFloat <em>Unsettable + * Float</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableInt <em>Unsettable + * Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableLong <em>Unsettable + * Long</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableShort <em>Unsettable + * Short</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableString <em>Unsettable + * String</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model2.impl.Unsettable2WithDefaultImpl#getUnsettableVAT <em>Unsettable + * VAT</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class Unsettable2WithDefaultImpl extends EObjectImpl implements Unsettable2WithDefault +{ + /** + * The default value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @see #isUnsettableBoolean() + * @generated + * @ordered + */ + protected static final boolean UNSETTABLE_BOOLEAN_EDEFAULT = true; + + /** + * The cached value of the '{@link #isUnsettableBoolean() <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #isUnsettableBoolean() + * @generated + * @ordered + */ + protected boolean unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT; + + /** + * This is true if the Unsettable Boolean attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableBooleanESet; + + /** + * The default value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableByte() + * @generated + * @ordered + */ + protected static final byte UNSETTABLE_BYTE_EDEFAULT = 0x03; + + /** + * The cached value of the '{@link #getUnsettableByte() <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableByte() + * @generated + * @ordered + */ + protected byte unsettableByte = UNSETTABLE_BYTE_EDEFAULT; + + /** + * This is true if the Unsettable Byte attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableByteESet; + + /** + * The default value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableChar() + * @generated + * @ordered + */ + protected static final char UNSETTABLE_CHAR_EDEFAULT = '\''; + + /** + * The cached value of the '{@link #getUnsettableChar() <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableChar() + * @generated + * @ordered + */ + protected char unsettableChar = UNSETTABLE_CHAR_EDEFAULT; + + /** + * This is true if the Unsettable Char attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableCharESet; + + /** + * The default value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableDate() + * @generated + * @ordered + */ + protected static final Date UNSETTABLE_DATE_EDEFAULT = (Date)EcoreFactory.eINSTANCE.createFromString( + EcorePackage.eINSTANCE.getEDate(), "2009-12-21T15:12:59"); + + /** + * The cached value of the '{@link #getUnsettableDate() <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableDate() + * @generated + * @ordered + */ + protected Date unsettableDate = UNSETTABLE_DATE_EDEFAULT; + + /** + * This is true if the Unsettable Date attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableDateESet; + + /** + * The default value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableDouble() + * @generated + * @ordered + */ + protected static final double UNSETTABLE_DOUBLE_EDEFAULT = 3.3; + + /** + * The cached value of the '{@link #getUnsettableDouble() <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableDouble() + * @generated + * @ordered + */ + protected double unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT; + + /** + * This is true if the Unsettable Double attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableDoubleESet; + + /** + * The default value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableFloat() + * @generated + * @ordered + */ + protected static final float UNSETTABLE_FLOAT_EDEFAULT = 4.4F; + + /** + * The cached value of the '{@link #getUnsettableFloat() <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableFloat() + * @generated + * @ordered + */ + protected float unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT; + + /** + * This is true if the Unsettable Float attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableFloatESet; + + /** + * The default value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableInt() + * @generated + * @ordered + */ + protected static final int UNSETTABLE_INT_EDEFAULT = 5; + + /** + * The cached value of the '{@link #getUnsettableInt() <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableInt() + * @generated + * @ordered + */ + protected int unsettableInt = UNSETTABLE_INT_EDEFAULT; + + /** + * This is true if the Unsettable Int attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableIntESet; + + /** + * The default value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableLong() + * @generated + * @ordered + */ + protected static final long UNSETTABLE_LONG_EDEFAULT = 6L; + + /** + * The cached value of the '{@link #getUnsettableLong() <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableLong() + * @generated + * @ordered + */ + protected long unsettableLong = UNSETTABLE_LONG_EDEFAULT; + + /** + * This is true if the Unsettable Long attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableLongESet; + + /** + * The default value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableShort() + * @generated + * @ordered + */ + protected static final short UNSETTABLE_SHORT_EDEFAULT = 7; + + /** + * The cached value of the '{@link #getUnsettableShort() <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableShort() + * @generated + * @ordered + */ + protected short unsettableShort = UNSETTABLE_SHORT_EDEFAULT; + + /** + * This is true if the Unsettable Short attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableShortESet; + + /** + * The default value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableString() + * @generated + * @ordered + */ + protected static final String UNSETTABLE_STRING_EDEFAULT = "\"eike\""; + + /** + * The cached value of the '{@link #getUnsettableString() <em>Unsettable String</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getUnsettableString() + * @generated + * @ordered + */ + protected String unsettableString = UNSETTABLE_STRING_EDEFAULT; + + /** + * This is true if the Unsettable String attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableStringESet; + + /** + * The default value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableVAT() + * @generated + * @ordered + */ + protected static final VAT UNSETTABLE_VAT_EDEFAULT = VAT.VAT15; + + /** + * The cached value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see #getUnsettableVAT() + * @generated + * @ordered + */ + protected VAT unsettableVAT = UNSETTABLE_VAT_EDEFAULT; + + /** + * This is true if the Unsettable VAT attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean unsettableVATESet; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected Unsettable2WithDefaultImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getUnsettable2WithDefault(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isUnsettableBoolean() + { + return unsettableBoolean; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableBoolean(boolean newUnsettableBoolean) + { + boolean oldUnsettableBoolean = unsettableBoolean; + unsettableBoolean = newUnsettableBoolean; + boolean oldUnsettableBooleanESet = unsettableBooleanESet; + unsettableBooleanESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN, + oldUnsettableBoolean, unsettableBoolean, !oldUnsettableBooleanESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableBoolean() + { + boolean oldUnsettableBoolean = unsettableBoolean; + boolean oldUnsettableBooleanESet = unsettableBooleanESet; + unsettableBoolean = UNSETTABLE_BOOLEAN_EDEFAULT; + unsettableBooleanESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, + Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN, oldUnsettableBoolean, + UNSETTABLE_BOOLEAN_EDEFAULT, oldUnsettableBooleanESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableBoolean() + { + return unsettableBooleanESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public byte getUnsettableByte() + { + return unsettableByte; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableByte(byte newUnsettableByte) + { + byte oldUnsettableByte = unsettableByte; + unsettableByte = newUnsettableByte; + boolean oldUnsettableByteESet = unsettableByteESet; + unsettableByteESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE, + oldUnsettableByte, unsettableByte, !oldUnsettableByteESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableByte() + { + byte oldUnsettableByte = unsettableByte; + boolean oldUnsettableByteESet = unsettableByteESet; + unsettableByte = UNSETTABLE_BYTE_EDEFAULT; + unsettableByteESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE, + oldUnsettableByte, UNSETTABLE_BYTE_EDEFAULT, oldUnsettableByteESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableByte() + { + return unsettableByteESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public char getUnsettableChar() + { + return unsettableChar; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableChar(char newUnsettableChar) + { + char oldUnsettableChar = unsettableChar; + unsettableChar = newUnsettableChar; + boolean oldUnsettableCharESet = unsettableCharESet; + unsettableCharESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR, + oldUnsettableChar, unsettableChar, !oldUnsettableCharESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableChar() + { + char oldUnsettableChar = unsettableChar; + boolean oldUnsettableCharESet = unsettableCharESet; + unsettableChar = UNSETTABLE_CHAR_EDEFAULT; + unsettableCharESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR, + oldUnsettableChar, UNSETTABLE_CHAR_EDEFAULT, oldUnsettableCharESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableChar() + { + return unsettableCharESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Date getUnsettableDate() + { + return unsettableDate; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableDate(Date newUnsettableDate) + { + Date oldUnsettableDate = unsettableDate; + unsettableDate = newUnsettableDate; + boolean oldUnsettableDateESet = unsettableDateESet; + unsettableDateESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE, + oldUnsettableDate, unsettableDate, !oldUnsettableDateESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableDate() + { + Date oldUnsettableDate = unsettableDate; + boolean oldUnsettableDateESet = unsettableDateESet; + unsettableDate = UNSETTABLE_DATE_EDEFAULT; + unsettableDateESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE, + oldUnsettableDate, UNSETTABLE_DATE_EDEFAULT, oldUnsettableDateESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableDate() + { + return unsettableDateESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public double getUnsettableDouble() + { + return unsettableDouble; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableDouble(double newUnsettableDouble) + { + double oldUnsettableDouble = unsettableDouble; + unsettableDouble = newUnsettableDouble; + boolean oldUnsettableDoubleESet = unsettableDoubleESet; + unsettableDoubleESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE, + oldUnsettableDouble, unsettableDouble, !oldUnsettableDoubleESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableDouble() + { + double oldUnsettableDouble = unsettableDouble; + boolean oldUnsettableDoubleESet = unsettableDoubleESet; + unsettableDouble = UNSETTABLE_DOUBLE_EDEFAULT; + unsettableDoubleESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, + Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE, oldUnsettableDouble, UNSETTABLE_DOUBLE_EDEFAULT, + oldUnsettableDoubleESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableDouble() + { + return unsettableDoubleESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public float getUnsettableFloat() + { + return unsettableFloat; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableFloat(float newUnsettableFloat) + { + float oldUnsettableFloat = unsettableFloat; + unsettableFloat = newUnsettableFloat; + boolean oldUnsettableFloatESet = unsettableFloatESet; + unsettableFloatESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT, + oldUnsettableFloat, unsettableFloat, !oldUnsettableFloatESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableFloat() + { + float oldUnsettableFloat = unsettableFloat; + boolean oldUnsettableFloatESet = unsettableFloatESet; + unsettableFloat = UNSETTABLE_FLOAT_EDEFAULT; + unsettableFloatESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT, + oldUnsettableFloat, UNSETTABLE_FLOAT_EDEFAULT, oldUnsettableFloatESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableFloat() + { + return unsettableFloatESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public int getUnsettableInt() + { + return unsettableInt; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableInt(int newUnsettableInt) + { + int oldUnsettableInt = unsettableInt; + unsettableInt = newUnsettableInt; + boolean oldUnsettableIntESet = unsettableIntESet; + unsettableIntESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT, + oldUnsettableInt, unsettableInt, !oldUnsettableIntESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableInt() + { + int oldUnsettableInt = unsettableInt; + boolean oldUnsettableIntESet = unsettableIntESet; + unsettableInt = UNSETTABLE_INT_EDEFAULT; + unsettableIntESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT, + oldUnsettableInt, UNSETTABLE_INT_EDEFAULT, oldUnsettableIntESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableInt() + { + return unsettableIntESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public long getUnsettableLong() + { + return unsettableLong; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableLong(long newUnsettableLong) + { + long oldUnsettableLong = unsettableLong; + unsettableLong = newUnsettableLong; + boolean oldUnsettableLongESet = unsettableLongESet; + unsettableLongESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG, + oldUnsettableLong, unsettableLong, !oldUnsettableLongESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableLong() + { + long oldUnsettableLong = unsettableLong; + boolean oldUnsettableLongESet = unsettableLongESet; + unsettableLong = UNSETTABLE_LONG_EDEFAULT; + unsettableLongESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG, + oldUnsettableLong, UNSETTABLE_LONG_EDEFAULT, oldUnsettableLongESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableLong() + { + return unsettableLongESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public short getUnsettableShort() + { + return unsettableShort; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableShort(short newUnsettableShort) + { + short oldUnsettableShort = unsettableShort; + unsettableShort = newUnsettableShort; + boolean oldUnsettableShortESet = unsettableShortESet; + unsettableShortESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT, + oldUnsettableShort, unsettableShort, !oldUnsettableShortESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableShort() + { + short oldUnsettableShort = unsettableShort; + boolean oldUnsettableShortESet = unsettableShortESet; + unsettableShort = UNSETTABLE_SHORT_EDEFAULT; + unsettableShortESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT, + oldUnsettableShort, UNSETTABLE_SHORT_EDEFAULT, oldUnsettableShortESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableShort() + { + return unsettableShortESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getUnsettableString() + { + return unsettableString; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableString(String newUnsettableString) + { + String oldUnsettableString = unsettableString; + unsettableString = newUnsettableString; + boolean oldUnsettableStringESet = unsettableStringESet; + unsettableStringESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING, + oldUnsettableString, unsettableString, !oldUnsettableStringESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableString() + { + String oldUnsettableString = unsettableString; + boolean oldUnsettableStringESet = unsettableStringESet; + unsettableString = UNSETTABLE_STRING_EDEFAULT; + unsettableStringESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, + Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING, oldUnsettableString, UNSETTABLE_STRING_EDEFAULT, + oldUnsettableStringESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableString() + { + return unsettableStringESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getUnsettableVAT() + { + return unsettableVAT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableVAT(VAT newUnsettableVAT) + { + VAT oldUnsettableVAT = unsettableVAT; + unsettableVAT = newUnsettableVAT == null ? UNSETTABLE_VAT_EDEFAULT : newUnsettableVAT; + boolean oldUnsettableVATESet = unsettableVATESet; + unsettableVATESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT, + oldUnsettableVAT, unsettableVAT, !oldUnsettableVATESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableVAT() + { + VAT oldUnsettableVAT = unsettableVAT; + boolean oldUnsettableVATESet = unsettableVATESet; + unsettableVAT = UNSETTABLE_VAT_EDEFAULT; + unsettableVATESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT, + oldUnsettableVAT, UNSETTABLE_VAT_EDEFAULT, oldUnsettableVATESet)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableVAT() + { + return unsettableVATESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN: + return isUnsettableBoolean(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE: + return getUnsettableByte(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR: + return getUnsettableChar(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE: + return getUnsettableDate(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE: + return getUnsettableDouble(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT: + return getUnsettableFloat(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT: + return getUnsettableInt(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG: + return getUnsettableLong(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT: + return getUnsettableShort(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING: + return getUnsettableString(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT: + return getUnsettableVAT(); + } + 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.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN: + setUnsettableBoolean((Boolean)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE: + setUnsettableByte((Byte)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR: + setUnsettableChar((Character)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE: + setUnsettableDate((Date)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE: + setUnsettableDouble((Double)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT: + setUnsettableFloat((Float)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT: + setUnsettableInt((Integer)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG: + setUnsettableLong((Long)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT: + setUnsettableShort((Short)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING: + setUnsettableString((String)newValue); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT: + setUnsettableVAT((VAT)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN: + unsetUnsettableBoolean(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE: + unsetUnsettableByte(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR: + unsetUnsettableChar(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE: + unsetUnsettableDate(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE: + unsetUnsettableDouble(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT: + unsetUnsettableFloat(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT: + unsetUnsettableInt(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG: + unsetUnsettableLong(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT: + unsetUnsettableShort(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING: + unsetUnsettableString(); + return; + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT: + unsetUnsettableVAT(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN: + return isSetUnsettableBoolean(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE: + return isSetUnsettableByte(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR: + return isSetUnsettableChar(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE: + return isSetUnsettableDate(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE: + return isSetUnsettableDouble(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT: + return isSetUnsettableFloat(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT: + return isSetUnsettableInt(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG: + return isSetUnsettableLong(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT: + return isSetUnsettableShort(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING: + return isSetUnsettableString(); + case Model2Package.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT: + return isSetUnsettableVAT(); + } + 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(" (unsettableBoolean: "); + if (unsettableBooleanESet) + result.append(unsettableBoolean); + else + result.append("<unset>"); + result.append(", unsettableByte: "); + if (unsettableByteESet) + result.append(unsettableByte); + else + result.append("<unset>"); + result.append(", unsettableChar: "); + if (unsettableCharESet) + result.append(unsettableChar); + else + result.append("<unset>"); + result.append(", unsettableDate: "); + if (unsettableDateESet) + result.append(unsettableDate); + else + result.append("<unset>"); + result.append(", unsettableDouble: "); + if (unsettableDoubleESet) + result.append(unsettableDouble); + else + result.append("<unset>"); + result.append(", unsettableFloat: "); + if (unsettableFloatESet) + result.append(unsettableFloat); + else + result.append("<unset>"); + result.append(", unsettableInt: "); + if (unsettableIntESet) + result.append(unsettableInt); + else + result.append("<unset>"); + result.append(", unsettableLong: "); + if (unsettableLongESet) + result.append(unsettableLong); + else + result.append("<unset>"); + result.append(", unsettableShort: "); + if (unsettableShortESet) + result.append(unsettableShort); + else + result.append("<unset>"); + result.append(", unsettableString: "); + if (unsettableStringESet) + result.append(unsettableString); + else + result.append("<unset>"); + result.append(", unsettableVAT: "); + if (unsettableVATESet) + result.append(unsettableVAT); + else + result.append("<unset>"); + result.append(')'); + return result.toString(); + } + +} // Unsettable2WithDefaultImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/EnumListHolder.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/EnumListHolder.java index a1a3043bce..f6cfaaaab2 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/EnumListHolder.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/EnumListHolder.java @@ -1,52 +1,52 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Enum List Holder</b></em>'. <!-- end-user-doc
- * -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.EnumListHolder#getEnumList <em>Enum List</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getEnumListHolder()
- * @model
- * @generated
- */
-public interface EnumListHolder extends EObject
-{
- /**
- * Returns the value of the '<em><b>Enum List</b></em>' attribute list. The list contents are of type
- * {@link org.eclipse.emf.cdo.tests.model1.VAT}. The literals are from the enumeration
- * {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum List</em>' attribute list isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Enum List</em>' attribute list.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getEnumListHolder_EnumList()
- * @model
- * @generated
- */
- EList<VAT> getEnumList();
-
-} // EnumListHolder
+/* + * 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.model2; + +import org.eclipse.emf.cdo.tests.model1.VAT; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Enum List Holder</b></em>'. <!-- end-user-doc + * --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.EnumListHolder#getEnumList <em>Enum List</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getEnumListHolder() + * @model + * @generated + */ +public interface EnumListHolder extends EObject +{ + /** + * Returns the value of the '<em><b>Enum List</b></em>' attribute list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.VAT}. The literals are from the enumeration + * {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Enum List</em>' attribute list isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Enum List</em>' attribute list. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getEnumListHolder_EnumList() + * @model + * @generated + */ + EList<VAT> getEnumList(); + +} // EnumListHolder diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/MapHolder.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/MapHolder.java index 41a5a593ed..b69a4eeaf5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/MapHolder.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/MapHolder.java @@ -1,208 +1,208 @@ -/*
- * 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: MapHolder.java,v 1.3 2011-01-01 11:01:58 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2;
-
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Map Holder</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getIntegerToStringMap <em>Integer To String Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getStringToStringMap <em>String To String Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getStringToVATMap <em>String To VAT Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getStringToAddressContainmentMap <em>String To Address
- * Containment Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getStringToAddressReferenceMap <em>String To Address Reference
- * Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getEObjectToEObjectMap <em>EObject To EObject Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getEObjectToEObjectKeyContainedMap <em>EObject To EObject Key
- * Contained Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getEObjectToEObjectBothContainedMap <em>EObject To EObject Both
- * Contained Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getEObjectToEObjectValueContainedMap <em>EObject To EObject
- * Value Contained Map</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder()
- * @model
- * @generated
- */
-public interface MapHolder extends EObject
-{
- /**
- * Returns the value of the '<em><b>Integer To String Map</b></em>' map. The key is of type {@link java.lang.Integer},
- * and the value is of type {@link java.lang.String}, <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Integer To String Map</em>' map isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Integer To String Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_IntegerToStringMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.IntegerToStringMap<org.eclipse.emf.ecore.EIntegerObject, org.eclipse.emf.ecore.EString>"
- * @generated
- */
- EMap<Integer, String> getIntegerToStringMap();
-
- /**
- * Returns the value of the '<em><b>String To String Map</b></em>' map. The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String}, <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>String To String Map</em>' map isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>String To String Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_StringToStringMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.StringToStringMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>"
- * @generated
- */
- EMap<String, String> getStringToStringMap();
-
- /**
- * Returns the value of the '<em><b>String To VAT Map</b></em>' map. The key is of type {@link java.lang.String}, and
- * the value is of type {@link org.eclipse.emf.cdo.tests.model1.VAT}, <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>String To VAT Map</em>' map isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>String To VAT Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_StringToVATMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.StringToVATMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.cdo.tests.model1.VAT>"
- * @generated
- */
- EMap<String, VAT> getStringToVATMap();
-
- /**
- * Returns the value of the '<em><b>String To Address Containment Map</b></em>' map. The key is of type
- * {@link java.lang.String}, and the value is of type {@link org.eclipse.emf.cdo.tests.model1.Address}, <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>String To Address Containment Map</em>' map isn't clear, there really should be more of
- * a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>String To Address Containment Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_StringToAddressContainmentMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.StringToAddressContainmentMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.cdo.tests.model1.Address>"
- * @generated
- */
- EMap<String, Address> getStringToAddressContainmentMap();
-
- /**
- * Returns the value of the '<em><b>String To Address Reference Map</b></em>' map. The key is of type
- * {@link java.lang.String}, and the value is of type {@link org.eclipse.emf.cdo.tests.model1.Address}, <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>String To Address Reference Map</em>' map isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>String To Address Reference Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_StringToAddressReferenceMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.StringToAddressReferenceMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.cdo.tests.model1.Address>"
- * @generated
- */
- EMap<String, Address> getStringToAddressReferenceMap();
-
- /**
- * Returns the value of the '<em><b>EObject To EObject Map</b></em>' map. The key is of type
- * {@link org.eclipse.emf.ecore.EObject}, and the value is of type {@link org.eclipse.emf.ecore.EObject}, <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EObject To EObject Map</em>' map isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>EObject To EObject Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_EObjectToEObjectMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.EObjectToEObjectMap<org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject>"
- * @generated
- */
- EMap<EObject, EObject> getEObjectToEObjectMap();
-
- /**
- * Returns the value of the '<em><b>EObject To EObject Key Contained Map</b></em>' map. The key is of type
- * {@link org.eclipse.emf.ecore.EObject}, and the value is of type {@link org.eclipse.emf.ecore.EObject}, <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EObject To EObject Key Contained Map</em>' map isn't clear, there really should be more
- * of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>EObject To EObject Key Contained Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_EObjectToEObjectKeyContainedMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.EObjectToEObjectKeyContainedMap<org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject>"
- * @generated
- */
- EMap<EObject, EObject> getEObjectToEObjectKeyContainedMap();
-
- /**
- * Returns the value of the '<em><b>EObject To EObject Both Contained Map</b></em>' map. The key is of type
- * {@link org.eclipse.emf.ecore.EObject}, and the value is of type {@link org.eclipse.emf.ecore.EObject}, <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EObject To EObject Both Contained Map</em>' map isn't clear, there really should be more
- * of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>EObject To EObject Both Contained Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_EObjectToEObjectBothContainedMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.EObjectToEObjectBothContainedMap<org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject>"
- * @generated
- */
- EMap<EObject, EObject> getEObjectToEObjectBothContainedMap();
-
- /**
- * Returns the value of the '<em><b>EObject To EObject Value Contained Map</b></em>' map. The key is of type
- * {@link org.eclipse.emf.ecore.EObject}, and the value is of type {@link org.eclipse.emf.ecore.EObject}, <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>EObject To EObject Value Contained Map</em>' map isn't clear, there really should be
- * more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>EObject To EObject Value Contained Map</em>' map.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_EObjectToEObjectValueContainedMap()
- * @model mapType=
- * "org.eclipse.emf.cdo.tests.model2.EObjectToEObjectValueContainedMap<org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject>"
- * @generated
- */
- EMap<EObject, EObject> getEObjectToEObjectValueContainedMap();
-
-} // MapHolder
+/* + * 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: MapHolder.java,v 1.3 2011-01-01 11:01:58 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2; + +import org.eclipse.emf.cdo.tests.model1.Address; +import org.eclipse.emf.cdo.tests.model1.VAT; + +import org.eclipse.emf.common.util.EMap; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Map Holder</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getIntegerToStringMap <em>Integer To String Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getStringToStringMap <em>String To String Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getStringToVATMap <em>String To VAT Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getStringToAddressContainmentMap <em>String To Address + * Containment Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getStringToAddressReferenceMap <em>String To Address Reference + * Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getEObjectToEObjectMap <em>EObject To EObject Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getEObjectToEObjectKeyContainedMap <em>EObject To EObject Key + * Contained Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getEObjectToEObjectBothContainedMap <em>EObject To EObject Both + * Contained Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.MapHolder#getEObjectToEObjectValueContainedMap <em>EObject To EObject + * Value Contained Map</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder() + * @model + * @generated + */ +public interface MapHolder extends EObject +{ + /** + * Returns the value of the '<em><b>Integer To String Map</b></em>' map. The key is of type {@link java.lang.Integer}, + * and the value is of type {@link java.lang.String}, <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Integer To String Map</em>' map isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Integer To String Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_IntegerToStringMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.IntegerToStringMap<org.eclipse.emf.ecore.EIntegerObject, org.eclipse.emf.ecore.EString>" + * @generated + */ + EMap<Integer, String> getIntegerToStringMap(); + + /** + * Returns the value of the '<em><b>String To String Map</b></em>' map. The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>String To String Map</em>' map isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>String To String Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_StringToStringMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.StringToStringMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" + * @generated + */ + EMap<String, String> getStringToStringMap(); + + /** + * Returns the value of the '<em><b>String To VAT Map</b></em>' map. The key is of type {@link java.lang.String}, and + * the value is of type {@link org.eclipse.emf.cdo.tests.model1.VAT}, <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>String To VAT Map</em>' map isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>String To VAT Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_StringToVATMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.StringToVATMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.cdo.tests.model1.VAT>" + * @generated + */ + EMap<String, VAT> getStringToVATMap(); + + /** + * Returns the value of the '<em><b>String To Address Containment Map</b></em>' map. The key is of type + * {@link java.lang.String}, and the value is of type {@link org.eclipse.emf.cdo.tests.model1.Address}, <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>String To Address Containment Map</em>' map isn't clear, there really should be more of + * a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>String To Address Containment Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_StringToAddressContainmentMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.StringToAddressContainmentMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.cdo.tests.model1.Address>" + * @generated + */ + EMap<String, Address> getStringToAddressContainmentMap(); + + /** + * Returns the value of the '<em><b>String To Address Reference Map</b></em>' map. The key is of type + * {@link java.lang.String}, and the value is of type {@link org.eclipse.emf.cdo.tests.model1.Address}, <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>String To Address Reference Map</em>' map isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>String To Address Reference Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_StringToAddressReferenceMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.StringToAddressReferenceMap<org.eclipse.emf.ecore.EString, org.eclipse.emf.cdo.tests.model1.Address>" + * @generated + */ + EMap<String, Address> getStringToAddressReferenceMap(); + + /** + * Returns the value of the '<em><b>EObject To EObject Map</b></em>' map. The key is of type + * {@link org.eclipse.emf.ecore.EObject}, and the value is of type {@link org.eclipse.emf.ecore.EObject}, <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>EObject To EObject Map</em>' map isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>EObject To EObject Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_EObjectToEObjectMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.EObjectToEObjectMap<org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject>" + * @generated + */ + EMap<EObject, EObject> getEObjectToEObjectMap(); + + /** + * Returns the value of the '<em><b>EObject To EObject Key Contained Map</b></em>' map. The key is of type + * {@link org.eclipse.emf.ecore.EObject}, and the value is of type {@link org.eclipse.emf.ecore.EObject}, <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>EObject To EObject Key Contained Map</em>' map isn't clear, there really should be more + * of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>EObject To EObject Key Contained Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_EObjectToEObjectKeyContainedMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.EObjectToEObjectKeyContainedMap<org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject>" + * @generated + */ + EMap<EObject, EObject> getEObjectToEObjectKeyContainedMap(); + + /** + * Returns the value of the '<em><b>EObject To EObject Both Contained Map</b></em>' map. The key is of type + * {@link org.eclipse.emf.ecore.EObject}, and the value is of type {@link org.eclipse.emf.ecore.EObject}, <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>EObject To EObject Both Contained Map</em>' map isn't clear, there really should be more + * of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>EObject To EObject Both Contained Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_EObjectToEObjectBothContainedMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.EObjectToEObjectBothContainedMap<org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject>" + * @generated + */ + EMap<EObject, EObject> getEObjectToEObjectBothContainedMap(); + + /** + * Returns the value of the '<em><b>EObject To EObject Value Contained Map</b></em>' map. The key is of type + * {@link org.eclipse.emf.ecore.EObject}, and the value is of type {@link org.eclipse.emf.ecore.EObject}, <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>EObject To EObject Value Contained Map</em>' map isn't clear, there really should be + * more of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>EObject To EObject Value Contained Map</em>' map. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getMapHolder_EObjectToEObjectValueContainedMap() + * @model mapType= + * "org.eclipse.emf.cdo.tests.model2.EObjectToEObjectValueContainedMap<org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject>" + * @generated + */ + EMap<EObject, EObject> getEObjectToEObjectValueContainedMap(); + +} // MapHolder diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java index c96cfc6c67..8417537e5c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java @@ -1,127 +1,127 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
- * the model. <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package
- * @generated
- */
-public interface Model2Factory extends EFactory
-{
- /**
- * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- Model2Factory eINSTANCE = org.eclipse.emf.cdo.tests.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.model2; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of + * the model. <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package + * @generated + */ +public interface Model2Factory extends EFactory +{ + /** + * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + Model2Factory eINSTANCE = org.eclipse.emf.cdo.tests.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/model2/Model2Package.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java index 3da69b2823..ba16d1d433 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java @@ -1,2361 +1,2361 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.cdo.tests.model1.Model1Package;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-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.model2.Model2Factory
- * @model kind="package"
- * @generated
- */
-public interface Model2Package extends EPackage
-{
- /**
- * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "model2";
-
- /**
- * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/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.model2.impl.Model2PackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl
- * <em>Special Purchase Order</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.TaskContainerImpl <em>Task Container</em>}
- * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.TaskImpl <em>Task</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.TaskImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.Unsettable1Impl <em>Unsettable1</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.Unsettable2WithDefaultImpl
- * <em>Unsettable2 With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.PersistentContainmentImpl
- * <em>Persistent Containment</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.PersistentContainmentImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.TransientContainerImpl
- * <em>Transient Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.NotUnsettableImpl <em>Not Unsettable</em>}
- * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.NotUnsettableWithDefaultImpl
- * <em>Not Unsettable With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.MapHolderImpl <em>Map Holder</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.StringToStringMapImpl
- * <em>String To String Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.StringToStringMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.IntegerToStringMapImpl
- * <em>Integer To String Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.IntegerToStringMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.StringToVATMapImpl
- * <em>String To VAT Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.StringToVATMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.StringToAddressContainmentMapImpl
- * <em>String To Address Containment Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.StringToAddressContainmentMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.StringToAddressReferenceMapImpl
- * <em>String To Address Reference Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.StringToAddressReferenceMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.EObjectToEObjectMapImpl
- * <em>EObject To EObject Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.EObjectToEObjectKeyContainedMapImpl
- * <em>EObject To EObject Key Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectKeyContainedMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.EObjectToEObjectBothContainedMapImpl
- * <em>EObject To EObject Both Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectBothContainedMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.EObjectToEObjectValueContainedMapImpl
- * <em>EObject To EObject Value Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectValueContainedMapImpl
- * @see org.eclipse.emf.cdo.tests.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.model2.impl.EnumListHolderImpl
- * <em>Enum List Holder</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.impl.EnumListHolderImpl
- * @see org.eclipse.emf.cdo.tests.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.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.model2.SpecialPurchaseOrder
- * @generated
- */
- EClass getSpecialPurchaseOrder();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.SpecialPurchaseOrder#getDiscountCode()
- * @see #getSpecialPurchaseOrder()
- * @generated
- */
- EAttribute getSpecialPurchaseOrder_DiscountCode();
-
- /**
- * Returns the meta object for the containment reference '
- * {@link org.eclipse.emf.cdo.tests.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.model2.SpecialPurchaseOrder#getShippingAddress()
- * @see #getSpecialPurchaseOrder()
- * @generated
- */
- EReference getSpecialPurchaseOrder_ShippingAddress();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.TaskContainer
- * @generated
- */
- EClass getTaskContainer();
-
- /**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.emf.cdo.tests.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.model2.TaskContainer#getTasks()
- * @see #getTaskContainer()
- * @generated
- */
- EReference getTaskContainer_Tasks();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.Task
- * @generated
- */
- EClass getTask();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.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.model2.Task#getTaskContainer()
- * @see #getTask()
- * @generated
- */
- EReference getTask_TaskContainer();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Task#getDescription()
- * @see #getTask()
- * @generated
- */
- EAttribute getTask_Description();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Task#isDone()
- * @see #getTask()
- * @generated
- */
- EAttribute getTask_Done();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1
- * @generated
- */
- EClass getUnsettable1();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#isUnsettableBoolean()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableBoolean();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableByte()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableByte();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableChar()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableChar();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableDate()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableDate();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableDouble()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableDouble();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableFloat()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableFloat();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableInt()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableInt();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableLong()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableLong();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableShort()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableShort();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableString()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableString();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableVAT()
- * @see #getUnsettable1()
- * @generated
- */
- EAttribute getUnsettable1_UnsettableVAT();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault
- * @generated
- */
- EClass getUnsettable2WithDefault();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#isUnsettableBoolean()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableBoolean();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableByte()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableByte();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableChar()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableChar();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableDate()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableDate();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableDouble()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableDouble();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableFloat()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableFloat();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableInt()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableInt();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableLong()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableLong();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableShort()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableShort();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableString()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableString();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableVAT()
- * @see #getUnsettable2WithDefault()
- * @generated
- */
- EAttribute getUnsettable2WithDefault_UnsettableVAT();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.PersistentContainment
- * @generated
- */
- EClass getPersistentContainment();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.PersistentContainment#getAttrBefore()
- * @see #getPersistentContainment()
- * @generated
- */
- EAttribute getPersistentContainment_AttrBefore();
-
- /**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.emf.cdo.tests.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.model2.PersistentContainment#getChildren()
- * @see #getPersistentContainment()
- * @generated
- */
- EReference getPersistentContainment_Children();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.PersistentContainment#getAttrAfter()
- * @see #getPersistentContainment()
- * @generated
- */
- EAttribute getPersistentContainment_AttrAfter();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.TransientContainer
- * @generated
- */
- EClass getTransientContainer();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.TransientContainer#getAttrBefore()
- * @see #getTransientContainer()
- * @generated
- */
- EAttribute getTransientContainer_AttrBefore();
-
- /**
- * Returns the meta object for the container reference '
- * {@link org.eclipse.emf.cdo.tests.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.model2.TransientContainer#getParent()
- * @see #getTransientContainer()
- * @generated
- */
- EReference getTransientContainer_Parent();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.TransientContainer#getAttrAfter()
- * @see #getTransientContainer()
- * @generated
- */
- EAttribute getTransientContainer_AttrAfter();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable
- * @generated
- */
- EClass getNotUnsettable();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#isNotUnsettableBoolean()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableBoolean();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableByte()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableByte();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableChar()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableChar();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableDate()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableDate();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableDouble()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableDouble();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableFloat()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableFloat();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableInt()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableInt();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableLong()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableLong();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableShort()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableShort();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableString()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableString();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableVAT()
- * @see #getNotUnsettable()
- * @generated
- */
- EAttribute getNotUnsettable_NotUnsettableVAT();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault
- * @generated
- */
- EClass getNotUnsettableWithDefault();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#isNotUnsettableBoolean()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableBoolean();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableByte()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableByte();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableChar()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableChar();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableDate()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableDate();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableDouble()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableDouble();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableFloat()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableFloat();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableInt()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableInt();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableLong()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableLong();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableShort()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableShort();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableString()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableString();
-
- /**
- * Returns the meta object for the attribute '
- * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableVAT()
- * @see #getNotUnsettableWithDefault()
- * @generated
- */
- EAttribute getNotUnsettableWithDefault_NotUnsettableVAT();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder
- * @generated
- */
- EClass getMapHolder();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getIntegerToStringMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_IntegerToStringMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getStringToStringMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_StringToStringMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getStringToVATMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_StringToVATMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getStringToAddressContainmentMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_StringToAddressContainmentMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getStringToAddressReferenceMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_StringToAddressReferenceMap();
-
- /**
- * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getEObjectToEObjectMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_EObjectToEObjectMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getEObjectToEObjectKeyContainedMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_EObjectToEObjectKeyContainedMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getEObjectToEObjectBothContainedMap()
- * @see #getMapHolder()
- * @generated
- */
- EReference getMapHolder_EObjectToEObjectBothContainedMap();
-
- /**
- * Returns the meta object for the map '
- * {@link org.eclipse.emf.cdo.tests.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.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.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.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.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.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.model2.EnumListHolder
- * @generated
- */
- EClass getEnumListHolder();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.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.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.model2; + +import org.eclipse.emf.cdo.tests.model1.Model1Package; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +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.model2.Model2Factory + * @model kind="package" + * @generated + */ +public interface Model2Package extends EPackage +{ + /** + * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + String eNAME = "model2"; + + /** + * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/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.model2.impl.Model2PackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl + * <em>Special Purchase Order</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.TaskContainerImpl <em>Task Container</em>} + * ' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.TaskImpl <em>Task</em>}' class. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.TaskImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.Unsettable1Impl <em>Unsettable1</em>}' + * class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.Unsettable2WithDefaultImpl + * <em>Unsettable2 With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.PersistentContainmentImpl + * <em>Persistent Containment</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.PersistentContainmentImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.TransientContainerImpl + * <em>Transient Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.NotUnsettableImpl <em>Not Unsettable</em>} + * ' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.NotUnsettableWithDefaultImpl + * <em>Not Unsettable With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.MapHolderImpl <em>Map Holder</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.StringToStringMapImpl + * <em>String To String Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.StringToStringMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.IntegerToStringMapImpl + * <em>Integer To String Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.IntegerToStringMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.StringToVATMapImpl + * <em>String To VAT Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.StringToVATMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.StringToAddressContainmentMapImpl + * <em>String To Address Containment Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.StringToAddressContainmentMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.StringToAddressReferenceMapImpl + * <em>String To Address Reference Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.StringToAddressReferenceMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.EObjectToEObjectMapImpl + * <em>EObject To EObject Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.EObjectToEObjectKeyContainedMapImpl + * <em>EObject To EObject Key Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectKeyContainedMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.EObjectToEObjectBothContainedMapImpl + * <em>EObject To EObject Both Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectBothContainedMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.EObjectToEObjectValueContainedMapImpl + * <em>EObject To EObject Value Contained Map</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectValueContainedMapImpl + * @see org.eclipse.emf.cdo.tests.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.model2.impl.EnumListHolderImpl + * <em>Enum List Holder</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.impl.EnumListHolderImpl + * @see org.eclipse.emf.cdo.tests.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.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.model2.SpecialPurchaseOrder + * @generated + */ + EClass getSpecialPurchaseOrder(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.SpecialPurchaseOrder#getDiscountCode() + * @see #getSpecialPurchaseOrder() + * @generated + */ + EAttribute getSpecialPurchaseOrder_DiscountCode(); + + /** + * Returns the meta object for the containment reference ' + * {@link org.eclipse.emf.cdo.tests.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.model2.SpecialPurchaseOrder#getShippingAddress() + * @see #getSpecialPurchaseOrder() + * @generated + */ + EReference getSpecialPurchaseOrder_ShippingAddress(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.TaskContainer + * @generated + */ + EClass getTaskContainer(); + + /** + * Returns the meta object for the containment reference list ' + * {@link org.eclipse.emf.cdo.tests.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.model2.TaskContainer#getTasks() + * @see #getTaskContainer() + * @generated + */ + EReference getTaskContainer_Tasks(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.Task + * @generated + */ + EClass getTask(); + + /** + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.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.model2.Task#getTaskContainer() + * @see #getTask() + * @generated + */ + EReference getTask_TaskContainer(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Task#getDescription() + * @see #getTask() + * @generated + */ + EAttribute getTask_Description(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Task#isDone() + * @see #getTask() + * @generated + */ + EAttribute getTask_Done(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1 + * @generated + */ + EClass getUnsettable1(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#isUnsettableBoolean() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableBoolean(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableByte() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableByte(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableChar() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableChar(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableDate() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableDate(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableDouble() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableDouble(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableFloat() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableFloat(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableInt() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableInt(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableLong() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableLong(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableShort() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableShort(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableString() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableString(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable1#getUnsettableVAT() + * @see #getUnsettable1() + * @generated + */ + EAttribute getUnsettable1_UnsettableVAT(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault + * @generated + */ + EClass getUnsettable2WithDefault(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#isUnsettableBoolean() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableBoolean(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableByte() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableByte(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableChar() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableChar(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableDate() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableDate(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableDouble() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableDouble(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableFloat() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableFloat(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableInt() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableInt(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableLong() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableLong(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableShort() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableShort(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableString() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableString(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.Unsettable2WithDefault#getUnsettableVAT() + * @see #getUnsettable2WithDefault() + * @generated + */ + EAttribute getUnsettable2WithDefault_UnsettableVAT(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.PersistentContainment + * @generated + */ + EClass getPersistentContainment(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.PersistentContainment#getAttrBefore() + * @see #getPersistentContainment() + * @generated + */ + EAttribute getPersistentContainment_AttrBefore(); + + /** + * Returns the meta object for the containment reference list ' + * {@link org.eclipse.emf.cdo.tests.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.model2.PersistentContainment#getChildren() + * @see #getPersistentContainment() + * @generated + */ + EReference getPersistentContainment_Children(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.PersistentContainment#getAttrAfter() + * @see #getPersistentContainment() + * @generated + */ + EAttribute getPersistentContainment_AttrAfter(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.TransientContainer + * @generated + */ + EClass getTransientContainer(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.TransientContainer#getAttrBefore() + * @see #getTransientContainer() + * @generated + */ + EAttribute getTransientContainer_AttrBefore(); + + /** + * Returns the meta object for the container reference ' + * {@link org.eclipse.emf.cdo.tests.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.model2.TransientContainer#getParent() + * @see #getTransientContainer() + * @generated + */ + EReference getTransientContainer_Parent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.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.model2.TransientContainer#getAttrAfter() + * @see #getTransientContainer() + * @generated + */ + EAttribute getTransientContainer_AttrAfter(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable + * @generated + */ + EClass getNotUnsettable(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#isNotUnsettableBoolean() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableBoolean(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableByte() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableByte(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableChar() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableChar(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableDate() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableDate(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableDouble() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableDouble(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableFloat() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableFloat(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableInt() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableInt(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableLong() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableLong(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableShort() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableShort(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableString() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableString(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettable#getNotUnsettableVAT() + * @see #getNotUnsettable() + * @generated + */ + EAttribute getNotUnsettable_NotUnsettableVAT(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault + * @generated + */ + EClass getNotUnsettableWithDefault(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#isNotUnsettableBoolean() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableBoolean(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableByte() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableByte(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableChar() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableChar(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableDate() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableDate(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableDouble() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableDouble(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableFloat() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableFloat(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableInt() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableInt(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableLong() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableLong(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableShort() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableShort(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableString() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableString(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.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.model2.NotUnsettableWithDefault#getNotUnsettableVAT() + * @see #getNotUnsettableWithDefault() + * @generated + */ + EAttribute getNotUnsettableWithDefault_NotUnsettableVAT(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder + * @generated + */ + EClass getMapHolder(); + + /** + * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getIntegerToStringMap() + * @see #getMapHolder() + * @generated + */ + EReference getMapHolder_IntegerToStringMap(); + + /** + * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getStringToStringMap() + * @see #getMapHolder() + * @generated + */ + EReference getMapHolder_StringToStringMap(); + + /** + * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getStringToVATMap() + * @see #getMapHolder() + * @generated + */ + EReference getMapHolder_StringToVATMap(); + + /** + * Returns the meta object for the map ' + * {@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getStringToAddressContainmentMap() + * @see #getMapHolder() + * @generated + */ + EReference getMapHolder_StringToAddressContainmentMap(); + + /** + * Returns the meta object for the map ' + * {@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getStringToAddressReferenceMap() + * @see #getMapHolder() + * @generated + */ + EReference getMapHolder_StringToAddressReferenceMap(); + + /** + * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getEObjectToEObjectMap() + * @see #getMapHolder() + * @generated + */ + EReference getMapHolder_EObjectToEObjectMap(); + + /** + * Returns the meta object for the map ' + * {@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getEObjectToEObjectKeyContainedMap() + * @see #getMapHolder() + * @generated + */ + EReference getMapHolder_EObjectToEObjectKeyContainedMap(); + + /** + * Returns the meta object for the map ' + * {@link org.eclipse.emf.cdo.tests.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.model2.MapHolder#getEObjectToEObjectBothContainedMap() + * @see #getMapHolder() + * @generated + */ + EReference getMapHolder_EObjectToEObjectBothContainedMap(); + + /** + * Returns the meta object for the map ' + * {@link org.eclipse.emf.cdo.tests.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.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.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.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.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.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.model2.EnumListHolder + * @generated + */ + EClass getEnumListHolder(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.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.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/model2/NotUnsettable.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java index cf9882e677..b954a37f87 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java @@ -1,346 +1,346 @@ -/*
- * 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: NotUnsettable.java,v 1.2 2011-01-01 11:01:58 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-
-import org.eclipse.emf.ecore.EObject;
-
-import java.util.Date;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Not Unsettable</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#isNotUnsettableBoolean <em>Not Unsettable Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableByte <em>Not Unsettable Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableChar <em>Not Unsettable Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDate <em>Not Unsettable Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDouble <em>Not Unsettable Double</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableFloat <em>Not Unsettable Float</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableInt <em>Not Unsettable Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableLong <em>Not Unsettable Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableShort <em>Not Unsettable Short</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableString <em>Not Unsettable String</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableVAT <em>Not Unsettable VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable()
- * @model
- * @generated
- */
-public interface NotUnsettable extends EObject
-{
- /**
- * Returns the value of the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Boolean</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Boolean</em>' attribute.
- * @see #setNotUnsettableBoolean(boolean)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableBoolean()
- * @model
- * @generated
- */
- boolean isNotUnsettableBoolean();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#isNotUnsettableBoolean
- * <em>Not Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Boolean</em>' attribute.
- * @see #isNotUnsettableBoolean()
- * @generated
- */
- void setNotUnsettableBoolean(boolean value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Byte</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Byte</em>' attribute.
- * @see #setNotUnsettableByte(byte)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableByte()
- * @model
- * @generated
- */
- byte getNotUnsettableByte();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableByte
- * <em>Not Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Byte</em>' attribute.
- * @see #getNotUnsettableByte()
- * @generated
- */
- void setNotUnsettableByte(byte value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Char</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Char</em>' attribute.
- * @see #setNotUnsettableChar(char)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableChar()
- * @model
- * @generated
- */
- char getNotUnsettableChar();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableChar
- * <em>Not Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Char</em>' attribute.
- * @see #getNotUnsettableChar()
- * @generated
- */
- void setNotUnsettableChar(char value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Date</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Date</em>' attribute.
- * @see #setNotUnsettableDate(Date)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableDate()
- * @model
- * @generated
- */
- Date getNotUnsettableDate();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDate
- * <em>Not Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Date</em>' attribute.
- * @see #getNotUnsettableDate()
- * @generated
- */
- void setNotUnsettableDate(Date value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Double</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Double</em>' attribute.
- * @see #setNotUnsettableDouble(double)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableDouble()
- * @model
- * @generated
- */
- double getNotUnsettableDouble();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDouble
- * <em>Not Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Double</em>' attribute.
- * @see #getNotUnsettableDouble()
- * @generated
- */
- void setNotUnsettableDouble(double value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Float</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Float</em>' attribute.
- * @see #setNotUnsettableFloat(float)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableFloat()
- * @model
- * @generated
- */
- float getNotUnsettableFloat();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableFloat
- * <em>Not Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Float</em>' attribute.
- * @see #getNotUnsettableFloat()
- * @generated
- */
- void setNotUnsettableFloat(float value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Int</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Int</em>' attribute.
- * @see #setNotUnsettableInt(int)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableInt()
- * @model
- * @generated
- */
- int getNotUnsettableInt();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableInt
- * <em>Not Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Int</em>' attribute.
- * @see #getNotUnsettableInt()
- * @generated
- */
- void setNotUnsettableInt(int value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Long</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Long</em>' attribute.
- * @see #setNotUnsettableLong(long)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableLong()
- * @model
- * @generated
- */
- long getNotUnsettableLong();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableLong
- * <em>Not Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Long</em>' attribute.
- * @see #getNotUnsettableLong()
- * @generated
- */
- void setNotUnsettableLong(long value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Short</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Short</em>' attribute.
- * @see #setNotUnsettableShort(short)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableShort()
- * @model
- * @generated
- */
- short getNotUnsettableShort();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableShort
- * <em>Not Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Short</em>' attribute.
- * @see #getNotUnsettableShort()
- * @generated
- */
- void setNotUnsettableShort(short value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable String</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable String</em>' attribute.
- * @see #setNotUnsettableString(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableString()
- * @model
- * @generated
- */
- String getNotUnsettableString();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableString
- * <em>Not Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable String</em>' attribute.
- * @see #getNotUnsettableString()
- * @generated
- */
- void setNotUnsettableString(String value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable VAT</b></em>' attribute. The literals are from the enumeration
- * {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable VAT</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable VAT</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see #setNotUnsettableVAT(VAT)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableVAT()
- * @model
- * @generated
- */
- VAT getNotUnsettableVAT();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableVAT
- * <em>Not Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable VAT</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see #getNotUnsettableVAT()
- * @generated
- */
- void setNotUnsettableVAT(VAT value);
-
-} // NotUnsettable
+/* + * 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: NotUnsettable.java,v 1.2 2011-01-01 11:01:58 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2; + +import org.eclipse.emf.cdo.tests.model1.VAT; + +import org.eclipse.emf.ecore.EObject; + +import java.util.Date; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Not Unsettable</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#isNotUnsettableBoolean <em>Not Unsettable Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableByte <em>Not Unsettable Byte</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableChar <em>Not Unsettable Char</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDate <em>Not Unsettable Date</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDouble <em>Not Unsettable Double</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableFloat <em>Not Unsettable Float</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableInt <em>Not Unsettable Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableLong <em>Not Unsettable Long</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableShort <em>Not Unsettable Short</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableString <em>Not Unsettable String</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableVAT <em>Not Unsettable VAT</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable() + * @model + * @generated + */ +public interface NotUnsettable extends EObject +{ + /** + * Returns the value of the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Boolean</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Boolean</em>' attribute. + * @see #setNotUnsettableBoolean(boolean) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableBoolean() + * @model + * @generated + */ + boolean isNotUnsettableBoolean(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#isNotUnsettableBoolean + * <em>Not Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Boolean</em>' attribute. + * @see #isNotUnsettableBoolean() + * @generated + */ + void setNotUnsettableBoolean(boolean value); + + /** + * Returns the value of the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Byte</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Byte</em>' attribute. + * @see #setNotUnsettableByte(byte) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableByte() + * @model + * @generated + */ + byte getNotUnsettableByte(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableByte + * <em>Not Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Byte</em>' attribute. + * @see #getNotUnsettableByte() + * @generated + */ + void setNotUnsettableByte(byte value); + + /** + * Returns the value of the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Char</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Char</em>' attribute. + * @see #setNotUnsettableChar(char) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableChar() + * @model + * @generated + */ + char getNotUnsettableChar(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableChar + * <em>Not Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Char</em>' attribute. + * @see #getNotUnsettableChar() + * @generated + */ + void setNotUnsettableChar(char value); + + /** + * Returns the value of the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Date</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Date</em>' attribute. + * @see #setNotUnsettableDate(Date) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableDate() + * @model + * @generated + */ + Date getNotUnsettableDate(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDate + * <em>Not Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Date</em>' attribute. + * @see #getNotUnsettableDate() + * @generated + */ + void setNotUnsettableDate(Date value); + + /** + * Returns the value of the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Double</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Double</em>' attribute. + * @see #setNotUnsettableDouble(double) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableDouble() + * @model + * @generated + */ + double getNotUnsettableDouble(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDouble + * <em>Not Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Double</em>' attribute. + * @see #getNotUnsettableDouble() + * @generated + */ + void setNotUnsettableDouble(double value); + + /** + * Returns the value of the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Float</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Float</em>' attribute. + * @see #setNotUnsettableFloat(float) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableFloat() + * @model + * @generated + */ + float getNotUnsettableFloat(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableFloat + * <em>Not Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Float</em>' attribute. + * @see #getNotUnsettableFloat() + * @generated + */ + void setNotUnsettableFloat(float value); + + /** + * Returns the value of the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Int</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Int</em>' attribute. + * @see #setNotUnsettableInt(int) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableInt() + * @model + * @generated + */ + int getNotUnsettableInt(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableInt + * <em>Not Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Int</em>' attribute. + * @see #getNotUnsettableInt() + * @generated + */ + void setNotUnsettableInt(int value); + + /** + * Returns the value of the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Long</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Long</em>' attribute. + * @see #setNotUnsettableLong(long) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableLong() + * @model + * @generated + */ + long getNotUnsettableLong(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableLong + * <em>Not Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Long</em>' attribute. + * @see #getNotUnsettableLong() + * @generated + */ + void setNotUnsettableLong(long value); + + /** + * Returns the value of the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Short</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Short</em>' attribute. + * @see #setNotUnsettableShort(short) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableShort() + * @model + * @generated + */ + short getNotUnsettableShort(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableShort + * <em>Not Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Short</em>' attribute. + * @see #getNotUnsettableShort() + * @generated + */ + void setNotUnsettableShort(short value); + + /** + * Returns the value of the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable String</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable String</em>' attribute. + * @see #setNotUnsettableString(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableString() + * @model + * @generated + */ + String getNotUnsettableString(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableString + * <em>Not Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable String</em>' attribute. + * @see #getNotUnsettableString() + * @generated + */ + void setNotUnsettableString(String value); + + /** + * Returns the value of the '<em><b>Not Unsettable VAT</b></em>' attribute. The literals are from the enumeration + * {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable VAT</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable VAT</em>' attribute. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see #setNotUnsettableVAT(VAT) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableVAT() + * @model + * @generated + */ + VAT getNotUnsettableVAT(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableVAT + * <em>Not Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable VAT</em>' attribute. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see #getNotUnsettableVAT() + * @generated + */ + void setNotUnsettableVAT(VAT value); + +} // NotUnsettable diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java index f38ff6606b..2deca83678 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java @@ -1,368 +1,368 @@ -/*
- * 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: NotUnsettableWithDefault.java,v 1.2 2011-01-01 11:01:58 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-
-import org.eclipse.emf.ecore.EObject;
-
-import java.util.Date;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Not Unsettable With Default</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#isNotUnsettableBoolean <em>Not Unsettable
- * Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableByte <em>Not Unsettable Byte
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableChar <em>Not Unsettable Char
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDate <em>Not Unsettable Date
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDouble <em>Not Unsettable Double
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableFloat <em>Not Unsettable Float
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableInt <em>Not Unsettable Int</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableLong <em>Not Unsettable Long
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableShort <em>Not Unsettable Short
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableString <em>Not Unsettable String
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableVAT <em>Not Unsettable VAT</em>}
- * </li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault()
- * @model
- * @generated
- */
-public interface NotUnsettableWithDefault extends EObject
-{
- /**
- * Returns the value of the '<em><b>Not Unsettable Boolean</b></em>' attribute. The default value is
- * <code>"true"</code>. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Boolean</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Boolean</em>' attribute.
- * @see #setNotUnsettableBoolean(boolean)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableBoolean()
- * @model default="true"
- * @generated
- */
- boolean isNotUnsettableBoolean();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#isNotUnsettableBoolean
- * <em>Not Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Boolean</em>' attribute.
- * @see #isNotUnsettableBoolean()
- * @generated
- */
- void setNotUnsettableBoolean(boolean value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Byte</b></em>' attribute. The default value is <code>"3"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Byte</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Byte</em>' attribute.
- * @see #setNotUnsettableByte(byte)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableByte()
- * @model default="3"
- * @generated
- */
- byte getNotUnsettableByte();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableByte
- * <em>Not Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Byte</em>' attribute.
- * @see #getNotUnsettableByte()
- * @generated
- */
- void setNotUnsettableByte(byte value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Char</b></em>' attribute. The default value is <code>"\'x\'"</code>
- * . <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Char</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Char</em>' attribute.
- * @see #setNotUnsettableChar(char)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableChar()
- * @model default="\'x\'"
- * @generated
- */
- char getNotUnsettableChar();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableChar
- * <em>Not Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Char</em>' attribute.
- * @see #getNotUnsettableChar()
- * @generated
- */
- void setNotUnsettableChar(char value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Date</b></em>' attribute. The default value is
- * <code>"1979-03-15T07:12:59"</code>. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Date</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Date</em>' attribute.
- * @see #setNotUnsettableDate(Date)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableDate()
- * @model default="1979-03-15T07:12:59"
- * @generated
- */
- Date getNotUnsettableDate();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDate
- * <em>Not Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Date</em>' attribute.
- * @see #getNotUnsettableDate()
- * @generated
- */
- void setNotUnsettableDate(Date value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Double</b></em>' attribute. The default value is <code>"3.3"</code>
- * . <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Double</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Double</em>' attribute.
- * @see #setNotUnsettableDouble(double)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableDouble()
- * @model default="3.3"
- * @generated
- */
- double getNotUnsettableDouble();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDouble
- * <em>Not Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Double</em>' attribute.
- * @see #getNotUnsettableDouble()
- * @generated
- */
- void setNotUnsettableDouble(double value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Float</b></em>' attribute. The default value is <code>"4.4"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Float</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Float</em>' attribute.
- * @see #setNotUnsettableFloat(float)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableFloat()
- * @model default="4.4"
- * @generated
- */
- float getNotUnsettableFloat();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableFloat
- * <em>Not Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Float</em>' attribute.
- * @see #getNotUnsettableFloat()
- * @generated
- */
- void setNotUnsettableFloat(float value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Int</b></em>' attribute. The default value is <code>"5"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Int</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Int</em>' attribute.
- * @see #setNotUnsettableInt(int)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableInt()
- * @model default="5"
- * @generated
- */
- int getNotUnsettableInt();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableInt
- * <em>Not Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Int</em>' attribute.
- * @see #getNotUnsettableInt()
- * @generated
- */
- void setNotUnsettableInt(int value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Long</b></em>' attribute. The default value is <code>"6"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Long</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Long</em>' attribute.
- * @see #setNotUnsettableLong(long)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableLong()
- * @model default="6"
- * @generated
- */
- long getNotUnsettableLong();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableLong
- * <em>Not Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Long</em>' attribute.
- * @see #getNotUnsettableLong()
- * @generated
- */
- void setNotUnsettableLong(long value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable Short</b></em>' attribute. The default value is <code>"7"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable Short</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable Short</em>' attribute.
- * @see #setNotUnsettableShort(short)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableShort()
- * @model default="7"
- * @generated
- */
- short getNotUnsettableShort();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableShort
- * <em>Not Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable Short</em>' attribute.
- * @see #getNotUnsettableShort()
- * @generated
- */
- void setNotUnsettableShort(short value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable String</b></em>' attribute. The default value is
- * <code>"\"eike\""</code>. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable String</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable String</em>' attribute.
- * @see #setNotUnsettableString(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableString()
- * @model default="\"eike\""
- * @generated
- */
- String getNotUnsettableString();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableString
- * <em>Not Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable String</em>' attribute.
- * @see #getNotUnsettableString()
- * @generated
- */
- void setNotUnsettableString(String value);
-
- /**
- * Returns the value of the '<em><b>Not Unsettable VAT</b></em>' attribute. The default value is <code>"vat15"</code>.
- * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Not Unsettable VAT</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Not Unsettable VAT</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see #setNotUnsettableVAT(VAT)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableVAT()
- * @model default="vat15"
- * @generated
- */
- VAT getNotUnsettableVAT();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableVAT
- * <em>Not Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Not Unsettable VAT</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see #getNotUnsettableVAT()
- * @generated
- */
- void setNotUnsettableVAT(VAT value);
-
-} // NotUnsettableWithDefault
+/* + * 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: NotUnsettableWithDefault.java,v 1.2 2011-01-01 11:01:58 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2; + +import org.eclipse.emf.cdo.tests.model1.VAT; + +import org.eclipse.emf.ecore.EObject; + +import java.util.Date; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Not Unsettable With Default</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#isNotUnsettableBoolean <em>Not Unsettable + * Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableByte <em>Not Unsettable Byte + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableChar <em>Not Unsettable Char + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDate <em>Not Unsettable Date + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDouble <em>Not Unsettable Double + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableFloat <em>Not Unsettable Float + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableInt <em>Not Unsettable Int</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableLong <em>Not Unsettable Long + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableShort <em>Not Unsettable Short + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableString <em>Not Unsettable String + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableVAT <em>Not Unsettable VAT</em>} + * </li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault() + * @model + * @generated + */ +public interface NotUnsettableWithDefault extends EObject +{ + /** + * Returns the value of the '<em><b>Not Unsettable Boolean</b></em>' attribute. The default value is + * <code>"true"</code>. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Boolean</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Boolean</em>' attribute. + * @see #setNotUnsettableBoolean(boolean) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableBoolean() + * @model default="true" + * @generated + */ + boolean isNotUnsettableBoolean(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#isNotUnsettableBoolean + * <em>Not Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Boolean</em>' attribute. + * @see #isNotUnsettableBoolean() + * @generated + */ + void setNotUnsettableBoolean(boolean value); + + /** + * Returns the value of the '<em><b>Not Unsettable Byte</b></em>' attribute. The default value is <code>"3"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Byte</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Byte</em>' attribute. + * @see #setNotUnsettableByte(byte) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableByte() + * @model default="3" + * @generated + */ + byte getNotUnsettableByte(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableByte + * <em>Not Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Byte</em>' attribute. + * @see #getNotUnsettableByte() + * @generated + */ + void setNotUnsettableByte(byte value); + + /** + * Returns the value of the '<em><b>Not Unsettable Char</b></em>' attribute. The default value is <code>"\'x\'"</code> + * . <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Char</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Char</em>' attribute. + * @see #setNotUnsettableChar(char) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableChar() + * @model default="\'x\'" + * @generated + */ + char getNotUnsettableChar(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableChar + * <em>Not Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Char</em>' attribute. + * @see #getNotUnsettableChar() + * @generated + */ + void setNotUnsettableChar(char value); + + /** + * Returns the value of the '<em><b>Not Unsettable Date</b></em>' attribute. The default value is + * <code>"1979-03-15T07:12:59"</code>. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Date</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Date</em>' attribute. + * @see #setNotUnsettableDate(Date) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableDate() + * @model default="1979-03-15T07:12:59" + * @generated + */ + Date getNotUnsettableDate(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDate + * <em>Not Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Date</em>' attribute. + * @see #getNotUnsettableDate() + * @generated + */ + void setNotUnsettableDate(Date value); + + /** + * Returns the value of the '<em><b>Not Unsettable Double</b></em>' attribute. The default value is <code>"3.3"</code> + * . <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Double</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Double</em>' attribute. + * @see #setNotUnsettableDouble(double) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableDouble() + * @model default="3.3" + * @generated + */ + double getNotUnsettableDouble(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDouble + * <em>Not Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Double</em>' attribute. + * @see #getNotUnsettableDouble() + * @generated + */ + void setNotUnsettableDouble(double value); + + /** + * Returns the value of the '<em><b>Not Unsettable Float</b></em>' attribute. The default value is <code>"4.4"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Float</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Float</em>' attribute. + * @see #setNotUnsettableFloat(float) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableFloat() + * @model default="4.4" + * @generated + */ + float getNotUnsettableFloat(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableFloat + * <em>Not Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Float</em>' attribute. + * @see #getNotUnsettableFloat() + * @generated + */ + void setNotUnsettableFloat(float value); + + /** + * Returns the value of the '<em><b>Not Unsettable Int</b></em>' attribute. The default value is <code>"5"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Int</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Int</em>' attribute. + * @see #setNotUnsettableInt(int) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableInt() + * @model default="5" + * @generated + */ + int getNotUnsettableInt(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableInt + * <em>Not Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Int</em>' attribute. + * @see #getNotUnsettableInt() + * @generated + */ + void setNotUnsettableInt(int value); + + /** + * Returns the value of the '<em><b>Not Unsettable Long</b></em>' attribute. The default value is <code>"6"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Long</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Long</em>' attribute. + * @see #setNotUnsettableLong(long) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableLong() + * @model default="6" + * @generated + */ + long getNotUnsettableLong(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableLong + * <em>Not Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Long</em>' attribute. + * @see #getNotUnsettableLong() + * @generated + */ + void setNotUnsettableLong(long value); + + /** + * Returns the value of the '<em><b>Not Unsettable Short</b></em>' attribute. The default value is <code>"7"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable Short</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable Short</em>' attribute. + * @see #setNotUnsettableShort(short) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableShort() + * @model default="7" + * @generated + */ + short getNotUnsettableShort(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableShort + * <em>Not Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable Short</em>' attribute. + * @see #getNotUnsettableShort() + * @generated + */ + void setNotUnsettableShort(short value); + + /** + * Returns the value of the '<em><b>Not Unsettable String</b></em>' attribute. The default value is + * <code>"\"eike\""</code>. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable String</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable String</em>' attribute. + * @see #setNotUnsettableString(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableString() + * @model default="\"eike\"" + * @generated + */ + String getNotUnsettableString(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableString + * <em>Not Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable String</em>' attribute. + * @see #getNotUnsettableString() + * @generated + */ + void setNotUnsettableString(String value); + + /** + * Returns the value of the '<em><b>Not Unsettable VAT</b></em>' attribute. The default value is <code>"vat15"</code>. + * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Not Unsettable VAT</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Not Unsettable VAT</em>' attribute. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see #setNotUnsettableVAT(VAT) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableVAT() + * @model default="vat15" + * @generated + */ + VAT getNotUnsettableVAT(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableVAT + * <em>Not Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Not Unsettable VAT</em>' attribute. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see #getNotUnsettableVAT() + * @generated + */ + void setNotUnsettableVAT(VAT value); + +} // NotUnsettableWithDefault diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/PersistentContainment.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/PersistentContainment.java index 9aec211799..2869b8cfd8 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/PersistentContainment.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/PersistentContainment.java @@ -1,106 +1,106 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Persistent Containment</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getAttrBefore <em>Attr Before</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getChildren <em>Children</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getAttrAfter <em>Attr After</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getPersistentContainment()
- * @model
- * @generated
- */
-public interface PersistentContainment extends EObject
-{
- /**
- * Returns the value of the '<em><b>Attr Before</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attr Before</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Attr Before</em>' attribute.
- * @see #setAttrBefore(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getPersistentContainment_AttrBefore()
- * @model
- * @generated
- */
- String getAttrBefore();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getAttrBefore
- * <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Attr Before</em>' attribute.
- * @see #getAttrBefore()
- * @generated
- */
- void setAttrBefore(String value);
-
- /**
- * Returns the value of the '<em><b>Children</b></em>' containment reference list. The list contents are of type
- * {@link org.eclipse.emf.cdo.tests.model2.TransientContainer}. It is bidirectional and its opposite is '
- * {@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getParent <em>Parent</em>}'. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Children</em>' containment reference list isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Children</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getPersistentContainment_Children()
- * @see org.eclipse.emf.cdo.tests.model2.TransientContainer#getParent
- * @model opposite="parent" containment="true" ordered="false"
- * @generated
- */
- EList<TransientContainer> getChildren();
-
- /**
- * Returns the value of the '<em><b>Attr After</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attr After</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Attr After</em>' attribute.
- * @see #setAttrAfter(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getPersistentContainment_AttrAfter()
- * @model
- * @generated
- */
- String getAttrAfter();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getAttrAfter
- * <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Attr After</em>' attribute.
- * @see #getAttrAfter()
- * @generated
- */
- void setAttrAfter(String value);
-
-} // PersistentContainment
+/* + * 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.model2; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Persistent Containment</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getAttrBefore <em>Attr Before</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getChildren <em>Children</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getAttrAfter <em>Attr After</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getPersistentContainment() + * @model + * @generated + */ +public interface PersistentContainment extends EObject +{ + /** + * Returns the value of the '<em><b>Attr Before</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attr Before</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Attr Before</em>' attribute. + * @see #setAttrBefore(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getPersistentContainment_AttrBefore() + * @model + * @generated + */ + String getAttrBefore(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getAttrBefore + * <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Attr Before</em>' attribute. + * @see #getAttrBefore() + * @generated + */ + void setAttrBefore(String value); + + /** + * Returns the value of the '<em><b>Children</b></em>' containment reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model2.TransientContainer}. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getParent <em>Parent</em>}'. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Children</em>' containment reference list isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Children</em>' containment reference list. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getPersistentContainment_Children() + * @see org.eclipse.emf.cdo.tests.model2.TransientContainer#getParent + * @model opposite="parent" containment="true" ordered="false" + * @generated + */ + EList<TransientContainer> getChildren(); + + /** + * Returns the value of the '<em><b>Attr After</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attr After</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Attr After</em>' attribute. + * @see #setAttrAfter(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getPersistentContainment_AttrAfter() + * @model + * @generated + */ + String getAttrAfter(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getAttrAfter + * <em>Attr After</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Attr After</em>' attribute. + * @see #getAttrAfter() + * @generated + */ + void setAttrAfter(String value); + +} // PersistentContainment diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java index 19128a64ad..ffce273627 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java @@ -1,87 +1,87 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Special Purchase Order</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getDiscountCode <em>Discount Code</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getShippingAddress <em>Shipping Address</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder()
- * @model
- * @generated
- */
-public interface SpecialPurchaseOrder extends PurchaseOrder
-{
- /**
- * Returns the value of the '<em><b>Discount Code</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Discount Code</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Discount Code</em>' attribute.
- * @see #setDiscountCode(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder_DiscountCode()
- * @model
- * @generated
- */
- String getDiscountCode();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getDiscountCode
- * <em>Discount Code</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Discount Code</em>' attribute.
- * @see #getDiscountCode()
- * @generated
- */
- void setDiscountCode(String value);
-
- /**
- * Returns the value of the '<em><b>Shipping Address</b></em>' containment reference. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Shipping Address</em>' containment reference isn't clear, there really should be more of
- * a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Shipping Address</em>' containment reference.
- * @see #setShippingAddress(Address)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder_ShippingAddress()
- * @model containment="true"
- * @generated
- */
- Address getShippingAddress();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getShippingAddress
- * <em>Shipping Address</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Shipping Address</em>' containment reference.
- * @see #getShippingAddress()
- * @generated
- */
- void setShippingAddress(Address value);
-
-} // SpecialPurchaseOrder
+/* + * 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.model2; + +import org.eclipse.emf.cdo.tests.model1.Address; +import org.eclipse.emf.cdo.tests.model1.PurchaseOrder; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Special Purchase Order</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getDiscountCode <em>Discount Code</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getShippingAddress <em>Shipping Address</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder() + * @model + * @generated + */ +public interface SpecialPurchaseOrder extends PurchaseOrder +{ + /** + * Returns the value of the '<em><b>Discount Code</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Discount Code</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Discount Code</em>' attribute. + * @see #setDiscountCode(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder_DiscountCode() + * @model + * @generated + */ + String getDiscountCode(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getDiscountCode + * <em>Discount Code</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Discount Code</em>' attribute. + * @see #getDiscountCode() + * @generated + */ + void setDiscountCode(String value); + + /** + * Returns the value of the '<em><b>Shipping Address</b></em>' containment reference. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Shipping Address</em>' containment reference isn't clear, there really should be more of + * a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Shipping Address</em>' containment reference. + * @see #setShippingAddress(Address) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder_ShippingAddress() + * @model containment="true" + * @generated + */ + Address getShippingAddress(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getShippingAddress + * <em>Shipping Address</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Shipping Address</em>' containment reference. + * @see #getShippingAddress() + * @generated + */ + void setShippingAddress(Address value); + +} // SpecialPurchaseOrder diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java index b622e59e66..8d40e6d80e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java @@ -1,114 +1,114 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Task</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer <em>Task Container</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Task#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Task#isDone <em>Done</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask()
- * @model
- * @generated
- */
-public interface Task extends EObject
-{
- /**
- * Returns the value of the '<em><b>Task Container</b></em>' container reference. It is bidirectional and its opposite
- * is '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks <em>Tasks</em>}'. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Task Container</em>' container reference isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Task Container</em>' container reference.
- * @see #setTaskContainer(TaskContainer)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_TaskContainer()
- * @see org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks
- * @model opposite="tasks" transient="false"
- * @generated
- */
- TaskContainer getTaskContainer();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer <em>Task Container</em>}'
- * container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Task Container</em>' container reference.
- * @see #getTaskContainer()
- * @generated
- */
- void setTaskContainer(TaskContainer value);
-
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_Description()
- * @model
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#getDescription <em>Description</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Done</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Done</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Done</em>' attribute.
- * @see #setDone(boolean)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_Done()
- * @model
- * @generated
- */
- boolean isDone();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#isDone <em>Done</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Done</em>' attribute.
- * @see #isDone()
- * @generated
- */
- void setDone(boolean value);
-
-} // Task
+/* + * 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.model2; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Task</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer <em>Task Container</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Task#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Task#isDone <em>Done</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask() + * @model + * @generated + */ +public interface Task extends EObject +{ + /** + * Returns the value of the '<em><b>Task Container</b></em>' container reference. It is bidirectional and its opposite + * is '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks <em>Tasks</em>}'. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Task Container</em>' container reference isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Task Container</em>' container reference. + * @see #setTaskContainer(TaskContainer) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_TaskContainer() + * @see org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks + * @model opposite="tasks" transient="false" + * @generated + */ + TaskContainer getTaskContainer(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer <em>Task Container</em>}' + * container reference. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Task Container</em>' container reference. + * @see #getTaskContainer() + * @generated + */ + void setTaskContainer(TaskContainer value); + + /** + * Returns the value of the '<em><b>Description</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Description</em>' attribute. + * @see #setDescription(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_Description() + * @model + * @generated + */ + String getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#getDescription <em>Description</em>}' + * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Description</em>' attribute. + * @see #getDescription() + * @generated + */ + void setDescription(String value); + + /** + * Returns the value of the '<em><b>Done</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Done</em>' attribute isn't clear, there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Done</em>' attribute. + * @see #setDone(boolean) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_Done() + * @model + * @generated + */ + boolean isDone(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#isDone <em>Done</em>}' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Done</em>' attribute. + * @see #isDone() + * @generated + */ + void setDone(boolean value); + +} // Task diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java index 5ae51f5697..249aae3427 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java @@ -1,49 +1,49 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Task Container</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks <em>Tasks</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTaskContainer()
- * @model
- * @generated
- */
-public interface TaskContainer extends EObject
-{
- /**
- * Returns the value of the '<em><b>Tasks</b></em>' containment reference list. The list contents are of type
- * {@link org.eclipse.emf.cdo.tests.model2.Task}. It is bidirectional and its opposite is '
- * {@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer <em>Task Container</em>}'. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Tasks</em>' containment reference list isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Tasks</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTaskContainer_Tasks()
- * @see org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer
- * @model opposite="taskContainer" containment="true"
- * @generated
- */
- EList<Task> getTasks();
-
-} // TaskContainer
+/* + * 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.model2; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Task Container</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks <em>Tasks</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTaskContainer() + * @model + * @generated + */ +public interface TaskContainer extends EObject +{ + /** + * Returns the value of the '<em><b>Tasks</b></em>' containment reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model2.Task}. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer <em>Task Container</em>}'. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Tasks</em>' containment reference list isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Tasks</em>' containment reference list. + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTaskContainer_Tasks() + * @see org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer + * @model opposite="taskContainer" containment="true" + * @generated + */ + EList<Task> getTasks(); + +} // TaskContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TransientContainer.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TransientContainer.java index 8bc2507bbe..58abcec9c4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TransientContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TransientContainer.java @@ -1,115 +1,115 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Transient Container</b></em>'. <!-- end-user-doc
- * -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getParent <em>Parent</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTransientContainer()
- * @model
- * @generated
- */
-public interface TransientContainer extends EObject
-{
- /**
- * Returns the value of the '<em><b>Attr Before</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attr Before</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Attr Before</em>' attribute.
- * @see #setAttrBefore(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTransientContainer_AttrBefore()
- * @model
- * @generated
- */
- String getAttrBefore();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getAttrBefore
- * <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Attr Before</em>' attribute.
- * @see #getAttrBefore()
- * @generated
- */
- void setAttrBefore(String value);
-
- /**
- * Returns the value of the '<em><b>Parent</b></em>' container reference. It is bidirectional and its opposite is '
- * {@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getChildren <em>Children</em>}'. <!-- begin-user-doc
- * -->
- * <p>
- * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parent</em>' container reference.
- * @see #setParent(PersistentContainment)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTransientContainer_Parent()
- * @see org.eclipse.emf.cdo.tests.model2.PersistentContainment#getChildren
- * @model opposite="children"
- * @generated
- */
- PersistentContainment getParent();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getParent <em>Parent</em>}'
- * container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Parent</em>' container reference.
- * @see #getParent()
- * @generated
- */
- void setParent(PersistentContainment value);
-
- /**
- * Returns the value of the '<em><b>Attr After</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Attr After</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Attr After</em>' attribute.
- * @see #setAttrAfter(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTransientContainer_AttrAfter()
- * @model
- * @generated
- */
- String getAttrAfter();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getAttrAfter <em>Attr After</em>}
- * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Attr After</em>' attribute.
- * @see #getAttrAfter()
- * @generated
- */
- void setAttrAfter(String value);
-
-} // TransientContainer
+/* + * 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.model2; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Transient Container</b></em>'. <!-- end-user-doc + * --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTransientContainer() + * @model + * @generated + */ +public interface TransientContainer extends EObject +{ + /** + * Returns the value of the '<em><b>Attr Before</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attr Before</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Attr Before</em>' attribute. + * @see #setAttrBefore(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTransientContainer_AttrBefore() + * @model + * @generated + */ + String getAttrBefore(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getAttrBefore + * <em>Attr Before</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Attr Before</em>' attribute. + * @see #getAttrBefore() + * @generated + */ + void setAttrBefore(String value); + + /** + * Returns the value of the '<em><b>Parent</b></em>' container reference. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model2.PersistentContainment#getChildren <em>Children</em>}'. <!-- begin-user-doc + * --> + * <p> + * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Parent</em>' container reference. + * @see #setParent(PersistentContainment) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTransientContainer_Parent() + * @see org.eclipse.emf.cdo.tests.model2.PersistentContainment#getChildren + * @model opposite="children" + * @generated + */ + PersistentContainment getParent(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getParent <em>Parent</em>}' + * container reference. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Parent</em>' container reference. + * @see #getParent() + * @generated + */ + void setParent(PersistentContainment value); + + /** + * Returns the value of the '<em><b>Attr After</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attr After</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Attr After</em>' attribute. + * @see #setAttrAfter(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTransientContainer_AttrAfter() + * @model + * @generated + */ + String getAttrAfter(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.TransientContainer#getAttrAfter <em>Attr After</em>} + * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Attr After</em>' attribute. + * @see #getAttrAfter() + * @generated + */ + void setAttrAfter(String value); + +} // TransientContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java index 364d809b34..b935f52774 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java @@ -1,641 +1,641 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-
-import org.eclipse.emf.ecore.EObject;
-
-import java.util.Date;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Unsettable1</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean <em>Unsettable Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte <em>Unsettable Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar <em>Unsettable Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate <em>Unsettable Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble <em>Unsettable Double</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat <em>Unsettable Float</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt <em>Unsettable Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong <em>Unsettable Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort <em>Unsettable Short</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString <em>Unsettable String</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT <em>Unsettable VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1()
- * @model
- * @generated
- */
-public interface Unsettable1 extends EObject
-{
- /**
- * Returns the value of the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Boolean</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Boolean</em>' attribute.
- * @see #isSetUnsettableBoolean()
- * @see #unsetUnsettableBoolean()
- * @see #setUnsettableBoolean(boolean)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableBoolean()
- * @model unsettable="true"
- * @generated
- */
- boolean isUnsettableBoolean();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean
- * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Boolean</em>' attribute.
- * @see #isSetUnsettableBoolean()
- * @see #unsetUnsettableBoolean()
- * @see #isUnsettableBoolean()
- * @generated
- */
- void setUnsettableBoolean(boolean value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean
- * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableBoolean()
- * @see #isUnsettableBoolean()
- * @see #setUnsettableBoolean(boolean)
- * @generated
- */
- void unsetUnsettableBoolean();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean
- * <em>Unsettable Boolean</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Boolean</em>' attribute is set.
- * @see #unsetUnsettableBoolean()
- * @see #isUnsettableBoolean()
- * @see #setUnsettableBoolean(boolean)
- * @generated
- */
- boolean isSetUnsettableBoolean();
-
- /**
- * Returns the value of the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Byte</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Byte</em>' attribute.
- * @see #isSetUnsettableByte()
- * @see #unsetUnsettableByte()
- * @see #setUnsettableByte(byte)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableByte()
- * @model unsettable="true"
- * @generated
- */
- byte getUnsettableByte();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte
- * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Byte</em>' attribute.
- * @see #isSetUnsettableByte()
- * @see #unsetUnsettableByte()
- * @see #getUnsettableByte()
- * @generated
- */
- void setUnsettableByte(byte value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte
- * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableByte()
- * @see #getUnsettableByte()
- * @see #setUnsettableByte(byte)
- * @generated
- */
- void unsetUnsettableByte();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte
- * <em>Unsettable Byte</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Byte</em>' attribute is set.
- * @see #unsetUnsettableByte()
- * @see #getUnsettableByte()
- * @see #setUnsettableByte(byte)
- * @generated
- */
- boolean isSetUnsettableByte();
-
- /**
- * Returns the value of the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Char</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Char</em>' attribute.
- * @see #isSetUnsettableChar()
- * @see #unsetUnsettableChar()
- * @see #setUnsettableChar(char)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableChar()
- * @model unsettable="true"
- * @generated
- */
- char getUnsettableChar();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar
- * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Char</em>' attribute.
- * @see #isSetUnsettableChar()
- * @see #unsetUnsettableChar()
- * @see #getUnsettableChar()
- * @generated
- */
- void setUnsettableChar(char value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar
- * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableChar()
- * @see #getUnsettableChar()
- * @see #setUnsettableChar(char)
- * @generated
- */
- void unsetUnsettableChar();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar
- * <em>Unsettable Char</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Char</em>' attribute is set.
- * @see #unsetUnsettableChar()
- * @see #getUnsettableChar()
- * @see #setUnsettableChar(char)
- * @generated
- */
- boolean isSetUnsettableChar();
-
- /**
- * Returns the value of the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Date</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Date</em>' attribute.
- * @see #isSetUnsettableDate()
- * @see #unsetUnsettableDate()
- * @see #setUnsettableDate(Date)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableDate()
- * @model unsettable="true"
- * @generated
- */
- Date getUnsettableDate();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate
- * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Date</em>' attribute.
- * @see #isSetUnsettableDate()
- * @see #unsetUnsettableDate()
- * @see #getUnsettableDate()
- * @generated
- */
- void setUnsettableDate(Date value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate
- * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableDate()
- * @see #getUnsettableDate()
- * @see #setUnsettableDate(Date)
- * @generated
- */
- void unsetUnsettableDate();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate
- * <em>Unsettable Date</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Date</em>' attribute is set.
- * @see #unsetUnsettableDate()
- * @see #getUnsettableDate()
- * @see #setUnsettableDate(Date)
- * @generated
- */
- boolean isSetUnsettableDate();
-
- /**
- * Returns the value of the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Double</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Double</em>' attribute.
- * @see #isSetUnsettableDouble()
- * @see #unsetUnsettableDouble()
- * @see #setUnsettableDouble(double)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableDouble()
- * @model unsettable="true"
- * @generated
- */
- double getUnsettableDouble();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble
- * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Double</em>' attribute.
- * @see #isSetUnsettableDouble()
- * @see #unsetUnsettableDouble()
- * @see #getUnsettableDouble()
- * @generated
- */
- void setUnsettableDouble(double value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble
- * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableDouble()
- * @see #getUnsettableDouble()
- * @see #setUnsettableDouble(double)
- * @generated
- */
- void unsetUnsettableDouble();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble
- * <em>Unsettable Double</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Double</em>' attribute is set.
- * @see #unsetUnsettableDouble()
- * @see #getUnsettableDouble()
- * @see #setUnsettableDouble(double)
- * @generated
- */
- boolean isSetUnsettableDouble();
-
- /**
- * Returns the value of the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Float</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Float</em>' attribute.
- * @see #isSetUnsettableFloat()
- * @see #unsetUnsettableFloat()
- * @see #setUnsettableFloat(float)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableFloat()
- * @model unsettable="true"
- * @generated
- */
- float getUnsettableFloat();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat
- * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Float</em>' attribute.
- * @see #isSetUnsettableFloat()
- * @see #unsetUnsettableFloat()
- * @see #getUnsettableFloat()
- * @generated
- */
- void setUnsettableFloat(float value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat
- * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableFloat()
- * @see #getUnsettableFloat()
- * @see #setUnsettableFloat(float)
- * @generated
- */
- void unsetUnsettableFloat();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat
- * <em>Unsettable Float</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Float</em>' attribute is set.
- * @see #unsetUnsettableFloat()
- * @see #getUnsettableFloat()
- * @see #setUnsettableFloat(float)
- * @generated
- */
- boolean isSetUnsettableFloat();
-
- /**
- * Returns the value of the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Int</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Int</em>' attribute.
- * @see #isSetUnsettableInt()
- * @see #unsetUnsettableInt()
- * @see #setUnsettableInt(int)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableInt()
- * @model unsettable="true"
- * @generated
- */
- int getUnsettableInt();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt
- * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Int</em>' attribute.
- * @see #isSetUnsettableInt()
- * @see #unsetUnsettableInt()
- * @see #getUnsettableInt()
- * @generated
- */
- void setUnsettableInt(int value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt
- * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableInt()
- * @see #getUnsettableInt()
- * @see #setUnsettableInt(int)
- * @generated
- */
- void unsetUnsettableInt();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt
- * <em>Unsettable Int</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Int</em>' attribute is set.
- * @see #unsetUnsettableInt()
- * @see #getUnsettableInt()
- * @see #setUnsettableInt(int)
- * @generated
- */
- boolean isSetUnsettableInt();
-
- /**
- * Returns the value of the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Long</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Long</em>' attribute.
- * @see #isSetUnsettableLong()
- * @see #unsetUnsettableLong()
- * @see #setUnsettableLong(long)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableLong()
- * @model unsettable="true"
- * @generated
- */
- long getUnsettableLong();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong
- * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Long</em>' attribute.
- * @see #isSetUnsettableLong()
- * @see #unsetUnsettableLong()
- * @see #getUnsettableLong()
- * @generated
- */
- void setUnsettableLong(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong
- * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableLong()
- * @see #getUnsettableLong()
- * @see #setUnsettableLong(long)
- * @generated
- */
- void unsetUnsettableLong();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong
- * <em>Unsettable Long</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Long</em>' attribute is set.
- * @see #unsetUnsettableLong()
- * @see #getUnsettableLong()
- * @see #setUnsettableLong(long)
- * @generated
- */
- boolean isSetUnsettableLong();
-
- /**
- * Returns the value of the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Short</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Short</em>' attribute.
- * @see #isSetUnsettableShort()
- * @see #unsetUnsettableShort()
- * @see #setUnsettableShort(short)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableShort()
- * @model unsettable="true"
- * @generated
- */
- short getUnsettableShort();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort
- * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Short</em>' attribute.
- * @see #isSetUnsettableShort()
- * @see #unsetUnsettableShort()
- * @see #getUnsettableShort()
- * @generated
- */
- void setUnsettableShort(short value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort
- * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableShort()
- * @see #getUnsettableShort()
- * @see #setUnsettableShort(short)
- * @generated
- */
- void unsetUnsettableShort();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort
- * <em>Unsettable Short</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Short</em>' attribute is set.
- * @see #unsetUnsettableShort()
- * @see #getUnsettableShort()
- * @see #setUnsettableShort(short)
- * @generated
- */
- boolean isSetUnsettableShort();
-
- /**
- * Returns the value of the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable String</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable String</em>' attribute.
- * @see #isSetUnsettableString()
- * @see #unsetUnsettableString()
- * @see #setUnsettableString(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableString()
- * @model unsettable="true"
- * @generated
- */
- String getUnsettableString();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString
- * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable String</em>' attribute.
- * @see #isSetUnsettableString()
- * @see #unsetUnsettableString()
- * @see #getUnsettableString()
- * @generated
- */
- void setUnsettableString(String value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString
- * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableString()
- * @see #getUnsettableString()
- * @see #setUnsettableString(String)
- * @generated
- */
- void unsetUnsettableString();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString
- * <em>Unsettable String</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable String</em>' attribute is set.
- * @see #unsetUnsettableString()
- * @see #getUnsettableString()
- * @see #setUnsettableString(String)
- * @generated
- */
- boolean isSetUnsettableString();
-
- /**
- * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The literals are from the enumeration
- * {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable VAT</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable VAT</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see #isSetUnsettableVAT()
- * @see #unsetUnsettableVAT()
- * @see #setUnsettableVAT(VAT)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableVAT()
- * @model unsettable="true"
- * @generated
- */
- VAT getUnsettableVAT();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT
- * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable VAT</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see #isSetUnsettableVAT()
- * @see #unsetUnsettableVAT()
- * @see #getUnsettableVAT()
- * @generated
- */
- void setUnsettableVAT(VAT value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT
- * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableVAT()
- * @see #getUnsettableVAT()
- * @see #setUnsettableVAT(VAT)
- * @generated
- */
- void unsetUnsettableVAT();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT
- * <em>Unsettable VAT</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable VAT</em>' attribute is set.
- * @see #unsetUnsettableVAT()
- * @see #getUnsettableVAT()
- * @see #setUnsettableVAT(VAT)
- * @generated
- */
- boolean isSetUnsettableVAT();
-
-} // Unsettable1
+/* + * 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.model2; + +import org.eclipse.emf.cdo.tests.model1.VAT; + +import org.eclipse.emf.ecore.EObject; + +import java.util.Date; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Unsettable1</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean <em>Unsettable Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte <em>Unsettable Byte</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar <em>Unsettable Char</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate <em>Unsettable Date</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble <em>Unsettable Double</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat <em>Unsettable Float</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt <em>Unsettable Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong <em>Unsettable Long</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort <em>Unsettable Short</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString <em>Unsettable String</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT <em>Unsettable VAT</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1() + * @model + * @generated + */ +public interface Unsettable1 extends EObject +{ + /** + * Returns the value of the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Boolean</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Boolean</em>' attribute. + * @see #isSetUnsettableBoolean() + * @see #unsetUnsettableBoolean() + * @see #setUnsettableBoolean(boolean) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableBoolean() + * @model unsettable="true" + * @generated + */ + boolean isUnsettableBoolean(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean + * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Boolean</em>' attribute. + * @see #isSetUnsettableBoolean() + * @see #unsetUnsettableBoolean() + * @see #isUnsettableBoolean() + * @generated + */ + void setUnsettableBoolean(boolean value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean + * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableBoolean() + * @see #isUnsettableBoolean() + * @see #setUnsettableBoolean(boolean) + * @generated + */ + void unsetUnsettableBoolean(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean + * <em>Unsettable Boolean</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Boolean</em>' attribute is set. + * @see #unsetUnsettableBoolean() + * @see #isUnsettableBoolean() + * @see #setUnsettableBoolean(boolean) + * @generated + */ + boolean isSetUnsettableBoolean(); + + /** + * Returns the value of the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Byte</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Byte</em>' attribute. + * @see #isSetUnsettableByte() + * @see #unsetUnsettableByte() + * @see #setUnsettableByte(byte) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableByte() + * @model unsettable="true" + * @generated + */ + byte getUnsettableByte(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte + * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Byte</em>' attribute. + * @see #isSetUnsettableByte() + * @see #unsetUnsettableByte() + * @see #getUnsettableByte() + * @generated + */ + void setUnsettableByte(byte value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte + * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableByte() + * @see #getUnsettableByte() + * @see #setUnsettableByte(byte) + * @generated + */ + void unsetUnsettableByte(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte + * <em>Unsettable Byte</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Byte</em>' attribute is set. + * @see #unsetUnsettableByte() + * @see #getUnsettableByte() + * @see #setUnsettableByte(byte) + * @generated + */ + boolean isSetUnsettableByte(); + + /** + * Returns the value of the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Char</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Char</em>' attribute. + * @see #isSetUnsettableChar() + * @see #unsetUnsettableChar() + * @see #setUnsettableChar(char) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableChar() + * @model unsettable="true" + * @generated + */ + char getUnsettableChar(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar + * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Char</em>' attribute. + * @see #isSetUnsettableChar() + * @see #unsetUnsettableChar() + * @see #getUnsettableChar() + * @generated + */ + void setUnsettableChar(char value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar + * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableChar() + * @see #getUnsettableChar() + * @see #setUnsettableChar(char) + * @generated + */ + void unsetUnsettableChar(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar + * <em>Unsettable Char</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Char</em>' attribute is set. + * @see #unsetUnsettableChar() + * @see #getUnsettableChar() + * @see #setUnsettableChar(char) + * @generated + */ + boolean isSetUnsettableChar(); + + /** + * Returns the value of the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Date</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Date</em>' attribute. + * @see #isSetUnsettableDate() + * @see #unsetUnsettableDate() + * @see #setUnsettableDate(Date) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableDate() + * @model unsettable="true" + * @generated + */ + Date getUnsettableDate(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate + * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Date</em>' attribute. + * @see #isSetUnsettableDate() + * @see #unsetUnsettableDate() + * @see #getUnsettableDate() + * @generated + */ + void setUnsettableDate(Date value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate + * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableDate() + * @see #getUnsettableDate() + * @see #setUnsettableDate(Date) + * @generated + */ + void unsetUnsettableDate(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate + * <em>Unsettable Date</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Date</em>' attribute is set. + * @see #unsetUnsettableDate() + * @see #getUnsettableDate() + * @see #setUnsettableDate(Date) + * @generated + */ + boolean isSetUnsettableDate(); + + /** + * Returns the value of the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Double</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Double</em>' attribute. + * @see #isSetUnsettableDouble() + * @see #unsetUnsettableDouble() + * @see #setUnsettableDouble(double) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableDouble() + * @model unsettable="true" + * @generated + */ + double getUnsettableDouble(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble + * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Double</em>' attribute. + * @see #isSetUnsettableDouble() + * @see #unsetUnsettableDouble() + * @see #getUnsettableDouble() + * @generated + */ + void setUnsettableDouble(double value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble + * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableDouble() + * @see #getUnsettableDouble() + * @see #setUnsettableDouble(double) + * @generated + */ + void unsetUnsettableDouble(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble + * <em>Unsettable Double</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Double</em>' attribute is set. + * @see #unsetUnsettableDouble() + * @see #getUnsettableDouble() + * @see #setUnsettableDouble(double) + * @generated + */ + boolean isSetUnsettableDouble(); + + /** + * Returns the value of the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Float</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Float</em>' attribute. + * @see #isSetUnsettableFloat() + * @see #unsetUnsettableFloat() + * @see #setUnsettableFloat(float) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableFloat() + * @model unsettable="true" + * @generated + */ + float getUnsettableFloat(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat + * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Float</em>' attribute. + * @see #isSetUnsettableFloat() + * @see #unsetUnsettableFloat() + * @see #getUnsettableFloat() + * @generated + */ + void setUnsettableFloat(float value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat + * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableFloat() + * @see #getUnsettableFloat() + * @see #setUnsettableFloat(float) + * @generated + */ + void unsetUnsettableFloat(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat + * <em>Unsettable Float</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Float</em>' attribute is set. + * @see #unsetUnsettableFloat() + * @see #getUnsettableFloat() + * @see #setUnsettableFloat(float) + * @generated + */ + boolean isSetUnsettableFloat(); + + /** + * Returns the value of the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Int</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Int</em>' attribute. + * @see #isSetUnsettableInt() + * @see #unsetUnsettableInt() + * @see #setUnsettableInt(int) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableInt() + * @model unsettable="true" + * @generated + */ + int getUnsettableInt(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt + * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Int</em>' attribute. + * @see #isSetUnsettableInt() + * @see #unsetUnsettableInt() + * @see #getUnsettableInt() + * @generated + */ + void setUnsettableInt(int value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt + * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableInt() + * @see #getUnsettableInt() + * @see #setUnsettableInt(int) + * @generated + */ + void unsetUnsettableInt(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt + * <em>Unsettable Int</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Int</em>' attribute is set. + * @see #unsetUnsettableInt() + * @see #getUnsettableInt() + * @see #setUnsettableInt(int) + * @generated + */ + boolean isSetUnsettableInt(); + + /** + * Returns the value of the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Long</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Long</em>' attribute. + * @see #isSetUnsettableLong() + * @see #unsetUnsettableLong() + * @see #setUnsettableLong(long) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableLong() + * @model unsettable="true" + * @generated + */ + long getUnsettableLong(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong + * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Long</em>' attribute. + * @see #isSetUnsettableLong() + * @see #unsetUnsettableLong() + * @see #getUnsettableLong() + * @generated + */ + void setUnsettableLong(long value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong + * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableLong() + * @see #getUnsettableLong() + * @see #setUnsettableLong(long) + * @generated + */ + void unsetUnsettableLong(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong + * <em>Unsettable Long</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Long</em>' attribute is set. + * @see #unsetUnsettableLong() + * @see #getUnsettableLong() + * @see #setUnsettableLong(long) + * @generated + */ + boolean isSetUnsettableLong(); + + /** + * Returns the value of the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Short</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Short</em>' attribute. + * @see #isSetUnsettableShort() + * @see #unsetUnsettableShort() + * @see #setUnsettableShort(short) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableShort() + * @model unsettable="true" + * @generated + */ + short getUnsettableShort(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort + * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Short</em>' attribute. + * @see #isSetUnsettableShort() + * @see #unsetUnsettableShort() + * @see #getUnsettableShort() + * @generated + */ + void setUnsettableShort(short value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort + * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableShort() + * @see #getUnsettableShort() + * @see #setUnsettableShort(short) + * @generated + */ + void unsetUnsettableShort(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort + * <em>Unsettable Short</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Short</em>' attribute is set. + * @see #unsetUnsettableShort() + * @see #getUnsettableShort() + * @see #setUnsettableShort(short) + * @generated + */ + boolean isSetUnsettableShort(); + + /** + * Returns the value of the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable String</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable String</em>' attribute. + * @see #isSetUnsettableString() + * @see #unsetUnsettableString() + * @see #setUnsettableString(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableString() + * @model unsettable="true" + * @generated + */ + String getUnsettableString(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString + * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable String</em>' attribute. + * @see #isSetUnsettableString() + * @see #unsetUnsettableString() + * @see #getUnsettableString() + * @generated + */ + void setUnsettableString(String value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString + * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableString() + * @see #getUnsettableString() + * @see #setUnsettableString(String) + * @generated + */ + void unsetUnsettableString(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString + * <em>Unsettable String</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable String</em>' attribute is set. + * @see #unsetUnsettableString() + * @see #getUnsettableString() + * @see #setUnsettableString(String) + * @generated + */ + boolean isSetUnsettableString(); + + /** + * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The literals are from the enumeration + * {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable VAT</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable VAT</em>' attribute. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see #isSetUnsettableVAT() + * @see #unsetUnsettableVAT() + * @see #setUnsettableVAT(VAT) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableVAT() + * @model unsettable="true" + * @generated + */ + VAT getUnsettableVAT(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT + * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable VAT</em>' attribute. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see #isSetUnsettableVAT() + * @see #unsetUnsettableVAT() + * @see #getUnsettableVAT() + * @generated + */ + void setUnsettableVAT(VAT value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT + * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableVAT() + * @see #getUnsettableVAT() + * @see #setUnsettableVAT(VAT) + * @generated + */ + void unsetUnsettableVAT(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT + * <em>Unsettable VAT</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable VAT</em>' attribute is set. + * @see #unsetUnsettableVAT() + * @see #getUnsettableVAT() + * @see #setUnsettableVAT(VAT) + * @generated + */ + boolean isSetUnsettableVAT(); + +} // Unsettable1 diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java index 24b9330e95..2d9a2686b4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java @@ -1,657 +1,657 @@ -/*
- * 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.model2;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-
-import org.eclipse.emf.ecore.EObject;
-
-import java.util.Date;
-
-/**
- * <!-- begin-user-doc --> A representation of the model object '<em><b>Unsettable2 With Default</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean <em>Unsettable Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte <em>Unsettable Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar <em>Unsettable Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate <em>Unsettable Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble <em>Unsettable Double</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt <em>Unsettable Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong <em>Unsettable Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString <em>Unsettable String</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT <em>Unsettable VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault()
- * @model
- * @generated
- */
-public interface Unsettable2WithDefault extends EObject
-{
- /**
- * Returns the value of the '<em><b>Unsettable Boolean</b></em>' attribute. The default value is <code>"true"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Boolean</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Boolean</em>' attribute.
- * @see #isSetUnsettableBoolean()
- * @see #unsetUnsettableBoolean()
- * @see #setUnsettableBoolean(boolean)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableBoolean()
- * @model default="true" unsettable="true"
- * @generated
- */
- boolean isUnsettableBoolean();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean
- * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Boolean</em>' attribute.
- * @see #isSetUnsettableBoolean()
- * @see #unsetUnsettableBoolean()
- * @see #isUnsettableBoolean()
- * @generated
- */
- void setUnsettableBoolean(boolean value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean
- * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableBoolean()
- * @see #isUnsettableBoolean()
- * @see #setUnsettableBoolean(boolean)
- * @generated
- */
- void unsetUnsettableBoolean();
-
- /**
- * Returns whether the value of the '
- * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean <em>Unsettable Boolean</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Boolean</em>' attribute is set.
- * @see #unsetUnsettableBoolean()
- * @see #isUnsettableBoolean()
- * @see #setUnsettableBoolean(boolean)
- * @generated
- */
- boolean isSetUnsettableBoolean();
-
- /**
- * Returns the value of the '<em><b>Unsettable Byte</b></em>' attribute. The default value is <code>"3"</code>. <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Byte</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Byte</em>' attribute.
- * @see #isSetUnsettableByte()
- * @see #unsetUnsettableByte()
- * @see #setUnsettableByte(byte)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableByte()
- * @model default="3" unsettable="true"
- * @generated
- */
- byte getUnsettableByte();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte
- * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Byte</em>' attribute.
- * @see #isSetUnsettableByte()
- * @see #unsetUnsettableByte()
- * @see #getUnsettableByte()
- * @generated
- */
- void setUnsettableByte(byte value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte
- * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableByte()
- * @see #getUnsettableByte()
- * @see #setUnsettableByte(byte)
- * @generated
- */
- void unsetUnsettableByte();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte
- * <em>Unsettable Byte</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Byte</em>' attribute is set.
- * @see #unsetUnsettableByte()
- * @see #getUnsettableByte()
- * @see #setUnsettableByte(byte)
- * @generated
- */
- boolean isSetUnsettableByte();
-
- /**
- * Returns the value of the '<em><b>Unsettable Char</b></em>' attribute. The default value is <code>"\'x\'"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Char</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Char</em>' attribute.
- * @see #isSetUnsettableChar()
- * @see #unsetUnsettableChar()
- * @see #setUnsettableChar(char)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableChar()
- * @model default="\'x\'" unsettable="true"
- * @generated
- */
- char getUnsettableChar();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar
- * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Char</em>' attribute.
- * @see #isSetUnsettableChar()
- * @see #unsetUnsettableChar()
- * @see #getUnsettableChar()
- * @generated
- */
- void setUnsettableChar(char value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar
- * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableChar()
- * @see #getUnsettableChar()
- * @see #setUnsettableChar(char)
- * @generated
- */
- void unsetUnsettableChar();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar
- * <em>Unsettable Char</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Char</em>' attribute is set.
- * @see #unsetUnsettableChar()
- * @see #getUnsettableChar()
- * @see #setUnsettableChar(char)
- * @generated
- */
- boolean isSetUnsettableChar();
-
- /**
- * Returns the value of the '<em><b>Unsettable Date</b></em>' attribute. The default value is
- * <code>"2009-12-21T15:12:59"</code>. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Date</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Date</em>' attribute.
- * @see #isSetUnsettableDate()
- * @see #unsetUnsettableDate()
- * @see #setUnsettableDate(Date)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableDate()
- * @model default="2009-12-21T15:12:59" unsettable="true"
- * @generated
- */
- Date getUnsettableDate();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate
- * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Date</em>' attribute.
- * @see #isSetUnsettableDate()
- * @see #unsetUnsettableDate()
- * @see #getUnsettableDate()
- * @generated
- */
- void setUnsettableDate(Date value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate
- * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableDate()
- * @see #getUnsettableDate()
- * @see #setUnsettableDate(Date)
- * @generated
- */
- void unsetUnsettableDate();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate
- * <em>Unsettable Date</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Date</em>' attribute is set.
- * @see #unsetUnsettableDate()
- * @see #getUnsettableDate()
- * @see #setUnsettableDate(Date)
- * @generated
- */
- boolean isSetUnsettableDate();
-
- /**
- * Returns the value of the '<em><b>Unsettable Double</b></em>' attribute. The default value is <code>"3.3"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Double</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Double</em>' attribute.
- * @see #isSetUnsettableDouble()
- * @see #unsetUnsettableDouble()
- * @see #setUnsettableDouble(double)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableDouble()
- * @model default="3.3" unsettable="true"
- * @generated
- */
- double getUnsettableDouble();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble
- * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Double</em>' attribute.
- * @see #isSetUnsettableDouble()
- * @see #unsetUnsettableDouble()
- * @see #getUnsettableDouble()
- * @generated
- */
- void setUnsettableDouble(double value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble
- * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableDouble()
- * @see #getUnsettableDouble()
- * @see #setUnsettableDouble(double)
- * @generated
- */
- void unsetUnsettableDouble();
-
- /**
- * Returns whether the value of the '
- * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble <em>Unsettable Double</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Double</em>' attribute is set.
- * @see #unsetUnsettableDouble()
- * @see #getUnsettableDouble()
- * @see #setUnsettableDouble(double)
- * @generated
- */
- boolean isSetUnsettableDouble();
-
- /**
- * Returns the value of the '<em><b>Unsettable Float</b></em>' attribute. The default value is <code>"4.4"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Float</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Float</em>' attribute.
- * @see #isSetUnsettableFloat()
- * @see #unsetUnsettableFloat()
- * @see #setUnsettableFloat(float)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableFloat()
- * @model default="4.4" unsettable="true"
- * @generated
- */
- float getUnsettableFloat();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat
- * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Float</em>' attribute.
- * @see #isSetUnsettableFloat()
- * @see #unsetUnsettableFloat()
- * @see #getUnsettableFloat()
- * @generated
- */
- void setUnsettableFloat(float value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat
- * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableFloat()
- * @see #getUnsettableFloat()
- * @see #setUnsettableFloat(float)
- * @generated
- */
- void unsetUnsettableFloat();
-
- /**
- * Returns whether the value of the '
- * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Float</em>' attribute is set.
- * @see #unsetUnsettableFloat()
- * @see #getUnsettableFloat()
- * @see #setUnsettableFloat(float)
- * @generated
- */
- boolean isSetUnsettableFloat();
-
- /**
- * Returns the value of the '<em><b>Unsettable Int</b></em>' attribute. The default value is <code>"5"</code>. <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Int</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Int</em>' attribute.
- * @see #isSetUnsettableInt()
- * @see #unsetUnsettableInt()
- * @see #setUnsettableInt(int)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableInt()
- * @model default="5" unsettable="true"
- * @generated
- */
- int getUnsettableInt();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt
- * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Int</em>' attribute.
- * @see #isSetUnsettableInt()
- * @see #unsetUnsettableInt()
- * @see #getUnsettableInt()
- * @generated
- */
- void setUnsettableInt(int value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt
- * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableInt()
- * @see #getUnsettableInt()
- * @see #setUnsettableInt(int)
- * @generated
- */
- void unsetUnsettableInt();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt
- * <em>Unsettable Int</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Int</em>' attribute is set.
- * @see #unsetUnsettableInt()
- * @see #getUnsettableInt()
- * @see #setUnsettableInt(int)
- * @generated
- */
- boolean isSetUnsettableInt();
-
- /**
- * Returns the value of the '<em><b>Unsettable Long</b></em>' attribute. The default value is <code>"6"</code>. <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Long</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Long</em>' attribute.
- * @see #isSetUnsettableLong()
- * @see #unsetUnsettableLong()
- * @see #setUnsettableLong(long)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableLong()
- * @model default="6" unsettable="true"
- * @generated
- */
- long getUnsettableLong();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong
- * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Long</em>' attribute.
- * @see #isSetUnsettableLong()
- * @see #unsetUnsettableLong()
- * @see #getUnsettableLong()
- * @generated
- */
- void setUnsettableLong(long value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong
- * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableLong()
- * @see #getUnsettableLong()
- * @see #setUnsettableLong(long)
- * @generated
- */
- void unsetUnsettableLong();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong
- * <em>Unsettable Long</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Long</em>' attribute is set.
- * @see #unsetUnsettableLong()
- * @see #getUnsettableLong()
- * @see #setUnsettableLong(long)
- * @generated
- */
- boolean isSetUnsettableLong();
-
- /**
- * Returns the value of the '<em><b>Unsettable Short</b></em>' attribute. The default value is <code>"7"</code>. <!--
- * begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable Short</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable Short</em>' attribute.
- * @see #isSetUnsettableShort()
- * @see #unsetUnsettableShort()
- * @see #setUnsettableShort(short)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableShort()
- * @model default="7" unsettable="true"
- * @generated
- */
- short getUnsettableShort();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort
- * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable Short</em>' attribute.
- * @see #isSetUnsettableShort()
- * @see #unsetUnsettableShort()
- * @see #getUnsettableShort()
- * @generated
- */
- void setUnsettableShort(short value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort
- * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableShort()
- * @see #getUnsettableShort()
- * @see #setUnsettableShort(short)
- * @generated
- */
- void unsetUnsettableShort();
-
- /**
- * Returns whether the value of the '
- * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable Short</em>' attribute is set.
- * @see #unsetUnsettableShort()
- * @see #getUnsettableShort()
- * @see #setUnsettableShort(short)
- * @generated
- */
- boolean isSetUnsettableShort();
-
- /**
- * Returns the value of the '<em><b>Unsettable String</b></em>' attribute. The default value is
- * <code>"\"eike\""</code>. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable String</em>' attribute isn't clear, there really should be more of a
- * description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable String</em>' attribute.
- * @see #isSetUnsettableString()
- * @see #unsetUnsettableString()
- * @see #setUnsettableString(String)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableString()
- * @model default="\"eike\"" unsettable="true"
- * @generated
- */
- String getUnsettableString();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString
- * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable String</em>' attribute.
- * @see #isSetUnsettableString()
- * @see #unsetUnsettableString()
- * @see #getUnsettableString()
- * @generated
- */
- void setUnsettableString(String value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString
- * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableString()
- * @see #getUnsettableString()
- * @see #setUnsettableString(String)
- * @generated
- */
- void unsetUnsettableString();
-
- /**
- * Returns whether the value of the '
- * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString <em>Unsettable String</em>}'
- * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable String</em>' attribute is set.
- * @see #unsetUnsettableString()
- * @see #getUnsettableString()
- * @see #setUnsettableString(String)
- * @generated
- */
- boolean isSetUnsettableString();
-
- /**
- * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The default value is <code>"vat15"</code>. The
- * literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unsettable VAT</em>' attribute isn't clear, there really should be more of a description
- * here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Unsettable VAT</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see #isSetUnsettableVAT()
- * @see #unsetUnsettableVAT()
- * @see #setUnsettableVAT(VAT)
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableVAT()
- * @model default="vat15" unsettable="true"
- * @generated
- */
- VAT getUnsettableVAT();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT
- * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Unsettable VAT</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see #isSetUnsettableVAT()
- * @see #unsetUnsettableVAT()
- * @see #getUnsettableVAT()
- * @generated
- */
- void setUnsettableVAT(VAT value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT
- * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isSetUnsettableVAT()
- * @see #getUnsettableVAT()
- * @see #setUnsettableVAT(VAT)
- * @generated
- */
- void unsetUnsettableVAT();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT
- * <em>Unsettable VAT</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return whether the value of the '<em>Unsettable VAT</em>' attribute is set.
- * @see #unsetUnsettableVAT()
- * @see #getUnsettableVAT()
- * @see #setUnsettableVAT(VAT)
- * @generated
- */
- boolean isSetUnsettableVAT();
-
-} // Unsettable2WithDefault
+/* + * 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.model2; + +import org.eclipse.emf.cdo.tests.model1.VAT; + +import org.eclipse.emf.ecore.EObject; + +import java.util.Date; + +/** + * <!-- begin-user-doc --> A representation of the model object '<em><b>Unsettable2 With Default</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean <em>Unsettable Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte <em>Unsettable Byte</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar <em>Unsettable Char</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate <em>Unsettable Date</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble <em>Unsettable Double</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt <em>Unsettable Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong <em>Unsettable Long</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString <em>Unsettable String</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT <em>Unsettable VAT</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault() + * @model + * @generated + */ +public interface Unsettable2WithDefault extends EObject +{ + /** + * Returns the value of the '<em><b>Unsettable Boolean</b></em>' attribute. The default value is <code>"true"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Boolean</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Boolean</em>' attribute. + * @see #isSetUnsettableBoolean() + * @see #unsetUnsettableBoolean() + * @see #setUnsettableBoolean(boolean) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableBoolean() + * @model default="true" unsettable="true" + * @generated + */ + boolean isUnsettableBoolean(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean + * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Boolean</em>' attribute. + * @see #isSetUnsettableBoolean() + * @see #unsetUnsettableBoolean() + * @see #isUnsettableBoolean() + * @generated + */ + void setUnsettableBoolean(boolean value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean + * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableBoolean() + * @see #isUnsettableBoolean() + * @see #setUnsettableBoolean(boolean) + * @generated + */ + void unsetUnsettableBoolean(); + + /** + * Returns whether the value of the ' + * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean <em>Unsettable Boolean</em>}' + * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Boolean</em>' attribute is set. + * @see #unsetUnsettableBoolean() + * @see #isUnsettableBoolean() + * @see #setUnsettableBoolean(boolean) + * @generated + */ + boolean isSetUnsettableBoolean(); + + /** + * Returns the value of the '<em><b>Unsettable Byte</b></em>' attribute. The default value is <code>"3"</code>. <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Byte</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Byte</em>' attribute. + * @see #isSetUnsettableByte() + * @see #unsetUnsettableByte() + * @see #setUnsettableByte(byte) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableByte() + * @model default="3" unsettable="true" + * @generated + */ + byte getUnsettableByte(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte + * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Byte</em>' attribute. + * @see #isSetUnsettableByte() + * @see #unsetUnsettableByte() + * @see #getUnsettableByte() + * @generated + */ + void setUnsettableByte(byte value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte + * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableByte() + * @see #getUnsettableByte() + * @see #setUnsettableByte(byte) + * @generated + */ + void unsetUnsettableByte(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte + * <em>Unsettable Byte</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Byte</em>' attribute is set. + * @see #unsetUnsettableByte() + * @see #getUnsettableByte() + * @see #setUnsettableByte(byte) + * @generated + */ + boolean isSetUnsettableByte(); + + /** + * Returns the value of the '<em><b>Unsettable Char</b></em>' attribute. The default value is <code>"\'x\'"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Char</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Char</em>' attribute. + * @see #isSetUnsettableChar() + * @see #unsetUnsettableChar() + * @see #setUnsettableChar(char) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableChar() + * @model default="\'x\'" unsettable="true" + * @generated + */ + char getUnsettableChar(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar + * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Char</em>' attribute. + * @see #isSetUnsettableChar() + * @see #unsetUnsettableChar() + * @see #getUnsettableChar() + * @generated + */ + void setUnsettableChar(char value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar + * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableChar() + * @see #getUnsettableChar() + * @see #setUnsettableChar(char) + * @generated + */ + void unsetUnsettableChar(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar + * <em>Unsettable Char</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Char</em>' attribute is set. + * @see #unsetUnsettableChar() + * @see #getUnsettableChar() + * @see #setUnsettableChar(char) + * @generated + */ + boolean isSetUnsettableChar(); + + /** + * Returns the value of the '<em><b>Unsettable Date</b></em>' attribute. The default value is + * <code>"2009-12-21T15:12:59"</code>. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Date</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Date</em>' attribute. + * @see #isSetUnsettableDate() + * @see #unsetUnsettableDate() + * @see #setUnsettableDate(Date) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableDate() + * @model default="2009-12-21T15:12:59" unsettable="true" + * @generated + */ + Date getUnsettableDate(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate + * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Date</em>' attribute. + * @see #isSetUnsettableDate() + * @see #unsetUnsettableDate() + * @see #getUnsettableDate() + * @generated + */ + void setUnsettableDate(Date value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate + * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableDate() + * @see #getUnsettableDate() + * @see #setUnsettableDate(Date) + * @generated + */ + void unsetUnsettableDate(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate + * <em>Unsettable Date</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Date</em>' attribute is set. + * @see #unsetUnsettableDate() + * @see #getUnsettableDate() + * @see #setUnsettableDate(Date) + * @generated + */ + boolean isSetUnsettableDate(); + + /** + * Returns the value of the '<em><b>Unsettable Double</b></em>' attribute. The default value is <code>"3.3"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Double</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Double</em>' attribute. + * @see #isSetUnsettableDouble() + * @see #unsetUnsettableDouble() + * @see #setUnsettableDouble(double) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableDouble() + * @model default="3.3" unsettable="true" + * @generated + */ + double getUnsettableDouble(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble + * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Double</em>' attribute. + * @see #isSetUnsettableDouble() + * @see #unsetUnsettableDouble() + * @see #getUnsettableDouble() + * @generated + */ + void setUnsettableDouble(double value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble + * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableDouble() + * @see #getUnsettableDouble() + * @see #setUnsettableDouble(double) + * @generated + */ + void unsetUnsettableDouble(); + + /** + * Returns whether the value of the ' + * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble <em>Unsettable Double</em>}' + * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Double</em>' attribute is set. + * @see #unsetUnsettableDouble() + * @see #getUnsettableDouble() + * @see #setUnsettableDouble(double) + * @generated + */ + boolean isSetUnsettableDouble(); + + /** + * Returns the value of the '<em><b>Unsettable Float</b></em>' attribute. The default value is <code>"4.4"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Float</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Float</em>' attribute. + * @see #isSetUnsettableFloat() + * @see #unsetUnsettableFloat() + * @see #setUnsettableFloat(float) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableFloat() + * @model default="4.4" unsettable="true" + * @generated + */ + float getUnsettableFloat(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat + * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Float</em>' attribute. + * @see #isSetUnsettableFloat() + * @see #unsetUnsettableFloat() + * @see #getUnsettableFloat() + * @generated + */ + void setUnsettableFloat(float value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat + * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableFloat() + * @see #getUnsettableFloat() + * @see #setUnsettableFloat(float) + * @generated + */ + void unsetUnsettableFloat(); + + /** + * Returns whether the value of the ' + * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}' + * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Float</em>' attribute is set. + * @see #unsetUnsettableFloat() + * @see #getUnsettableFloat() + * @see #setUnsettableFloat(float) + * @generated + */ + boolean isSetUnsettableFloat(); + + /** + * Returns the value of the '<em><b>Unsettable Int</b></em>' attribute. The default value is <code>"5"</code>. <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Int</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Int</em>' attribute. + * @see #isSetUnsettableInt() + * @see #unsetUnsettableInt() + * @see #setUnsettableInt(int) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableInt() + * @model default="5" unsettable="true" + * @generated + */ + int getUnsettableInt(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt + * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Int</em>' attribute. + * @see #isSetUnsettableInt() + * @see #unsetUnsettableInt() + * @see #getUnsettableInt() + * @generated + */ + void setUnsettableInt(int value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt + * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableInt() + * @see #getUnsettableInt() + * @see #setUnsettableInt(int) + * @generated + */ + void unsetUnsettableInt(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt + * <em>Unsettable Int</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Int</em>' attribute is set. + * @see #unsetUnsettableInt() + * @see #getUnsettableInt() + * @see #setUnsettableInt(int) + * @generated + */ + boolean isSetUnsettableInt(); + + /** + * Returns the value of the '<em><b>Unsettable Long</b></em>' attribute. The default value is <code>"6"</code>. <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Long</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Long</em>' attribute. + * @see #isSetUnsettableLong() + * @see #unsetUnsettableLong() + * @see #setUnsettableLong(long) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableLong() + * @model default="6" unsettable="true" + * @generated + */ + long getUnsettableLong(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong + * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Long</em>' attribute. + * @see #isSetUnsettableLong() + * @see #unsetUnsettableLong() + * @see #getUnsettableLong() + * @generated + */ + void setUnsettableLong(long value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong + * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableLong() + * @see #getUnsettableLong() + * @see #setUnsettableLong(long) + * @generated + */ + void unsetUnsettableLong(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong + * <em>Unsettable Long</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Long</em>' attribute is set. + * @see #unsetUnsettableLong() + * @see #getUnsettableLong() + * @see #setUnsettableLong(long) + * @generated + */ + boolean isSetUnsettableLong(); + + /** + * Returns the value of the '<em><b>Unsettable Short</b></em>' attribute. The default value is <code>"7"</code>. <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable Short</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable Short</em>' attribute. + * @see #isSetUnsettableShort() + * @see #unsetUnsettableShort() + * @see #setUnsettableShort(short) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableShort() + * @model default="7" unsettable="true" + * @generated + */ + short getUnsettableShort(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort + * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable Short</em>' attribute. + * @see #isSetUnsettableShort() + * @see #unsetUnsettableShort() + * @see #getUnsettableShort() + * @generated + */ + void setUnsettableShort(short value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort + * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableShort() + * @see #getUnsettableShort() + * @see #setUnsettableShort(short) + * @generated + */ + void unsetUnsettableShort(); + + /** + * Returns whether the value of the ' + * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}' + * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable Short</em>' attribute is set. + * @see #unsetUnsettableShort() + * @see #getUnsettableShort() + * @see #setUnsettableShort(short) + * @generated + */ + boolean isSetUnsettableShort(); + + /** + * Returns the value of the '<em><b>Unsettable String</b></em>' attribute. The default value is + * <code>"\"eike\""</code>. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable String</em>' attribute isn't clear, there really should be more of a + * description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable String</em>' attribute. + * @see #isSetUnsettableString() + * @see #unsetUnsettableString() + * @see #setUnsettableString(String) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableString() + * @model default="\"eike\"" unsettable="true" + * @generated + */ + String getUnsettableString(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString + * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable String</em>' attribute. + * @see #isSetUnsettableString() + * @see #unsetUnsettableString() + * @see #getUnsettableString() + * @generated + */ + void setUnsettableString(String value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString + * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableString() + * @see #getUnsettableString() + * @see #setUnsettableString(String) + * @generated + */ + void unsetUnsettableString(); + + /** + * Returns whether the value of the ' + * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString <em>Unsettable String</em>}' + * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable String</em>' attribute is set. + * @see #unsetUnsettableString() + * @see #getUnsettableString() + * @see #setUnsettableString(String) + * @generated + */ + boolean isSetUnsettableString(); + + /** + * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The default value is <code>"vat15"</code>. The + * literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unsettable VAT</em>' attribute isn't clear, there really should be more of a description + * here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Unsettable VAT</em>' attribute. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see #isSetUnsettableVAT() + * @see #unsetUnsettableVAT() + * @see #setUnsettableVAT(VAT) + * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableVAT() + * @model default="vat15" unsettable="true" + * @generated + */ + VAT getUnsettableVAT(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT + * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Unsettable VAT</em>' attribute. + * @see org.eclipse.emf.cdo.tests.model1.VAT + * @see #isSetUnsettableVAT() + * @see #unsetUnsettableVAT() + * @see #getUnsettableVAT() + * @generated + */ + void setUnsettableVAT(VAT value); + + /** + * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT + * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #isSetUnsettableVAT() + * @see #getUnsettableVAT() + * @see #setUnsettableVAT(VAT) + * @generated + */ + void unsetUnsettableVAT(); + + /** + * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT + * <em>Unsettable VAT</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return whether the value of the '<em>Unsettable VAT</em>' attribute is set. + * @see #unsetUnsettableVAT() + * @see #getUnsettableVAT() + * @see #setUnsettableVAT(VAT) + * @generated + */ + boolean isSetUnsettableVAT(); + +} // Unsettable2WithDefault diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectBothContainedMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectBothContainedMapImpl.java index 0a26f0c038..88b1fdce9b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectBothContainedMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectBothContainedMapImpl.java @@ -1,197 +1,197 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- 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.model2.impl.EObjectToEObjectBothContainedMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectBothContainedMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EObjectToEObjectBothContainedMapImpl extends CDOObjectImpl implements BasicEMap.Entry<EObject, EObject>
-{
- /**
- * <!-- 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
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedKey()
- {
- return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(EObject newKey)
- {
- eSet(Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedValue()
- {
- return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(EObject newValue)
- {
- eSet(Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap_Value(), newValue);
- }
-
- /**
- * <!-- 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- 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.model2.impl.EObjectToEObjectBothContainedMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectBothContainedMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class EObjectToEObjectBothContainedMapImpl extends CDOObjectImpl implements BasicEMap.Entry<EObject, EObject> +{ + /** + * <!-- 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 + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EObject getTypedKey() + { + return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(EObject newKey) + { + eSet(Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EObject getTypedValue() + { + return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(EObject newValue) + { + eSet(Model2Package.eINSTANCE.getEObjectToEObjectBothContainedMap_Value(), newValue); + } + + /** + * <!-- 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/model2/impl/EObjectToEObjectKeyContainedMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectKeyContainedMapImpl.java index 29805f2794..cb445d1133 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectKeyContainedMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectKeyContainedMapImpl.java @@ -1,197 +1,197 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- 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.model2.impl.EObjectToEObjectKeyContainedMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectKeyContainedMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EObjectToEObjectKeyContainedMapImpl extends CDOObjectImpl implements BasicEMap.Entry<EObject, EObject>
-{
- /**
- * <!-- 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
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedKey()
- {
- return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(EObject newKey)
- {
- eSet(Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedValue()
- {
- return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(EObject newValue)
- {
- eSet(Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap_Value(), newValue);
- }
-
- /**
- * <!-- 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- 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.model2.impl.EObjectToEObjectKeyContainedMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectKeyContainedMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class EObjectToEObjectKeyContainedMapImpl extends CDOObjectImpl implements BasicEMap.Entry<EObject, EObject> +{ + /** + * <!-- 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 + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EObject getTypedKey() + { + return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(EObject newKey) + { + eSet(Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EObject getTypedValue() + { + return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(EObject newValue) + { + eSet(Model2Package.eINSTANCE.getEObjectToEObjectKeyContainedMap_Value(), newValue); + } + + /** + * <!-- 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/model2/impl/EObjectToEObjectMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectMapImpl.java index 7640c97303..afcc8dbb5d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectMapImpl.java @@ -1,197 +1,197 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- 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.model2.impl.EObjectToEObjectMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EObjectToEObjectMapImpl extends CDOObjectImpl implements BasicEMap.Entry<EObject, EObject>
-{
- /**
- * <!-- 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
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedKey()
- {
- return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(EObject newKey)
- {
- eSet(Model2Package.eINSTANCE.getEObjectToEObjectMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedValue()
- {
- return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(EObject newValue)
- {
- eSet(Model2Package.eINSTANCE.getEObjectToEObjectMap_Value(), newValue);
- }
-
- /**
- * <!-- 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- 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.model2.impl.EObjectToEObjectMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class EObjectToEObjectMapImpl extends CDOObjectImpl implements BasicEMap.Entry<EObject, EObject> +{ + /** + * <!-- 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 + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EObject getTypedKey() + { + return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(EObject newKey) + { + eSet(Model2Package.eINSTANCE.getEObjectToEObjectMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EObject getTypedValue() + { + return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(EObject newValue) + { + eSet(Model2Package.eINSTANCE.getEObjectToEObjectMap_Value(), newValue); + } + + /** + * <!-- 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/model2/impl/EObjectToEObjectValueContainedMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectValueContainedMapImpl.java index 5689a469cc..010b592c55 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectValueContainedMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EObjectToEObjectValueContainedMapImpl.java @@ -1,197 +1,197 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- 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.model2.impl.EObjectToEObjectValueContainedMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectValueContainedMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EObjectToEObjectValueContainedMapImpl extends CDOObjectImpl implements BasicEMap.Entry<EObject, EObject>
-{
- /**
- * <!-- 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
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedKey()
- {
- return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(EObject newKey)
- {
- eSet(Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public EObject getTypedValue()
- {
- return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(EObject newValue)
- {
- eSet(Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap_Value(), newValue);
- }
-
- /**
- * <!-- 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- 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.model2.impl.EObjectToEObjectValueContainedMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.EObjectToEObjectValueContainedMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class EObjectToEObjectValueContainedMapImpl extends CDOObjectImpl implements BasicEMap.Entry<EObject, EObject> +{ + /** + * <!-- 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 + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EObject getTypedKey() + { + return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(EObject newKey) + { + eSet(Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EObject getTypedValue() + { + return (EObject)eGet(Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(EObject newValue) + { + eSet(Model2Package.eINSTANCE.getEObjectToEObjectValueContainedMap_Value(), newValue); + } + + /** + * <!-- 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/model2/impl/EnumListHolderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EnumListHolderImpl.java index 8fa164b0da..b833d9a418 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EnumListHolderImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/EnumListHolderImpl.java @@ -1,79 +1,79 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- 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.model2.impl.EnumListHolderImpl#getEnumList <em>Enum List</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EnumListHolderImpl extends CDOObjectImpl implements EnumListHolder
-{
- /**
- * <!-- 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
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EList<VAT> getEnumList()
- {
- return (EList<VAT>)eGet(Model2Package.eINSTANCE.getEnumListHolder_EnumList(), true);
- }
-
-} // 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.VAT; +import org.eclipse.emf.cdo.tests.model2.EnumListHolder; +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- 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.model2.impl.EnumListHolderImpl#getEnumList <em>Enum List</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class EnumListHolderImpl extends CDOObjectImpl implements EnumListHolder +{ + /** + * <!-- 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 + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EList<VAT> getEnumList() + { + return (EList<VAT>)eGet(Model2Package.eINSTANCE.getEnumListHolder_EnumList(), true); + } + +} // EnumListHolderImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/IntegerToStringMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/IntegerToStringMapImpl.java index 98259d9028..bb6c78dc0e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/IntegerToStringMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/IntegerToStringMapImpl.java @@ -1,197 +1,197 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- 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.model2.impl.IntegerToStringMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.IntegerToStringMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class IntegerToStringMapImpl extends CDOObjectImpl implements BasicEMap.Entry<Integer, String>
-{
- /**
- * <!-- 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
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Integer getTypedKey()
- {
- return (Integer)eGet(Model2Package.eINSTANCE.getIntegerToStringMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(Integer newKey)
- {
- eSet(Model2Package.eINSTANCE.getIntegerToStringMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedValue()
- {
- return (String)eGet(Model2Package.eINSTANCE.getIntegerToStringMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(String newValue)
- {
- eSet(Model2Package.eINSTANCE.getIntegerToStringMap_Value(), newValue);
- }
-
- /**
- * <!-- 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- 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.model2.impl.IntegerToStringMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.IntegerToStringMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class IntegerToStringMapImpl extends CDOObjectImpl implements BasicEMap.Entry<Integer, String> +{ + /** + * <!-- 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 + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Integer getTypedKey() + { + return (Integer)eGet(Model2Package.eINSTANCE.getIntegerToStringMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(Integer newKey) + { + eSet(Model2Package.eINSTANCE.getIntegerToStringMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedValue() + { + return (String)eGet(Model2Package.eINSTANCE.getIntegerToStringMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(String newValue) + { + eSet(Model2Package.eINSTANCE.getIntegerToStringMap_Value(), newValue); + } + + /** + * <!-- 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/model2/impl/MapHolderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/MapHolderImpl.java index c43342d489..2df6ae43f1 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/MapHolderImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/MapHolderImpl.java @@ -1,184 +1,184 @@ -/*
- * 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.model2.impl;
-
-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.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- 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.model2.impl.MapHolderImpl#getIntegerToStringMap <em>Integer To String Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToStringMap <em>String To String Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToVATMap <em>String To VAT Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToAddressContainmentMap <em>String To Address
- * Containment Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToAddressReferenceMap <em>String To Address
- * Reference Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectMap <em>EObject To EObject Map
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectKeyContainedMap <em>EObject To
- * EObject Key Contained Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectBothContainedMap <em>EObject To
- * EObject Both Contained Map</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectValueContainedMap <em>EObject To
- * EObject Value Contained Map</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MapHolderImpl extends CDOObjectImpl implements MapHolder
-{
- /**
- * <!-- 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
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<Integer, String> getIntegerToStringMap()
- {
- return (EMap<Integer, String>)eGet(Model2Package.eINSTANCE.getMapHolder_IntegerToStringMap(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, String> getStringToStringMap()
- {
- return (EMap<String, String>)eGet(Model2Package.eINSTANCE.getMapHolder_StringToStringMap(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, VAT> getStringToVATMap()
- {
- return (EMap<String, VAT>)eGet(Model2Package.eINSTANCE.getMapHolder_StringToVATMap(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, Address> getStringToAddressContainmentMap()
- {
- return (EMap<String, Address>)eGet(Model2Package.eINSTANCE.getMapHolder_StringToAddressContainmentMap(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, Address> getStringToAddressReferenceMap()
- {
- return (EMap<String, Address>)eGet(Model2Package.eINSTANCE.getMapHolder_StringToAddressReferenceMap(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<EObject, EObject> getEObjectToEObjectMap()
- {
- return (EMap<EObject, EObject>)eGet(Model2Package.eINSTANCE.getMapHolder_EObjectToEObjectMap(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<EObject, EObject> getEObjectToEObjectKeyContainedMap()
- {
- return (EMap<EObject, EObject>)eGet(Model2Package.eINSTANCE.getMapHolder_EObjectToEObjectKeyContainedMap(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<EObject, EObject> getEObjectToEObjectBothContainedMap()
- {
- return (EMap<EObject, EObject>)eGet(Model2Package.eINSTANCE.getMapHolder_EObjectToEObjectBothContainedMap(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<EObject, EObject> getEObjectToEObjectValueContainedMap()
- {
- return (EMap<EObject, EObject>)eGet(Model2Package.eINSTANCE.getMapHolder_EObjectToEObjectValueContainedMap(), true);
- }
-
-} // 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.model2.impl; + +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.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.common.util.EMap; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- 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.model2.impl.MapHolderImpl#getIntegerToStringMap <em>Integer To String Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToStringMap <em>String To String Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToVATMap <em>String To VAT Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToAddressContainmentMap <em>String To Address + * Containment Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getStringToAddressReferenceMap <em>String To Address + * Reference Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectMap <em>EObject To EObject Map + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectKeyContainedMap <em>EObject To + * EObject Key Contained Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectBothContainedMap <em>EObject To + * EObject Both Contained Map</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.MapHolderImpl#getEObjectToEObjectValueContainedMap <em>EObject To + * EObject Value Contained Map</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MapHolderImpl extends CDOObjectImpl implements MapHolder +{ + /** + * <!-- 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 + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<Integer, String> getIntegerToStringMap() + { + return (EMap<Integer, String>)eGet(Model2Package.eINSTANCE.getMapHolder_IntegerToStringMap(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, String> getStringToStringMap() + { + return (EMap<String, String>)eGet(Model2Package.eINSTANCE.getMapHolder_StringToStringMap(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, VAT> getStringToVATMap() + { + return (EMap<String, VAT>)eGet(Model2Package.eINSTANCE.getMapHolder_StringToVATMap(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, Address> getStringToAddressContainmentMap() + { + return (EMap<String, Address>)eGet(Model2Package.eINSTANCE.getMapHolder_StringToAddressContainmentMap(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, Address> getStringToAddressReferenceMap() + { + return (EMap<String, Address>)eGet(Model2Package.eINSTANCE.getMapHolder_StringToAddressReferenceMap(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<EObject, EObject> getEObjectToEObjectMap() + { + return (EMap<EObject, EObject>)eGet(Model2Package.eINSTANCE.getMapHolder_EObjectToEObjectMap(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<EObject, EObject> getEObjectToEObjectKeyContainedMap() + { + return (EMap<EObject, EObject>)eGet(Model2Package.eINSTANCE.getMapHolder_EObjectToEObjectKeyContainedMap(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<EObject, EObject> getEObjectToEObjectBothContainedMap() + { + return (EMap<EObject, EObject>)eGet(Model2Package.eINSTANCE.getMapHolder_EObjectToEObjectBothContainedMap(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<EObject, EObject> getEObjectToEObjectValueContainedMap() + { + return (EMap<EObject, EObject>)eGet(Model2Package.eINSTANCE.getMapHolder_EObjectToEObjectValueContainedMap(), true); + } + +} // MapHolderImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java index 11d8ada56d..8d632da2c5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/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.model2.impl;
-
-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.Model2Factory;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-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
- */
- public static Model2Factory init()
- {
- try
- {
- Model2Factory theModel2Factory = (Model2Factory)EPackage.Registry.INSTANCE
- .getEFactory("http://www.eclipse.org/emf/CDO/tests/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.model2.impl; + +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.Model2Factory; +import org.eclipse.emf.cdo.tests.model2.Model2Package; +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 + */ + public static Model2Factory init() + { + try + { + Model2Factory theModel2Factory = (Model2Factory)EPackage.Registry.INSTANCE + .getEFactory("http://www.eclipse.org/emf/CDO/tests/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/model2/impl/Model2PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java index 9682d221fc..26d1eb2b08 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.Model1Package;
-import org.eclipse.emf.cdo.tests.model2.EnumListHolder;
-import org.eclipse.emf.cdo.tests.model2.MapHolder;
-import org.eclipse.emf.cdo.tests.model2.Model2Factory;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-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.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.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.Model1Package; +import org.eclipse.emf.cdo.tests.model2.EnumListHolder; +import org.eclipse.emf.cdo.tests.model2.MapHolder; +import org.eclipse.emf.cdo.tests.model2.Model2Factory; +import org.eclipse.emf.cdo.tests.model2.Model2Package; +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.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/model2/impl/NotUnsettableImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java index e9c416f55b..1fb29a8ab7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java @@ -1,309 +1,309 @@ -/*
- * 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.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.ecore.EClass;
-
-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.model2.impl.NotUnsettableImpl#isNotUnsettableBoolean <em>Not Unsettable Boolean
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableByte <em>Not Unsettable Byte</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableChar <em>Not Unsettable Char</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableDate <em>Not Unsettable Date</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableDouble <em>Not Unsettable Double
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableFloat <em>Not Unsettable Float
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableInt <em>Not Unsettable Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableLong <em>Not Unsettable Long</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableShort <em>Not Unsettable Short
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableString <em>Not Unsettable String
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableVAT <em>Not Unsettable VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NotUnsettableImpl extends CDOObjectImpl implements NotUnsettable
-{
- /**
- * <!-- 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
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isNotUnsettableBoolean()
- {
- return (Boolean)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableBoolean(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableBoolean(), newNotUnsettableBoolean);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public byte getNotUnsettableByte()
- {
- return (Byte)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableByte(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableByte(byte newNotUnsettableByte)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableByte(), newNotUnsettableByte);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public char getNotUnsettableChar()
- {
- return (Character)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableChar(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableChar(char newNotUnsettableChar)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableChar(), newNotUnsettableChar);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Date getNotUnsettableDate()
- {
- return (Date)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableDate(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableDate(Date newNotUnsettableDate)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableDate(), newNotUnsettableDate);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public double getNotUnsettableDouble()
- {
- return (Double)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableDouble(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableDouble(double newNotUnsettableDouble)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableDouble(), newNotUnsettableDouble);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public float getNotUnsettableFloat()
- {
- return (Float)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableFloat(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableFloat(float newNotUnsettableFloat)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableFloat(), newNotUnsettableFloat);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getNotUnsettableInt()
- {
- return (Integer)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableInt(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableInt(int newNotUnsettableInt)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableInt(), newNotUnsettableInt);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public long getNotUnsettableLong()
- {
- return (Long)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableLong(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableLong(long newNotUnsettableLong)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableLong(), newNotUnsettableLong);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public short getNotUnsettableShort()
- {
- return (Short)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableShort(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableShort(short newNotUnsettableShort)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableShort(), newNotUnsettableShort);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getNotUnsettableString()
- {
- return (String)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableString(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableString(String newNotUnsettableString)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableString(), newNotUnsettableString);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getNotUnsettableVAT()
- {
- return (VAT)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableVAT(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableVAT(VAT newNotUnsettableVAT)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableVAT(), newNotUnsettableVAT);
- }
-
-} // 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.2 2011-01-01 11:01:57 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.VAT; +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.NotUnsettable; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.ecore.EClass; + +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.model2.impl.NotUnsettableImpl#isNotUnsettableBoolean <em>Not Unsettable Boolean + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableByte <em>Not Unsettable Byte</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableChar <em>Not Unsettable Char</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableDate <em>Not Unsettable Date</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableDouble <em>Not Unsettable Double + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableFloat <em>Not Unsettable Float + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableInt <em>Not Unsettable Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableLong <em>Not Unsettable Long</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableShort <em>Not Unsettable Short + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableString <em>Not Unsettable String + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableVAT <em>Not Unsettable VAT</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NotUnsettableImpl extends CDOObjectImpl implements NotUnsettable +{ + /** + * <!-- 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 + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isNotUnsettableBoolean() + { + return (Boolean)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableBoolean(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableBoolean(), newNotUnsettableBoolean); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public byte getNotUnsettableByte() + { + return (Byte)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableByte(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableByte(byte newNotUnsettableByte) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableByte(), newNotUnsettableByte); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public char getNotUnsettableChar() + { + return (Character)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableChar(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableChar(char newNotUnsettableChar) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableChar(), newNotUnsettableChar); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Date getNotUnsettableDate() + { + return (Date)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableDate(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableDate(Date newNotUnsettableDate) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableDate(), newNotUnsettableDate); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public double getNotUnsettableDouble() + { + return (Double)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableDouble(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableDouble(double newNotUnsettableDouble) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableDouble(), newNotUnsettableDouble); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public float getNotUnsettableFloat() + { + return (Float)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableFloat(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableFloat(float newNotUnsettableFloat) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableFloat(), newNotUnsettableFloat); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public int getNotUnsettableInt() + { + return (Integer)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableInt(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableInt(int newNotUnsettableInt) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableInt(), newNotUnsettableInt); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public long getNotUnsettableLong() + { + return (Long)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableLong(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableLong(long newNotUnsettableLong) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableLong(), newNotUnsettableLong); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public short getNotUnsettableShort() + { + return (Short)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableShort(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableShort(short newNotUnsettableShort) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableShort(), newNotUnsettableShort); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getNotUnsettableString() + { + return (String)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableString(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableString(String newNotUnsettableString) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableString(), newNotUnsettableString); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getNotUnsettableVAT() + { + return (VAT)eGet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableVAT(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableVAT(VAT newNotUnsettableVAT) + { + eSet(Model2Package.eINSTANCE.getNotUnsettable_NotUnsettableVAT(), newNotUnsettableVAT); + } + +} // NotUnsettableImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java index fd145bd086..f6dcaee609 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java @@ -1,312 +1,312 @@ -/*
- * 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: NotUnsettableWithDefaultImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import java.util.Date;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Not Unsettable With Default</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#isNotUnsettableBoolean <em>Not
- * Unsettable Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableByte <em>Not Unsettable
- * Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableChar <em>Not Unsettable
- * Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDate <em>Not Unsettable
- * Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDouble <em>Not
- * Unsettable Double</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableFloat <em>Not
- * Unsettable Float</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableInt <em>Not Unsettable
- * Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableLong <em>Not Unsettable
- * Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableShort <em>Not
- * Unsettable Short</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableString <em>Not
- * Unsettable String</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableVAT <em>Not Unsettable
- * VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NotUnsettableWithDefaultImpl extends CDOObjectImpl implements NotUnsettableWithDefault
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected NotUnsettableWithDefaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getNotUnsettableWithDefault();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isNotUnsettableBoolean()
- {
- return (Boolean)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableBoolean(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableBoolean(), newNotUnsettableBoolean);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public byte getNotUnsettableByte()
- {
- return (Byte)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableByte(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableByte(byte newNotUnsettableByte)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableByte(), newNotUnsettableByte);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public char getNotUnsettableChar()
- {
- return (Character)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableChar(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableChar(char newNotUnsettableChar)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableChar(), newNotUnsettableChar);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Date getNotUnsettableDate()
- {
- return (Date)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableDate(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableDate(Date newNotUnsettableDate)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableDate(), newNotUnsettableDate);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public double getNotUnsettableDouble()
- {
- return (Double)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableDouble(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableDouble(double newNotUnsettableDouble)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableDouble(), newNotUnsettableDouble);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public float getNotUnsettableFloat()
- {
- return (Float)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableFloat(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableFloat(float newNotUnsettableFloat)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableFloat(), newNotUnsettableFloat);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getNotUnsettableInt()
- {
- return (Integer)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableInt(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableInt(int newNotUnsettableInt)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableInt(), newNotUnsettableInt);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public long getNotUnsettableLong()
- {
- return (Long)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableLong(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableLong(long newNotUnsettableLong)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableLong(), newNotUnsettableLong);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public short getNotUnsettableShort()
- {
- return (Short)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableShort(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableShort(short newNotUnsettableShort)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableShort(), newNotUnsettableShort);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getNotUnsettableString()
- {
- return (String)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableString(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableString(String newNotUnsettableString)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableString(), newNotUnsettableString);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getNotUnsettableVAT()
- {
- return (VAT)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableVAT(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNotUnsettableVAT(VAT newNotUnsettableVAT)
- {
- eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableVAT(), newNotUnsettableVAT);
- }
-
-} // NotUnsettableWithDefaultImpl
+/* + * 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: NotUnsettableWithDefaultImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.VAT; +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.ecore.EClass; + +import java.util.Date; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Not Unsettable With Default</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#isNotUnsettableBoolean <em>Not + * Unsettable Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableByte <em>Not Unsettable + * Byte</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableChar <em>Not Unsettable + * Char</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDate <em>Not Unsettable + * Date</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDouble <em>Not + * Unsettable Double</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableFloat <em>Not + * Unsettable Float</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableInt <em>Not Unsettable + * Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableLong <em>Not Unsettable + * Long</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableShort <em>Not + * Unsettable Short</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableString <em>Not + * Unsettable String</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableVAT <em>Not Unsettable + * VAT</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NotUnsettableWithDefaultImpl extends CDOObjectImpl implements NotUnsettableWithDefault +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected NotUnsettableWithDefaultImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getNotUnsettableWithDefault(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isNotUnsettableBoolean() + { + return (Boolean)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableBoolean(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableBoolean(), newNotUnsettableBoolean); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public byte getNotUnsettableByte() + { + return (Byte)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableByte(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableByte(byte newNotUnsettableByte) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableByte(), newNotUnsettableByte); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public char getNotUnsettableChar() + { + return (Character)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableChar(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableChar(char newNotUnsettableChar) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableChar(), newNotUnsettableChar); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Date getNotUnsettableDate() + { + return (Date)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableDate(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableDate(Date newNotUnsettableDate) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableDate(), newNotUnsettableDate); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public double getNotUnsettableDouble() + { + return (Double)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableDouble(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableDouble(double newNotUnsettableDouble) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableDouble(), newNotUnsettableDouble); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public float getNotUnsettableFloat() + { + return (Float)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableFloat(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableFloat(float newNotUnsettableFloat) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableFloat(), newNotUnsettableFloat); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public int getNotUnsettableInt() + { + return (Integer)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableInt(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableInt(int newNotUnsettableInt) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableInt(), newNotUnsettableInt); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public long getNotUnsettableLong() + { + return (Long)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableLong(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableLong(long newNotUnsettableLong) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableLong(), newNotUnsettableLong); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public short getNotUnsettableShort() + { + return (Short)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableShort(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableShort(short newNotUnsettableShort) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableShort(), newNotUnsettableShort); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getNotUnsettableString() + { + return (String)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableString(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableString(String newNotUnsettableString) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableString(), newNotUnsettableString); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getNotUnsettableVAT() + { + return (VAT)eGet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableVAT(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setNotUnsettableVAT(VAT newNotUnsettableVAT) + { + eSet(Model2Package.eINSTANCE.getNotUnsettableWithDefault_NotUnsettableVAT(), newNotUnsettableVAT); + } + +} // NotUnsettableWithDefaultImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/PersistentContainmentImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/PersistentContainmentImpl.java index 886339ce24..6cc74bf582 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/PersistentContainmentImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/PersistentContainmentImpl.java @@ -1,121 +1,121 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
-import org.eclipse.emf.cdo.tests.model2.TransientContainer;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Persistent Containment</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.PersistentContainmentImpl#getAttrBefore <em>Attr Before</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.PersistentContainmentImpl#getChildren <em>Children</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.PersistentContainmentImpl#getAttrAfter <em>Attr After</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PersistentContainmentImpl extends CDOObjectImpl implements PersistentContainment
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected PersistentContainmentImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getPersistentContainment();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getAttrBefore()
- {
- return (String)eGet(Model2Package.eINSTANCE.getPersistentContainment_AttrBefore(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAttrBefore(String newAttrBefore)
- {
- eSet(Model2Package.eINSTANCE.getPersistentContainment_AttrBefore(), newAttrBefore);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EList<TransientContainer> getChildren()
- {
- return (EList<TransientContainer>)eGet(Model2Package.eINSTANCE.getPersistentContainment_Children(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getAttrAfter()
- {
- return (String)eGet(Model2Package.eINSTANCE.getPersistentContainment_AttrAfter(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAttrAfter(String newAttrAfter)
- {
- eSet(Model2Package.eINSTANCE.getPersistentContainment_AttrAfter(), newAttrAfter);
- }
-
-} // PersistentContainmentImpl
+/* + * 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.PersistentContainment; +import org.eclipse.emf.cdo.tests.model2.TransientContainer; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Persistent Containment</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.PersistentContainmentImpl#getAttrBefore <em>Attr Before</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.PersistentContainmentImpl#getChildren <em>Children</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.PersistentContainmentImpl#getAttrAfter <em>Attr After</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PersistentContainmentImpl extends CDOObjectImpl implements PersistentContainment +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected PersistentContainmentImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getPersistentContainment(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getAttrBefore() + { + return (String)eGet(Model2Package.eINSTANCE.getPersistentContainment_AttrBefore(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setAttrBefore(String newAttrBefore) + { + eSet(Model2Package.eINSTANCE.getPersistentContainment_AttrBefore(), newAttrBefore); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EList<TransientContainer> getChildren() + { + return (EList<TransientContainer>)eGet(Model2Package.eINSTANCE.getPersistentContainment_Children(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getAttrAfter() + { + return (String)eGet(Model2Package.eINSTANCE.getPersistentContainment_AttrAfter(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setAttrAfter(String newAttrAfter) + { + eSet(Model2Package.eINSTANCE.getPersistentContainment_AttrAfter(), newAttrAfter); + } + +} // PersistentContainmentImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java index ee504ad0b2..499683228e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java @@ -1,97 +1,97 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Special Purchase Order</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl#getDiscountCode <em>Discount Code</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl#getShippingAddress <em>Shipping Address
- * </em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements SpecialPurchaseOrder
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected SpecialPurchaseOrderImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getSpecialPurchaseOrder();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDiscountCode()
- {
- return (String)eGet(Model2Package.eINSTANCE.getSpecialPurchaseOrder_DiscountCode(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDiscountCode(String newDiscountCode)
- {
- eSet(Model2Package.eINSTANCE.getSpecialPurchaseOrder_DiscountCode(), newDiscountCode);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getShippingAddress()
- {
- return (Address)eGet(Model2Package.eINSTANCE.getSpecialPurchaseOrder_ShippingAddress(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setShippingAddress(Address newShippingAddress)
- {
- eSet(Model2Package.eINSTANCE.getSpecialPurchaseOrder_ShippingAddress(), newShippingAddress);
- }
-
-} // SpecialPurchaseOrderImpl
+/* + * 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.Address; +import org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl; +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Special Purchase Order</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl#getDiscountCode <em>Discount Code</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl#getShippingAddress <em>Shipping Address + * </em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements SpecialPurchaseOrder +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected SpecialPurchaseOrderImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getSpecialPurchaseOrder(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getDiscountCode() + { + return (String)eGet(Model2Package.eINSTANCE.getSpecialPurchaseOrder_DiscountCode(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setDiscountCode(String newDiscountCode) + { + eSet(Model2Package.eINSTANCE.getSpecialPurchaseOrder_DiscountCode(), newDiscountCode); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getShippingAddress() + { + return (Address)eGet(Model2Package.eINSTANCE.getSpecialPurchaseOrder_ShippingAddress(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setShippingAddress(Address newShippingAddress) + { + eSet(Model2Package.eINSTANCE.getSpecialPurchaseOrder_ShippingAddress(), newShippingAddress); + } + +} // SpecialPurchaseOrderImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressContainmentMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressContainmentMapImpl.java index 23048314fa..54b49ee683 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressContainmentMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressContainmentMapImpl.java @@ -1,198 +1,198 @@ -/*
- * 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: StringToAddressContainmentMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>String To Address Containment Map</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToAddressContainmentMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToAddressContainmentMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StringToAddressContainmentMapImpl extends CDOObjectImpl implements BasicEMap.Entry<String, Address>
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected StringToAddressContainmentMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getStringToAddressContainmentMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedKey()
- {
- return (String)eGet(Model2Package.eINSTANCE.getStringToAddressContainmentMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(String newKey)
- {
- eSet(Model2Package.eINSTANCE.getStringToAddressContainmentMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getTypedValue()
- {
- return (Address)eGet(Model2Package.eINSTANCE.getStringToAddressContainmentMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(Address newValue)
- {
- eSet(Model2Package.eINSTANCE.getStringToAddressContainmentMap_Value(), newValue);
- }
-
- /**
- * <!-- 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 String getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address setValue(Address value)
- {
- Address oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, Address> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<String, Address>)container.eGet(eContainmentFeature());
- }
-
-} // StringToAddressContainmentMapImpl
+/* + * 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: StringToAddressContainmentMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.Address; +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>String To Address Containment Map</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToAddressContainmentMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToAddressContainmentMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringToAddressContainmentMapImpl extends CDOObjectImpl implements BasicEMap.Entry<String, Address> +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected StringToAddressContainmentMapImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getStringToAddressContainmentMap(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedKey() + { + return (String)eGet(Model2Package.eINSTANCE.getStringToAddressContainmentMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(String newKey) + { + eSet(Model2Package.eINSTANCE.getStringToAddressContainmentMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getTypedValue() + { + return (Address)eGet(Model2Package.eINSTANCE.getStringToAddressContainmentMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(Address newValue) + { + eSet(Model2Package.eINSTANCE.getStringToAddressContainmentMap_Value(), newValue); + } + + /** + * <!-- 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 String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setKey(String key) + { + setTypedKey(key); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getValue() + { + return getTypedValue(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address setValue(Address value) + { + Address oldValue = getValue(); + setTypedValue(value); + return oldValue; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, Address> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, Address>)container.eGet(eContainmentFeature()); + } + +} // StringToAddressContainmentMapImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressReferenceMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressReferenceMapImpl.java index d0f0f63c0b..c7a8c34c1e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressReferenceMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToAddressReferenceMapImpl.java @@ -1,198 +1,198 @@ -/*
- * 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: StringToAddressReferenceMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>String To Address Reference Map</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToAddressReferenceMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToAddressReferenceMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StringToAddressReferenceMapImpl extends CDOObjectImpl implements BasicEMap.Entry<String, Address>
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected StringToAddressReferenceMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getStringToAddressReferenceMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedKey()
- {
- return (String)eGet(Model2Package.eINSTANCE.getStringToAddressReferenceMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(String newKey)
- {
- eSet(Model2Package.eINSTANCE.getStringToAddressReferenceMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getTypedValue()
- {
- return (Address)eGet(Model2Package.eINSTANCE.getStringToAddressReferenceMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(Address newValue)
- {
- eSet(Model2Package.eINSTANCE.getStringToAddressReferenceMap_Value(), newValue);
- }
-
- /**
- * <!-- 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 String getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Address setValue(Address value)
- {
- Address oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, Address> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<String, Address>)container.eGet(eContainmentFeature());
- }
-
-} // StringToAddressReferenceMapImpl
+/* + * 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: StringToAddressReferenceMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.Address; +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>String To Address Reference Map</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToAddressReferenceMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToAddressReferenceMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringToAddressReferenceMapImpl extends CDOObjectImpl implements BasicEMap.Entry<String, Address> +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected StringToAddressReferenceMapImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getStringToAddressReferenceMap(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedKey() + { + return (String)eGet(Model2Package.eINSTANCE.getStringToAddressReferenceMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(String newKey) + { + eSet(Model2Package.eINSTANCE.getStringToAddressReferenceMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getTypedValue() + { + return (Address)eGet(Model2Package.eINSTANCE.getStringToAddressReferenceMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(Address newValue) + { + eSet(Model2Package.eINSTANCE.getStringToAddressReferenceMap_Value(), newValue); + } + + /** + * <!-- 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 String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setKey(String key) + { + setTypedKey(key); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address getValue() + { + return getTypedValue(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Address setValue(Address value) + { + Address oldValue = getValue(); + setTypedValue(value); + return oldValue; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, Address> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, Address>)container.eGet(eContainmentFeature()); + } + +} // StringToAddressReferenceMapImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToStringMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToStringMapImpl.java index 0e71ca9cfe..cb7626f9c7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToStringMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToStringMapImpl.java @@ -1,197 +1,197 @@ -/*
- * 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: StringToStringMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>String To String Map</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToStringMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToStringMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StringToStringMapImpl extends CDOObjectImpl implements BasicEMap.Entry<String, String>
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected StringToStringMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getStringToStringMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedKey()
- {
- return (String)eGet(Model2Package.eINSTANCE.getStringToStringMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(String newKey)
- {
- eSet(Model2Package.eINSTANCE.getStringToStringMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedValue()
- {
- return (String)eGet(Model2Package.eINSTANCE.getStringToStringMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(String newValue)
- {
- eSet(Model2Package.eINSTANCE.getStringToStringMap_Value(), newValue);
- }
-
- /**
- * <!-- 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 String getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String 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<String, String> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<String, String>)container.eGet(eContainmentFeature());
- }
-
-} // StringToStringMapImpl
+/* + * 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: StringToStringMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>String To String Map</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToStringMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToStringMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringToStringMapImpl extends CDOObjectImpl implements BasicEMap.Entry<String, String> +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected StringToStringMapImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getStringToStringMap(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedKey() + { + return (String)eGet(Model2Package.eINSTANCE.getStringToStringMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(String newKey) + { + eSet(Model2Package.eINSTANCE.getStringToStringMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedValue() + { + return (String)eGet(Model2Package.eINSTANCE.getStringToStringMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(String newValue) + { + eSet(Model2Package.eINSTANCE.getStringToStringMap_Value(), newValue); + } + + /** + * <!-- 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 String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setKey(String 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<String, String> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, String>)container.eGet(eContainmentFeature()); + } + +} // StringToStringMapImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToVATMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToVATMapImpl.java index 8522973126..ef7043a592 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToVATMapImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/StringToVATMapImpl.java @@ -1,198 +1,198 @@ -/*
- * 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: StringToVATMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $
- */
-package org.eclipse.emf.cdo.tests.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-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;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>String To VAT Map</b></em>'. <!-- end-user-doc
- * -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToVATMapImpl#getTypedKey <em>Key</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToVATMapImpl#getTypedValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class StringToVATMapImpl extends CDOObjectImpl implements BasicEMap.Entry<String, VAT>
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected StringToVATMapImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getStringToVATMap();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getTypedKey()
- {
- return (String)eGet(Model2Package.eINSTANCE.getStringToVATMap_Key(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedKey(String newKey)
- {
- eSet(Model2Package.eINSTANCE.getStringToVATMap_Key(), newKey);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getTypedValue()
- {
- return (VAT)eGet(Model2Package.eINSTANCE.getStringToVATMap_Value(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypedValue(VAT newValue)
- {
- eSet(Model2Package.eINSTANCE.getStringToVATMap_Value(), newValue);
- }
-
- /**
- * <!-- 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 String getKey()
- {
- return getTypedKey();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setKey(String key)
- {
- setTypedKey(key);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getValue()
- {
- return getTypedValue();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT setValue(VAT value)
- {
- VAT oldValue = getValue();
- setTypedValue(value);
- return oldValue;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EMap<String, VAT> getEMap()
- {
- EObject container = eContainer();
- return container == null ? null : (EMap<String, VAT>)container.eGet(eContainmentFeature());
- }
-
-} // StringToVATMapImpl
+/* + * 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: StringToVATMapImpl.java,v 1.2 2011-01-01 11:01:57 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.VAT; +import org.eclipse.emf.cdo.tests.model2.Model2Package; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +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; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>String To VAT Map</b></em>'. <!-- end-user-doc + * --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToVATMapImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.StringToVATMapImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringToVATMapImpl extends CDOObjectImpl implements BasicEMap.Entry<String, VAT> +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected StringToVATMapImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getStringToVATMap(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getTypedKey() + { + return (String)eGet(Model2Package.eINSTANCE.getStringToVATMap_Key(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedKey(String newKey) + { + eSet(Model2Package.eINSTANCE.getStringToVATMap_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getTypedValue() + { + return (VAT)eGet(Model2Package.eINSTANCE.getStringToVATMap_Value(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTypedValue(VAT newValue) + { + eSet(Model2Package.eINSTANCE.getStringToVATMap_Value(), newValue); + } + + /** + * <!-- 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 String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setKey(String key) + { + setTypedKey(key); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getValue() + { + return getTypedValue(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT setValue(VAT value) + { + VAT oldValue = getValue(); + setTypedValue(value); + return oldValue; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, VAT> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, VAT>)container.eGet(eContainmentFeature()); + } + +} // StringToVATMapImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java index 601ed7268b..0c53b13207 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java @@ -1,78 +1,78 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.Task;
-import org.eclipse.emf.cdo.tests.model2.TaskContainer;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Task Container</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl#getTasks <em>Tasks</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TaskContainerImpl extends CDOObjectImpl implements TaskContainer
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected TaskContainerImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getTaskContainer();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- public EList<Task> getTasks()
- {
- return (EList<Task>)eGet(Model2Package.eINSTANCE.getTaskContainer_Tasks(), true);
- }
-
-} // TaskContainerImpl
+/* + * 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.Task; +import org.eclipse.emf.cdo.tests.model2.TaskContainer; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Task Container</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl#getTasks <em>Tasks</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TaskContainerImpl extends CDOObjectImpl implements TaskContainer +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected TaskContainerImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getTaskContainer(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + public EList<Task> getTasks() + { + return (EList<Task>)eGet(Model2Package.eINSTANCE.getTaskContainer_Tasks(), true); + } + +} // TaskContainerImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java index 766c5a1406..9c8777223d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java @@ -1,128 +1,128 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.Task;
-import org.eclipse.emf.cdo.tests.model2.TaskContainer;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Task</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#getTaskContainer <em>Task Container</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#getDescription <em>Description</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#isDone <em>Done</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TaskImpl extends CDOObjectImpl implements Task
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected TaskImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getTask();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public TaskContainer getTaskContainer()
- {
- return (TaskContainer)eGet(Model2Package.eINSTANCE.getTask_TaskContainer(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTaskContainer(TaskContainer newTaskContainer)
- {
- eSet(Model2Package.eINSTANCE.getTask_TaskContainer(), newTaskContainer);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getDescription()
- {
- return (String)eGet(Model2Package.eINSTANCE.getTask_Description(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDescription(String newDescription)
- {
- eSet(Model2Package.eINSTANCE.getTask_Description(), newDescription);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isDone()
- {
- return (Boolean)eGet(Model2Package.eINSTANCE.getTask_Done(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDone(boolean newDone)
- {
- eSet(Model2Package.eINSTANCE.getTask_Done(), newDone);
- }
-
-} // TaskImpl
+/* + * 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.Task; +import org.eclipse.emf.cdo.tests.model2.TaskContainer; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Task</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#getTaskContainer <em>Task Container</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#isDone <em>Done</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TaskImpl extends CDOObjectImpl implements Task +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected TaskImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getTask(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public TaskContainer getTaskContainer() + { + return (TaskContainer)eGet(Model2Package.eINSTANCE.getTask_TaskContainer(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setTaskContainer(TaskContainer newTaskContainer) + { + eSet(Model2Package.eINSTANCE.getTask_TaskContainer(), newTaskContainer); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getDescription() + { + return (String)eGet(Model2Package.eINSTANCE.getTask_Description(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setDescription(String newDescription) + { + eSet(Model2Package.eINSTANCE.getTask_Description(), newDescription); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isDone() + { + return (Boolean)eGet(Model2Package.eINSTANCE.getTask_Done(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setDone(boolean newDone) + { + eSet(Model2Package.eINSTANCE.getTask_Done(), newDone); + } + +} // TaskImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TransientContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TransientContainerImpl.java index cadd8a7a5f..94bcc21e74 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TransientContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TransientContainerImpl.java @@ -1,129 +1,129 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
-import org.eclipse.emf.cdo.tests.model2.TransientContainer;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Transient Container</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getAttrBefore <em>Attr Before</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getParent <em>Parent</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getAttrAfter <em>Attr After</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TransientContainerImpl extends CDOObjectImpl implements TransientContainer
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected TransientContainerImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getTransientContainer();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getAttrBefore()
- {
- return (String)eGet(Model2Package.eINSTANCE.getTransientContainer_AttrBefore(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAttrBefore(String newAttrBefore)
- {
- eSet(Model2Package.eINSTANCE.getTransientContainer_AttrBefore(), newAttrBefore);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public PersistentContainment getParent()
- {
- return (PersistentContainment)eGet(Model2Package.eINSTANCE.getTransientContainer_Parent(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setParent(PersistentContainment newParent)
- {
- eSet(Model2Package.eINSTANCE.getTransientContainer_Parent(), newParent);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getAttrAfter()
- {
- return (String)eGet(Model2Package.eINSTANCE.getTransientContainer_AttrAfter(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAttrAfter(String newAttrAfter)
- {
- eSet(Model2Package.eINSTANCE.getTransientContainer_AttrAfter(), newAttrAfter);
- }
-
-} // TransientContainerImpl
+/* + * 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.PersistentContainment; +import org.eclipse.emf.cdo.tests.model2.TransientContainer; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.ecore.EClass; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Transient Container</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getAttrBefore <em>Attr Before</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.TransientContainerImpl#getAttrAfter <em>Attr After</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class TransientContainerImpl extends CDOObjectImpl implements TransientContainer +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected TransientContainerImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getTransientContainer(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getAttrBefore() + { + return (String)eGet(Model2Package.eINSTANCE.getTransientContainer_AttrBefore(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setAttrBefore(String newAttrBefore) + { + eSet(Model2Package.eINSTANCE.getTransientContainer_AttrBefore(), newAttrBefore); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public PersistentContainment getParent() + { + return (PersistentContainment)eGet(Model2Package.eINSTANCE.getTransientContainer_Parent(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setParent(PersistentContainment newParent) + { + eSet(Model2Package.eINSTANCE.getTransientContainer_Parent(), newParent); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getAttrAfter() + { + return (String)eGet(Model2Package.eINSTANCE.getTransientContainer_AttrAfter(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setAttrAfter(String newAttrAfter) + { + eSet(Model2Package.eINSTANCE.getTransientContainer_AttrAfter(), newAttrAfter); + } + +} // TransientContainerImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java index dda3939c5a..137138b55d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java @@ -1,518 +1,518 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.Unsettable1;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import java.util.Date;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Unsettable1</b></em>'. <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#isUnsettableBoolean <em>Unsettable Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableByte <em>Unsettable Byte</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableChar <em>Unsettable Char</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableDate <em>Unsettable Date</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableDouble <em>Unsettable Double</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableFloat <em>Unsettable Float</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableInt <em>Unsettable Int</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableLong <em>Unsettable Long</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableShort <em>Unsettable Short</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableString <em>Unsettable String</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableVAT <em>Unsettable VAT</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Unsettable1Impl extends CDOObjectImpl implements Unsettable1
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected Unsettable1Impl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getUnsettable1();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isUnsettableBoolean()
- {
- return (Boolean)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableBoolean(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableBoolean(boolean newUnsettableBoolean)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableBoolean(), newUnsettableBoolean);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableBoolean()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableBoolean());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableBoolean()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableBoolean());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public byte getUnsettableByte()
- {
- return (Byte)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableByte(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableByte(byte newUnsettableByte)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableByte(), newUnsettableByte);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableByte()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableByte());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableByte()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableByte());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public char getUnsettableChar()
- {
- return (Character)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableChar(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableChar(char newUnsettableChar)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableChar(), newUnsettableChar);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableChar()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableChar());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableChar()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableChar());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Date getUnsettableDate()
- {
- return (Date)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDate(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableDate(Date newUnsettableDate)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDate(), newUnsettableDate);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableDate()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableDate());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableDate()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDate());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public double getUnsettableDouble()
- {
- return (Double)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDouble(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableDouble(double newUnsettableDouble)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDouble(), newUnsettableDouble);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableDouble()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableDouble());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableDouble()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDouble());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public float getUnsettableFloat()
- {
- return (Float)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableFloat(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableFloat(float newUnsettableFloat)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableFloat(), newUnsettableFloat);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableFloat()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableFloat());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableFloat()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableFloat());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getUnsettableInt()
- {
- return (Integer)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableInt(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableInt(int newUnsettableInt)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableInt(), newUnsettableInt);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableInt()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableInt());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableInt()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableInt());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public long getUnsettableLong()
- {
- return (Long)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableLong(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableLong(long newUnsettableLong)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableLong(), newUnsettableLong);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableLong()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableLong());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableLong()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableLong());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public short getUnsettableShort()
- {
- return (Short)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableShort(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableShort(short newUnsettableShort)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableShort(), newUnsettableShort);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableShort()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableShort());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableShort()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableShort());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getUnsettableString()
- {
- return (String)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableString(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableString(String newUnsettableString)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableString(), newUnsettableString);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableString()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableString());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableString()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableString());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getUnsettableVAT()
- {
- return (VAT)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableVAT(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableVAT(VAT newUnsettableVAT)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableVAT(), newUnsettableVAT);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableVAT()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableVAT());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableVAT()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableVAT());
- }
-
-} // Unsettable1Impl
+/* + * 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.VAT; +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.Unsettable1; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.ecore.EClass; + +import java.util.Date; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Unsettable1</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#isUnsettableBoolean <em>Unsettable Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableByte <em>Unsettable Byte</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableChar <em>Unsettable Char</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableDate <em>Unsettable Date</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableDouble <em>Unsettable Double</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableFloat <em>Unsettable Float</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableInt <em>Unsettable Int</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableLong <em>Unsettable Long</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableShort <em>Unsettable Short</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableString <em>Unsettable String</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableVAT <em>Unsettable VAT</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class Unsettable1Impl extends CDOObjectImpl implements Unsettable1 +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected Unsettable1Impl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getUnsettable1(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isUnsettableBoolean() + { + return (Boolean)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableBoolean(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableBoolean(boolean newUnsettableBoolean) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableBoolean(), newUnsettableBoolean); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableBoolean() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableBoolean()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableBoolean() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableBoolean()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public byte getUnsettableByte() + { + return (Byte)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableByte(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableByte(byte newUnsettableByte) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableByte(), newUnsettableByte); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableByte() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableByte()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableByte() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableByte()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public char getUnsettableChar() + { + return (Character)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableChar(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableChar(char newUnsettableChar) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableChar(), newUnsettableChar); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableChar() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableChar()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableChar() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableChar()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Date getUnsettableDate() + { + return (Date)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDate(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableDate(Date newUnsettableDate) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDate(), newUnsettableDate); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableDate() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableDate()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableDate() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDate()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public double getUnsettableDouble() + { + return (Double)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDouble(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableDouble(double newUnsettableDouble) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDouble(), newUnsettableDouble); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableDouble() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableDouble()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableDouble() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableDouble()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public float getUnsettableFloat() + { + return (Float)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableFloat(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableFloat(float newUnsettableFloat) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableFloat(), newUnsettableFloat); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableFloat() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableFloat()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableFloat() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableFloat()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public int getUnsettableInt() + { + return (Integer)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableInt(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableInt(int newUnsettableInt) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableInt(), newUnsettableInt); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableInt() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableInt()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableInt() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableInt()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public long getUnsettableLong() + { + return (Long)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableLong(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableLong(long newUnsettableLong) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableLong(), newUnsettableLong); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableLong() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableLong()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableLong() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableLong()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public short getUnsettableShort() + { + return (Short)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableShort(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableShort(short newUnsettableShort) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableShort(), newUnsettableShort); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableShort() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableShort()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableShort() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableShort()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getUnsettableString() + { + return (String)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableString(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableString(String newUnsettableString) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableString(), newUnsettableString); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableString() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableString()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableString() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableString()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getUnsettableVAT() + { + return (VAT)eGet(Model2Package.eINSTANCE.getUnsettable1_UnsettableVAT(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableVAT(VAT newUnsettableVAT) + { + eSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableVAT(), newUnsettableVAT); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableVAT() + { + eUnset(Model2Package.eINSTANCE.getUnsettable1_UnsettableVAT()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableVAT() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable1_UnsettableVAT()); + } + +} // Unsettable1Impl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java index 16ecf14c65..79be7260c4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java @@ -1,530 +1,530 @@ -/*
- * 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.model2.impl;
-
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
-
-import org.eclipse.emf.internal.cdo.CDOObjectImpl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import java.util.Date;
-
-/**
- * <!-- begin-user-doc --> An implementation of the model object '<em><b>Unsettable2 With Default</b></em>'. <!--
- * end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#isUnsettableBoolean <em>Unsettable
- * Boolean</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableByte <em>Unsettable Byte
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableChar <em>Unsettable Char
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDate <em>Unsettable Date
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDouble <em>Unsettable Double
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableFloat <em>Unsettable Float
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableInt <em>Unsettable Int</em>}
- * </li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableLong <em>Unsettable Long
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableShort <em>Unsettable Short
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableString <em>Unsettable String
- * </em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableVAT <em>Unsettable VAT</em>}
- * </li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Unsettable2WithDefaultImpl extends CDOObjectImpl implements Unsettable2WithDefault
-{
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected Unsettable2WithDefaultImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return Model2Package.eINSTANCE.getUnsettable2WithDefault();
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected int eStaticFeatureCount()
- {
- return 0;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isUnsettableBoolean()
- {
- return (Boolean)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableBoolean(boolean newUnsettableBoolean)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean(), newUnsettableBoolean);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableBoolean()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableBoolean()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public byte getUnsettableByte()
- {
- return (Byte)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableByte(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableByte(byte newUnsettableByte)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableByte(), newUnsettableByte);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableByte()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableByte());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableByte()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableByte());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public char getUnsettableChar()
- {
- return (Character)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableChar(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableChar(char newUnsettableChar)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableChar(), newUnsettableChar);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableChar()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableChar());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableChar()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableChar());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Date getUnsettableDate()
- {
- return (Date)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDate(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableDate(Date newUnsettableDate)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDate(), newUnsettableDate);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableDate()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDate());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableDate()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDate());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public double getUnsettableDouble()
- {
- return (Double)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDouble(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableDouble(double newUnsettableDouble)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDouble(), newUnsettableDouble);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableDouble()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDouble());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableDouble()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDouble());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public float getUnsettableFloat()
- {
- return (Float)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableFloat(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableFloat(float newUnsettableFloat)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableFloat(), newUnsettableFloat);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableFloat()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableFloat());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableFloat()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableFloat());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public int getUnsettableInt()
- {
- return (Integer)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableInt(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableInt(int newUnsettableInt)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableInt(), newUnsettableInt);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableInt()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableInt());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableInt()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableInt());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public long getUnsettableLong()
- {
- return (Long)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableLong(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableLong(long newUnsettableLong)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableLong(), newUnsettableLong);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableLong()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableLong());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableLong()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableLong());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public short getUnsettableShort()
- {
- return (Short)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableShort(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableShort(short newUnsettableShort)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableShort(), newUnsettableShort);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableShort()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableShort());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableShort()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableShort());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public String getUnsettableString()
- {
- return (String)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableString(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableString(String newUnsettableString)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableString(), newUnsettableString);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableString()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableString());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableString()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableString());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public VAT getUnsettableVAT()
- {
- return (VAT)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableVAT(), true);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUnsettableVAT(VAT newUnsettableVAT)
- {
- eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableVAT(), newUnsettableVAT);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public void unsetUnsettableVAT()
- {
- eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableVAT());
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSetUnsettableVAT()
- {
- return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableVAT());
- }
-
-} // Unsettable2WithDefaultImpl
+/* + * 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.model2.impl; + +import org.eclipse.emf.cdo.tests.model1.VAT; +import org.eclipse.emf.cdo.tests.model2.Model2Package; +import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault; + +import org.eclipse.emf.internal.cdo.CDOObjectImpl; + +import org.eclipse.emf.ecore.EClass; + +import java.util.Date; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Unsettable2 With Default</b></em>'. <!-- + * end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#isUnsettableBoolean <em>Unsettable + * Boolean</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableByte <em>Unsettable Byte + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableChar <em>Unsettable Char + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDate <em>Unsettable Date + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDouble <em>Unsettable Double + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableFloat <em>Unsettable Float + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableInt <em>Unsettable Int</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableLong <em>Unsettable Long + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableShort <em>Unsettable Short + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableString <em>Unsettable String + * </em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableVAT <em>Unsettable VAT</em>} + * </li> + * </ul> + * </p> + * + * @generated + */ +public class Unsettable2WithDefaultImpl extends CDOObjectImpl implements Unsettable2WithDefault +{ + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected Unsettable2WithDefaultImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return Model2Package.eINSTANCE.getUnsettable2WithDefault(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected int eStaticFeatureCount() + { + return 0; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isUnsettableBoolean() + { + return (Boolean)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableBoolean(boolean newUnsettableBoolean) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean(), newUnsettableBoolean); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableBoolean() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableBoolean() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public byte getUnsettableByte() + { + return (Byte)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableByte(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableByte(byte newUnsettableByte) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableByte(), newUnsettableByte); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableByte() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableByte()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableByte() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableByte()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public char getUnsettableChar() + { + return (Character)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableChar(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableChar(char newUnsettableChar) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableChar(), newUnsettableChar); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableChar() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableChar()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableChar() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableChar()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Date getUnsettableDate() + { + return (Date)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDate(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableDate(Date newUnsettableDate) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDate(), newUnsettableDate); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableDate() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDate()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableDate() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDate()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public double getUnsettableDouble() + { + return (Double)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDouble(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableDouble(double newUnsettableDouble) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDouble(), newUnsettableDouble); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableDouble() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDouble()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableDouble() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableDouble()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public float getUnsettableFloat() + { + return (Float)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableFloat(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableFloat(float newUnsettableFloat) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableFloat(), newUnsettableFloat); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableFloat() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableFloat()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableFloat() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableFloat()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public int getUnsettableInt() + { + return (Integer)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableInt(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableInt(int newUnsettableInt) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableInt(), newUnsettableInt); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableInt() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableInt()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableInt() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableInt()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public long getUnsettableLong() + { + return (Long)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableLong(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableLong(long newUnsettableLong) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableLong(), newUnsettableLong); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableLong() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableLong()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableLong() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableLong()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public short getUnsettableShort() + { + return (Short)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableShort(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableShort(short newUnsettableShort) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableShort(), newUnsettableShort); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableShort() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableShort()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableShort() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableShort()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getUnsettableString() + { + return (String)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableString(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableString(String newUnsettableString) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableString(), newUnsettableString); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableString() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableString()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableString() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableString()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public VAT getUnsettableVAT() + { + return (VAT)eGet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableVAT(), true); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setUnsettableVAT(VAT newUnsettableVAT) + { + eSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableVAT(), newUnsettableVAT); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetUnsettableVAT() + { + eUnset(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableVAT()); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetUnsettableVAT() + { + return eIsSet(Model2Package.eINSTANCE.getUnsettable2WithDefault_UnsettableVAT()); + } + +} // Unsettable2WithDefaultImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java index 9fa7bf0dd9..911e43cc38 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java @@ -1,577 +1,577 @@ -/*
- * 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.model2.util;
-
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model1.Order;
-import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
-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.Model2Package;
-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.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-
-import java.util.Map;
-
-/**
- * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
- * method for each class of the model. <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package
- * @generated
- */
-public class Model2AdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected static Model2Package modelPackage;
-
- /**
- * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Model2AdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = Model2Package.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
- * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
- * end-user-doc -->
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected Model2Switch<Adapter> modelSwitch = new Model2Switch<Adapter>()
- {
- @Override
- public Adapter caseSpecialPurchaseOrder(SpecialPurchaseOrder object)
- {
- return createSpecialPurchaseOrderAdapter();
- }
-
- @Override
- public Adapter caseTaskContainer(TaskContainer object)
- {
- return createTaskContainerAdapter();
- }
-
- @Override
- public Adapter caseTask(Task object)
- {
- return createTaskAdapter();
- }
-
- @Override
- public Adapter caseUnsettable1(Unsettable1 object)
- {
- return createUnsettable1Adapter();
- }
-
- @Override
- public Adapter caseUnsettable2WithDefault(Unsettable2WithDefault object)
- {
- return createUnsettable2WithDefaultAdapter();
- }
-
- @Override
- public Adapter casePersistentContainment(PersistentContainment object)
- {
- return createPersistentContainmentAdapter();
- }
-
- @Override
- public Adapter caseTransientContainer(TransientContainer object)
- {
- return createTransientContainerAdapter();
- }
-
- @Override
- public Adapter caseNotUnsettable(NotUnsettable object)
- {
- return createNotUnsettableAdapter();
- }
-
- @Override
- public Adapter caseNotUnsettableWithDefault(NotUnsettableWithDefault object)
- {
- return createNotUnsettableWithDefaultAdapter();
- }
-
- @Override
- public Adapter caseMapHolder(MapHolder object)
- {
- return createMapHolderAdapter();
- }
-
- @Override
- public Adapter caseStringToStringMap(Map.Entry<String, String> object)
- {
- return createStringToStringMapAdapter();
- }
-
- @Override
- public Adapter caseIntegerToStringMap(Map.Entry<Integer, String> object)
- {
- return createIntegerToStringMapAdapter();
- }
-
- @Override
- public Adapter caseStringToVATMap(Map.Entry<String, VAT> object)
- {
- return createStringToVATMapAdapter();
- }
-
- @Override
- public Adapter caseStringToAddressContainmentMap(Map.Entry<String, Address> object)
- {
- return createStringToAddressContainmentMapAdapter();
- }
-
- @Override
- public Adapter caseStringToAddressReferenceMap(Map.Entry<String, Address> object)
- {
- return createStringToAddressReferenceMapAdapter();
- }
-
- @Override
- public Adapter caseEObjectToEObjectMap(Map.Entry<EObject, EObject> object)
- {
- return createEObjectToEObjectMapAdapter();
- }
-
- @Override
- public Adapter caseEObjectToEObjectKeyContainedMap(Map.Entry<EObject, EObject> object)
- {
- return createEObjectToEObjectKeyContainedMapAdapter();
- }
-
- @Override
- public Adapter caseEObjectToEObjectBothContainedMap(Map.Entry<EObject, EObject> object)
- {
- return createEObjectToEObjectBothContainedMapAdapter();
- }
-
- @Override
- public Adapter caseEObjectToEObjectValueContainedMap(Map.Entry<EObject, EObject> object)
- {
- return createEObjectToEObjectValueContainedMapAdapter();
- }
-
- @Override
- public Adapter caseEnumListHolder(EnumListHolder object)
- {
- return createEnumListHolderAdapter();
- }
-
- @Override
- public Adapter caseOrder(Order object)
- {
- return createOrderAdapter();
- }
-
- @Override
- public Adapter casePurchaseOrder(PurchaseOrder object)
- {
- return createPurchaseOrderAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder
- * <em>Special Purchase Order</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
- * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
- * end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder
- * @generated
- */
- public Adapter createSpecialPurchaseOrderAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer
- * <em>Task Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
- * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.TaskContainer
- * @generated
- */
- public Adapter createTaskContainerAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.Task <em>Task</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.Task
- * @generated
- */
- public Adapter createTaskAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1
- * <em>Unsettable1</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
- * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.Unsettable1
- * @generated
- */
- public Adapter createUnsettable1Adapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault
- * <em>Unsettable2 With Default</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
- * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
- * end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault
- * @generated
- */
- public Adapter createUnsettable2WithDefaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment
- * <em>Persistent Containment</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
- * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
- * end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.PersistentContainment
- * @generated
- */
- public Adapter createPersistentContainmentAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.TransientContainer
- * <em>Transient Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
- * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
- * end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.TransientContainer
- * @generated
- */
- public Adapter createTransientContainerAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable
- * <em>Not Unsettable</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
- * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable
- * @generated
- */
- public Adapter createNotUnsettableAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault
- * <em>Not Unsettable With Default</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
- * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
- * end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault
- * @generated
- */
- public Adapter createNotUnsettableWithDefaultAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.MapHolder
- * <em>Map Holder</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
- * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.MapHolder
- * @generated
- */
- public Adapter createMapHolderAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>String To String Map</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createStringToStringMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>Integer To String Map</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createIntegerToStringMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>String To VAT Map</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createStringToVATMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry
- * <em>String To Address Containment Map</em>}'. <!-- begin-user-doc --> This default implementation returns null so
- * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createStringToAddressContainmentMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>String To Address Reference Map</em>}
- * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
- * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createStringToAddressReferenceMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>EObject To EObject Map</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createEObjectToEObjectMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry
- * <em>EObject To EObject Key Contained Map</em>}'. <!-- begin-user-doc --> This default implementation returns null
- * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createEObjectToEObjectKeyContainedMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry
- * <em>EObject To EObject Both Contained Map</em>}'. <!-- begin-user-doc --> This default implementation returns null
- * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createEObjectToEObjectBothContainedMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link java.util.Map.Entry
- * <em>EObject To EObject Value Contained Map</em>}'. <!-- begin-user-doc --> This default implementation returns null
- * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see java.util.Map.Entry
- * @generated
- */
- public Adapter createEObjectToEObjectValueContainedMapAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.EnumListHolder
- * <em>Enum List Holder</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
- * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model2.EnumListHolder
- * @generated
- */
- public Adapter createEnumListHolderAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Order <em>Order</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
- * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model1.Order
- * @generated
- */
- public Adapter createOrderAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder
- * <em>Purchase Order</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
- * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder
- * @generated
- */
- public Adapter createPurchaseOrderAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
- * end-user-doc -->
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} // Model2AdapterFactory
+/* + * 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.model2.util; + +import org.eclipse.emf.cdo.tests.model1.Address; +import org.eclipse.emf.cdo.tests.model1.Order; +import org.eclipse.emf.cdo.tests.model1.PurchaseOrder; +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.Model2Package; +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.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; +import org.eclipse.emf.ecore.EObject; + +import java.util.Map; + +/** + * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code> + * method for each class of the model. <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package + * @generated + */ +public class Model2AdapterFactory extends AdapterFactoryImpl +{ + /** + * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected static Model2Package modelPackage; + + /** + * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Model2AdapterFactory() + { + if (modelPackage == null) + { + modelPackage = Model2Package.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation + * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!-- + * end-user-doc --> + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) + { + if (object == modelPackage) + { + return true; + } + if (object instanceof EObject) + { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected Model2Switch<Adapter> modelSwitch = new Model2Switch<Adapter>() + { + @Override + public Adapter caseSpecialPurchaseOrder(SpecialPurchaseOrder object) + { + return createSpecialPurchaseOrderAdapter(); + } + + @Override + public Adapter caseTaskContainer(TaskContainer object) + { + return createTaskContainerAdapter(); + } + + @Override + public Adapter caseTask(Task object) + { + return createTaskAdapter(); + } + + @Override + public Adapter caseUnsettable1(Unsettable1 object) + { + return createUnsettable1Adapter(); + } + + @Override + public Adapter caseUnsettable2WithDefault(Unsettable2WithDefault object) + { + return createUnsettable2WithDefaultAdapter(); + } + + @Override + public Adapter casePersistentContainment(PersistentContainment object) + { + return createPersistentContainmentAdapter(); + } + + @Override + public Adapter caseTransientContainer(TransientContainer object) + { + return createTransientContainerAdapter(); + } + + @Override + public Adapter caseNotUnsettable(NotUnsettable object) + { + return createNotUnsettableAdapter(); + } + + @Override + public Adapter caseNotUnsettableWithDefault(NotUnsettableWithDefault object) + { + return createNotUnsettableWithDefaultAdapter(); + } + + @Override + public Adapter caseMapHolder(MapHolder object) + { + return createMapHolderAdapter(); + } + + @Override + public Adapter caseStringToStringMap(Map.Entry<String, String> object) + { + return createStringToStringMapAdapter(); + } + + @Override + public Adapter caseIntegerToStringMap(Map.Entry<Integer, String> object) + { + return createIntegerToStringMapAdapter(); + } + + @Override + public Adapter caseStringToVATMap(Map.Entry<String, VAT> object) + { + return createStringToVATMapAdapter(); + } + + @Override + public Adapter caseStringToAddressContainmentMap(Map.Entry<String, Address> object) + { + return createStringToAddressContainmentMapAdapter(); + } + + @Override + public Adapter caseStringToAddressReferenceMap(Map.Entry<String, Address> object) + { + return createStringToAddressReferenceMapAdapter(); + } + + @Override + public Adapter caseEObjectToEObjectMap(Map.Entry<EObject, EObject> object) + { + return createEObjectToEObjectMapAdapter(); + } + + @Override + public Adapter caseEObjectToEObjectKeyContainedMap(Map.Entry<EObject, EObject> object) + { + return createEObjectToEObjectKeyContainedMapAdapter(); + } + + @Override + public Adapter caseEObjectToEObjectBothContainedMap(Map.Entry<EObject, EObject> object) + { + return createEObjectToEObjectBothContainedMapAdapter(); + } + + @Override + public Adapter caseEObjectToEObjectValueContainedMap(Map.Entry<EObject, EObject> object) + { + return createEObjectToEObjectValueContainedMapAdapter(); + } + + @Override + public Adapter caseEnumListHolder(EnumListHolder object) + { + return createEnumListHolderAdapter(); + } + + @Override + public Adapter caseOrder(Order object) + { + return createOrderAdapter(); + } + + @Override + public Adapter casePurchaseOrder(PurchaseOrder object) + { + return createPurchaseOrderAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) + { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param target + * the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) + { + return modelSwitch.doSwitch((EObject)target); + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder + * <em>Special Purchase Order</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- + * end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder + * @generated + */ + public Adapter createSpecialPurchaseOrderAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer + * <em>Task Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily + * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.TaskContainer + * @generated + */ + public Adapter createTaskContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.Task <em>Task</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to + * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.Task + * @generated + */ + public Adapter createTaskAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1 + * <em>Unsettable1</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily + * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.Unsettable1 + * @generated + */ + public Adapter createUnsettable1Adapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault + * <em>Unsettable2 With Default</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- + * end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault + * @generated + */ + public Adapter createUnsettable2WithDefaultAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.PersistentContainment + * <em>Persistent Containment</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- + * end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.PersistentContainment + * @generated + */ + public Adapter createPersistentContainmentAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.TransientContainer + * <em>Transient Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- + * end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.TransientContainer + * @generated + */ + public Adapter createTransientContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable + * <em>Not Unsettable</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily + * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable + * @generated + */ + public Adapter createNotUnsettableAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault + * <em>Not Unsettable With Default</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- + * end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault + * @generated + */ + public Adapter createNotUnsettableWithDefaultAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.MapHolder + * <em>Map Holder</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily + * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.MapHolder + * @generated + */ + public Adapter createMapHolderAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>String To String Map</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to + * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createStringToStringMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>Integer To String Map</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to + * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createIntegerToStringMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>String To VAT Map</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to + * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createStringToVATMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry + * <em>String To Address Containment Map</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createStringToAddressContainmentMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>String To Address Reference Map</em>} + * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful + * to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createStringToAddressReferenceMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>EObject To EObject Map</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to + * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createEObjectToEObjectMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry + * <em>EObject To EObject Key Contained Map</em>}'. <!-- begin-user-doc --> This default implementation returns null + * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createEObjectToEObjectKeyContainedMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry + * <em>EObject To EObject Both Contained Map</em>}'. <!-- begin-user-doc --> This default implementation returns null + * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createEObjectToEObjectBothContainedMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry + * <em>EObject To EObject Value Contained Map</em>}'. <!-- begin-user-doc --> This default implementation returns null + * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see java.util.Map.Entry + * @generated + */ + public Adapter createEObjectToEObjectValueContainedMapAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.EnumListHolder + * <em>Enum List Holder</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily + * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model2.EnumListHolder + * @generated + */ + public Adapter createEnumListHolderAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Order <em>Order</em>}'. <!-- + * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to + * ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model1.Order + * @generated + */ + public Adapter createOrderAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder + * <em>Purchase Order</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily + * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder + * @generated + */ + public Adapter createPurchaseOrderAdapter() + { + return null; + } + + /** + * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!-- + * end-user-doc --> + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() + { + return null; + } + +} // Model2AdapterFactory diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java index 9a3dec7353..2e3bbf139d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java @@ -1,646 +1,646 @@ -/*
- * 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.model2.util;
-
-import org.eclipse.emf.cdo.tests.model1.Address;
-import org.eclipse.emf.cdo.tests.model1.Order;
-import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
-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.Model2Package;
-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 java.util.List;
-import java.util.Map;
-
-/**
- * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call
- * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
- * returned, which is the result of the switch. <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.cdo.tests.model2.Model2Package
- * @generated
- */
-public class Model2Switch<T>
-{
- /**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- protected static Model2Package modelPackage;
-
- /**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
- public Model2Switch()
- {
- if (modelPackage == null)
- {
- modelPackage = Model2Package.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public T doSwitch(EObject theEObject)
- {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(EClass theEClass, EObject theEObject)
- {
- if (theEClass.eContainer() == modelPackage)
- {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else
- {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case Model2Package.SPECIAL_PURCHASE_ORDER:
- {
- SpecialPurchaseOrder specialPurchaseOrder = (SpecialPurchaseOrder)theEObject;
- T result = caseSpecialPurchaseOrder(specialPurchaseOrder);
- if (result == null)
- result = casePurchaseOrder(specialPurchaseOrder);
- if (result == null)
- result = caseOrder(specialPurchaseOrder);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.TASK_CONTAINER:
- {
- TaskContainer taskContainer = (TaskContainer)theEObject;
- T result = caseTaskContainer(taskContainer);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.TASK:
- {
- Task task = (Task)theEObject;
- T result = caseTask(task);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.UNSETTABLE1:
- {
- Unsettable1 unsettable1 = (Unsettable1)theEObject;
- T result = caseUnsettable1(unsettable1);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.UNSETTABLE2_WITH_DEFAULT:
- {
- Unsettable2WithDefault unsettable2WithDefault = (Unsettable2WithDefault)theEObject;
- T result = caseUnsettable2WithDefault(unsettable2WithDefault);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.PERSISTENT_CONTAINMENT:
- {
- PersistentContainment persistentContainment = (PersistentContainment)theEObject;
- T result = casePersistentContainment(persistentContainment);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.TRANSIENT_CONTAINER:
- {
- TransientContainer transientContainer = (TransientContainer)theEObject;
- T result = caseTransientContainer(transientContainer);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.NOT_UNSETTABLE:
- {
- NotUnsettable notUnsettable = (NotUnsettable)theEObject;
- T result = caseNotUnsettable(notUnsettable);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT:
- {
- NotUnsettableWithDefault notUnsettableWithDefault = (NotUnsettableWithDefault)theEObject;
- T result = caseNotUnsettableWithDefault(notUnsettableWithDefault);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.MAP_HOLDER:
- {
- MapHolder mapHolder = (MapHolder)theEObject;
- T result = caseMapHolder(mapHolder);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.STRING_TO_STRING_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<String, String> stringToStringMap = (Map.Entry<String, String>)theEObject;
- T result = caseStringToStringMap(stringToStringMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.INTEGER_TO_STRING_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<Integer, String> integerToStringMap = (Map.Entry<Integer, String>)theEObject;
- T result = caseIntegerToStringMap(integerToStringMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.STRING_TO_VAT_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<String, VAT> stringToVATMap = (Map.Entry<String, VAT>)theEObject;
- T result = caseStringToVATMap(stringToVATMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<String, Address> stringToAddressContainmentMap = (Map.Entry<String, Address>)theEObject;
- T result = caseStringToAddressContainmentMap(stringToAddressContainmentMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<String, Address> stringToAddressReferenceMap = (Map.Entry<String, Address>)theEObject;
- T result = caseStringToAddressReferenceMap(stringToAddressReferenceMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.EOBJECT_TO_EOBJECT_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<EObject, EObject> eObjectToEObjectMap = (Map.Entry<EObject, EObject>)theEObject;
- T result = caseEObjectToEObjectMap(eObjectToEObjectMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<EObject, EObject> eObjectToEObjectKeyContainedMap = (Map.Entry<EObject, EObject>)theEObject;
- T result = caseEObjectToEObjectKeyContainedMap(eObjectToEObjectKeyContainedMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<EObject, EObject> eObjectToEObjectBothContainedMap = (Map.Entry<EObject, EObject>)theEObject;
- T result = caseEObjectToEObjectBothContainedMap(eObjectToEObjectBothContainedMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP:
- {
- @SuppressWarnings("unchecked")
- Map.Entry<EObject, EObject> eObjectToEObjectValueContainedMap = (Map.Entry<EObject, EObject>)theEObject;
- T result = caseEObjectToEObjectValueContainedMap(eObjectToEObjectValueContainedMap);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case Model2Package.ENUM_LIST_HOLDER:
- {
- EnumListHolder enumListHolder = (EnumListHolder)theEObject;
- T result = caseEnumListHolder(enumListHolder);
- if (result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Special Purchase Order</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Special Purchase Order</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseSpecialPurchaseOrder(SpecialPurchaseOrder object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Task Container</em>'. <!-- begin-user-doc -->
- * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Task Container</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTaskContainer(TaskContainer object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Task</em>'. <!-- begin-user-doc --> This
- * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Task</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTask(Task object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Unsettable1</em>'. <!-- begin-user-doc -->
- * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Unsettable1</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUnsettable1(Unsettable1 object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Unsettable2 With Default</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Unsettable2 With Default</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUnsettable2WithDefault(Unsettable2WithDefault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Persistent Containment</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Persistent Containment</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePersistentContainment(PersistentContainment object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Transient Container</em>'. <!-- begin-user-doc
- * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Transient Container</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTransientContainer(TransientContainer object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Not Unsettable</em>'. <!-- begin-user-doc -->
- * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Not Unsettable</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNotUnsettable(NotUnsettable object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Not Unsettable With Default</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Not Unsettable With Default</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNotUnsettableWithDefault(NotUnsettableWithDefault object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Map Holder</em>'. <!-- begin-user-doc --> This
- * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Map Holder</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMapHolder(MapHolder object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>String To String Map</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>String To String Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStringToStringMap(Map.Entry<String, String> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Integer To String Map</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Integer To String Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseIntegerToStringMap(Map.Entry<Integer, String> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>String To VAT Map</em>'. <!-- begin-user-doc
- * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>String To VAT Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStringToVATMap(Map.Entry<String, VAT> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>String To Address Containment Map</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>String To Address Containment Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStringToAddressContainmentMap(Map.Entry<String, Address> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>String To Address Reference Map</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>String To Address Reference Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStringToAddressReferenceMap(Map.Entry<String, Address> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject To EObject Map</em>'. <!--
- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
- * end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject To EObject Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEObjectToEObjectMap(Map.Entry<EObject, EObject> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject To EObject Key Contained Map</em>'.
- * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject To EObject Key Contained Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEObjectToEObjectKeyContainedMap(Map.Entry<EObject, EObject> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject To EObject Both Contained Map</em>'.
- * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject To EObject Both Contained Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEObjectToEObjectBothContainedMap(Map.Entry<EObject, EObject> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject To EObject Value Contained Map</em>'.
- * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject To EObject Value Contained Map</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEObjectToEObjectValueContainedMap(Map.Entry<EObject, EObject> object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Enum List Holder</em>'. <!-- begin-user-doc
- * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Enum List Holder</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEnumListHolder(EnumListHolder object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Order</em>'. <!-- begin-user-doc --> This
- * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Order</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOrder(Order object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Purchase Order</em>'. <!-- begin-user-doc -->
- * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Purchase Order</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePurchaseOrder(PurchaseOrder object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
- * implementation returns null; returning a non-null result will terminate the switch, but this is the last case
- * anyway. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} // Model2Switch
+/* + * 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.model2.util; + +import org.eclipse.emf.cdo.tests.model1.Address; +import org.eclipse.emf.cdo.tests.model1.Order; +import org.eclipse.emf.cdo.tests.model1.PurchaseOrder; +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.Model2Package; +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 java.util.List; +import java.util.Map; + +/** + * <!-- begin-user-doc --> The <b>Switch</b> for the model's inheritance hierarchy. It supports the call + * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is + * returned, which is the result of the switch. <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.model2.Model2Package + * @generated + */ +public class Model2Switch<T> +{ + /** + * The cached model package <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected static Model2Package modelPackage; + + /** + * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public Model2Switch() + { + if (modelPackage == null) + { + modelPackage = Model2Package.eINSTANCE; + } + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + public T doSwitch(EObject theEObject) + { + return doSwitch(theEObject.eClass(), theEObject); + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + protected T doSwitch(EClass theEClass, EObject theEObject) + { + if (theEClass.eContainer() == modelPackage) + { + return doSwitch(theEClass.getClassifierID(), theEObject); + } + else + { + List<EClass> eSuperTypes = theEClass.getESuperTypes(); + return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject); + } + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + protected T doSwitch(int classifierID, EObject theEObject) + { + switch (classifierID) + { + case Model2Package.SPECIAL_PURCHASE_ORDER: + { + SpecialPurchaseOrder specialPurchaseOrder = (SpecialPurchaseOrder)theEObject; + T result = caseSpecialPurchaseOrder(specialPurchaseOrder); + if (result == null) + result = casePurchaseOrder(specialPurchaseOrder); + if (result == null) + result = caseOrder(specialPurchaseOrder); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.TASK_CONTAINER: + { + TaskContainer taskContainer = (TaskContainer)theEObject; + T result = caseTaskContainer(taskContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.TASK: + { + Task task = (Task)theEObject; + T result = caseTask(task); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.UNSETTABLE1: + { + Unsettable1 unsettable1 = (Unsettable1)theEObject; + T result = caseUnsettable1(unsettable1); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.UNSETTABLE2_WITH_DEFAULT: + { + Unsettable2WithDefault unsettable2WithDefault = (Unsettable2WithDefault)theEObject; + T result = caseUnsettable2WithDefault(unsettable2WithDefault); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.PERSISTENT_CONTAINMENT: + { + PersistentContainment persistentContainment = (PersistentContainment)theEObject; + T result = casePersistentContainment(persistentContainment); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.TRANSIENT_CONTAINER: + { + TransientContainer transientContainer = (TransientContainer)theEObject; + T result = caseTransientContainer(transientContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.NOT_UNSETTABLE: + { + NotUnsettable notUnsettable = (NotUnsettable)theEObject; + T result = caseNotUnsettable(notUnsettable); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT: + { + NotUnsettableWithDefault notUnsettableWithDefault = (NotUnsettableWithDefault)theEObject; + T result = caseNotUnsettableWithDefault(notUnsettableWithDefault); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.MAP_HOLDER: + { + MapHolder mapHolder = (MapHolder)theEObject; + T result = caseMapHolder(mapHolder); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.STRING_TO_STRING_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<String, String> stringToStringMap = (Map.Entry<String, String>)theEObject; + T result = caseStringToStringMap(stringToStringMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.INTEGER_TO_STRING_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<Integer, String> integerToStringMap = (Map.Entry<Integer, String>)theEObject; + T result = caseIntegerToStringMap(integerToStringMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.STRING_TO_VAT_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<String, VAT> stringToVATMap = (Map.Entry<String, VAT>)theEObject; + T result = caseStringToVATMap(stringToVATMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.STRING_TO_ADDRESS_CONTAINMENT_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<String, Address> stringToAddressContainmentMap = (Map.Entry<String, Address>)theEObject; + T result = caseStringToAddressContainmentMap(stringToAddressContainmentMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.STRING_TO_ADDRESS_REFERENCE_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<String, Address> stringToAddressReferenceMap = (Map.Entry<String, Address>)theEObject; + T result = caseStringToAddressReferenceMap(stringToAddressReferenceMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.EOBJECT_TO_EOBJECT_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<EObject, EObject> eObjectToEObjectMap = (Map.Entry<EObject, EObject>)theEObject; + T result = caseEObjectToEObjectMap(eObjectToEObjectMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.EOBJECT_TO_EOBJECT_KEY_CONTAINED_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<EObject, EObject> eObjectToEObjectKeyContainedMap = (Map.Entry<EObject, EObject>)theEObject; + T result = caseEObjectToEObjectKeyContainedMap(eObjectToEObjectKeyContainedMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.EOBJECT_TO_EOBJECT_BOTH_CONTAINED_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<EObject, EObject> eObjectToEObjectBothContainedMap = (Map.Entry<EObject, EObject>)theEObject; + T result = caseEObjectToEObjectBothContainedMap(eObjectToEObjectBothContainedMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.EOBJECT_TO_EOBJECT_VALUE_CONTAINED_MAP: + { + @SuppressWarnings("unchecked") + Map.Entry<EObject, EObject> eObjectToEObjectValueContainedMap = (Map.Entry<EObject, EObject>)theEObject; + T result = caseEObjectToEObjectValueContainedMap(eObjectToEObjectValueContainedMap); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case Model2Package.ENUM_LIST_HOLDER: + { + EnumListHolder enumListHolder = (EnumListHolder)theEObject; + T result = caseEnumListHolder(enumListHolder); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Special Purchase Order</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Special Purchase Order</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSpecialPurchaseOrder(SpecialPurchaseOrder object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Task Container</em>'. <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Task Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTaskContainer(TaskContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Task</em>'. <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Task</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTask(Task object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Unsettable1</em>'. <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Unsettable1</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnsettable1(Unsettable1 object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Unsettable2 With Default</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Unsettable2 With Default</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnsettable2WithDefault(Unsettable2WithDefault object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Persistent Containment</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Persistent Containment</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePersistentContainment(PersistentContainment object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Transient Container</em>'. <!-- begin-user-doc + * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Transient Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTransientContainer(TransientContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Not Unsettable</em>'. <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Not Unsettable</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNotUnsettable(NotUnsettable object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Not Unsettable With Default</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Not Unsettable With Default</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNotUnsettableWithDefault(NotUnsettableWithDefault object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Map Holder</em>'. <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Map Holder</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMapHolder(MapHolder object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>String To String Map</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>String To String Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringToStringMap(Map.Entry<String, String> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Integer To String Map</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Integer To String Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerToStringMap(Map.Entry<Integer, String> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>String To VAT Map</em>'. <!-- begin-user-doc + * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>String To VAT Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringToVATMap(Map.Entry<String, VAT> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>String To Address Containment Map</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>String To Address Containment Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringToAddressContainmentMap(Map.Entry<String, Address> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>String To Address Reference Map</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>String To Address Reference Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringToAddressReferenceMap(Map.Entry<String, Address> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject To EObject Map</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject To EObject Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEObjectToEObjectMap(Map.Entry<EObject, EObject> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject To EObject Key Contained Map</em>'. + * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject To EObject Key Contained Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEObjectToEObjectKeyContainedMap(Map.Entry<EObject, EObject> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject To EObject Both Contained Map</em>'. + * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject To EObject Both Contained Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEObjectToEObjectBothContainedMap(Map.Entry<EObject, EObject> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject To EObject Value Contained Map</em>'. + * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject To EObject Value Contained Map</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEObjectToEObjectValueContainedMap(Map.Entry<EObject, EObject> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Enum List Holder</em>'. <!-- begin-user-doc + * --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Enum List Holder</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEnumListHolder(EnumListHolder object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Order</em>'. <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Order</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOrder(Order object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Purchase Order</em>'. <!-- begin-user-doc --> + * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Purchase Order</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePurchaseOrder(PurchaseOrder object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate the switch, but this is the last case + * anyway. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + public T defaultCase(EObject object) + { + return null; + } + +} // Model2Switch |