Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2010-02-26 04:06:21 -0500
committerMartin Fluegge2010-02-26 04:06:21 -0500
commitca6f1db57d70a3cfb282b2906fbe942cd3990919 (patch)
tree06ad10d69562a248895967586bc81f44338ba31d /plugins/org.eclipse.emf.cdo.tests.model2
parentc060b74d7ec2693229866470330f13bc1ba4af41 (diff)
downloadcdo-ca6f1db57d70a3cfb282b2906fbe942cd3990919.tar.gz
cdo-ca6f1db57d70a3cfb282b2906fbe942cd3990919.tar.xz
cdo-ca6f1db57d70a3cfb282b2906fbe942cd3990919.zip
[301300] Wrong implementation of eIsSet()
https://bugs.eclipse.org/bugs/show_bug.cgi?id=301300
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model2')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/model/model2.ecore39
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Factory.java18
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/Model2Package.java728
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2FactoryImpl.java28
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Model2PackageImpl.java356
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableImpl.java795
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableWithDefaultImpl.java800
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/PersistentContainmentImpl.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/TaskContainerImpl.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable1Impl.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/Unsettable2WithDefaultImpl.java4
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2AdapterFactory.java45
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2Switch.java55
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java16
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java727
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java346
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java368
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java4
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java28
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java356
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java309
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java312
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java43
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java53
24 files changed, 5424 insertions, 12 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.ecore b/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.ecore
index 3e775a5875..1621691080 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.ecore
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.ecore
@@ -64,7 +64,7 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
defaultValueLiteral="&quot;eike&quot;" unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableVAT" eType="ecore:EEnum ../../org.eclipse.emf.cdo.tests.model1/model/model1.ecore#//VAT"
- defaultValueLiteral="VAT15" unsettable="true"/>
+ defaultValueLiteral="vat15" unsettable="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="PersistentContainment">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBefore" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
@@ -79,4 +79,41 @@
transient="true" eOpposite="#//PersistentContainment/children"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="attrAfter" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="NotUnsettable">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableBoolean" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableByte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByte"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableChar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableDouble" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableFloat" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableInt" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableLong" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableShort" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EShort"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableVAT" eType="ecore:EEnum ../../org.eclipse.emf.cdo.tests.model1/model/model1.ecore#//VAT"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="NotUnsettableWithDefault">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableBoolean" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ defaultValueLiteral="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableByte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByte"
+ defaultValueLiteral="3"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableChar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar"
+ defaultValueLiteral="'x'"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"
+ defaultValueLiteral="1979-03-15T07:12:59"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableDouble" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
+ defaultValueLiteral="3.3"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableFloat" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"
+ defaultValueLiteral="4.4"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableInt" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ defaultValueLiteral="5"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableLong" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"
+ defaultValueLiteral="6"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableShort" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EShort"
+ defaultValueLiteral="7"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ defaultValueLiteral="&quot;eike&quot;"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="notUnsettableVAT" eType="ecore:EEnum ../../org.eclipse.emf.cdo.tests.model1/model/model1.ecore#//VAT"
+ defaultValueLiteral="vat15"/>
+ </eClassifiers>
</ecore:EPackage>
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 ea20fd7533..8016a780b8 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
@@ -10,6 +10,8 @@
*/
package org.eclipse.emf.cdo.tests.legacy.model2;
+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;
@@ -91,6 +93,22 @@ public interface Model2Factory extends org.eclipse.emf.cdo.tests.model2.Model2Fa
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 the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the package supported by this factory.
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 e43f5bcc2e..8681032301 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
@@ -496,6 +496,242 @@ public interface Model2Package extends org.eclipse.emf.cdo.tests.model2.Model2Pa
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;
+
+ /**
* 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 -->
*
@@ -972,6 +1208,290 @@ public interface Model2Package extends org.eclipse.emf.cdo.tests.model2.Model2Pa
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 factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the factory that creates the instances of the model.
@@ -1335,6 +1855,214 @@ public interface Model2Package extends org.eclipse.emf.cdo.tests.model2.Model2Pa
*/
EAttribute TRANSIENT_CONTAINER__ATTR_AFTER = eINSTANCE.getTransientContainer_AttrAfter();
+ /**
+ * The meta object literal 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
+ */
+ EClass NOT_UNSETTABLE = eINSTANCE.getNotUnsettable();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Boolean</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN = eINSTANCE.getNotUnsettable_NotUnsettableBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Byte</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE = eINSTANCE.getNotUnsettable_NotUnsettableByte();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Char</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR = eINSTANCE.getNotUnsettable_NotUnsettableChar();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Date</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_DATE = eINSTANCE.getNotUnsettable_NotUnsettableDate();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Double</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE = eINSTANCE.getNotUnsettable_NotUnsettableDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Float</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT = eINSTANCE.getNotUnsettable_NotUnsettableFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Int</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_INT = eINSTANCE.getNotUnsettable_NotUnsettableInt();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Long</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_LONG = eINSTANCE.getNotUnsettable_NotUnsettableLong();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Short</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT = eINSTANCE.getNotUnsettable_NotUnsettableShort();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable String</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_STRING = eINSTANCE.getNotUnsettable_NotUnsettableString();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable VAT</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_VAT = eINSTANCE.getNotUnsettable_NotUnsettableVAT();
+
+ /**
+ * The meta object literal 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
+ */
+ EClass NOT_UNSETTABLE_WITH_DEFAULT = eINSTANCE.getNotUnsettableWithDefault();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Boolean</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Byte</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableByte();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Char</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableChar();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Date</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableDate();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Double</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Float</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Int</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableInt();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Long</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableLong();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Short</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableShort();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable String</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableString();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable VAT</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableVAT();
+
}
} // Model2Package
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 82fb42ba2e..248f8a72b4 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
@@ -12,6 +12,8 @@ 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.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;
@@ -90,6 +92,10 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
return createPersistentContainment();
case Model2Package.TRANSIENT_CONTAINER:
return createTransientContainer();
+ case Model2Package.NOT_UNSETTABLE:
+ return createNotUnsettable();
+ case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT:
+ return createNotUnsettableWithDefault();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -177,6 +183,28 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
*
* @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 Model2Package getModel2Package()
{
return (Model2Package)getEPackage();
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 1331a2f517..41a47f86b3 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
@@ -13,6 +13,8 @@ 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.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;
@@ -84,6 +86,20 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
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;
+
+ /**
* 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>
@@ -566,6 +582,246 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
*
* @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 Model2Factory getModel2Factory()
{
return (Model2Factory)getEFactoryInstance();
@@ -640,6 +896,32 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
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);
}
/**
@@ -771,7 +1053,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
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,
+ 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);
@@ -799,6 +1081,78 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
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);
+
// Create resource
createResource(eNS_URI);
}
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
new file mode 100644
index 0000000000..9dfd8b3fb5
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableImpl.java
@@ -0,0 +1,795 @@
+/**
+ * Copyright (c) 2004 - 2010 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.1 2010-02-26 09:06:21 mfluegge 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.Literals.NOT_UNSETTABLE;
+ }
+
+ /**
+ * <!-- 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
new file mode 100644
index 0000000000..3cdee8d4b9
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/impl/NotUnsettableWithDefaultImpl.java
@@ -0,0 +1,800 @@
+/**
+ * Copyright (c) 2004 - 2010 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.1 2010-02-26 09:06:21 mfluegge 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.Literals.NOT_UNSETTABLE_WITH_DEFAULT;
+ }
+
+ /**
+ * <!-- 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 6505b90b65..287e04a9d6 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
@@ -10,7 +10,7 @@
*/
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
+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;
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 76f5ffdd14..132ea3e1bd 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
@@ -10,7 +10,7 @@
*/
package org.eclipse.emf.cdo.tests.legacy.model2.impl;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
+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;
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 66f01bef36..6f6df83448 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
@@ -10,8 +10,8 @@
*/
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.Model2Package;
import org.eclipse.emf.cdo.tests.model2.Unsettable1;
import org.eclipse.emf.common.notify.Notification;
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 b82f85a71a..85e52ba335 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
@@ -10,8 +10,8 @@
*/
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.Model2Package;
import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
import org.eclipse.emf.common.notify.Notification;
@@ -347,7 +347,7 @@ public class Unsettable2WithDefaultImpl extends EObjectImpl implements Unsettabl
* @generated
* @ordered
*/
- protected static final VAT UNSETTABLE_VAT_EDEFAULT = VAT.VAT0;
+ protected static final VAT UNSETTABLE_VAT_EDEFAULT = VAT.VAT15;
/**
* The cached value of the '{@link #getUnsettableVAT() <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2AdapterFactory.java
index d949e54b1e..832963cebb 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2AdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2AdapterFactory.java
@@ -10,9 +10,11 @@
*/
package org.eclipse.emf.cdo.tests.legacy.model2.util;
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
-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;
@@ -127,6 +129,18 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
@Override
+ public Adapter caseNotUnsettable(NotUnsettable object)
+ {
+ return createNotUnsettableAdapter();
+ }
+
+ @Override
+ public Adapter caseNotUnsettableWithDefault(NotUnsettableWithDefault object)
+ {
+ return createNotUnsettableWithDefaultAdapter();
+ }
+
+ @Override
public Adapter caseOrder(Order object)
{
return createOrderAdapter();
@@ -262,6 +276,35 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.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.legacy.model2.NotUnsettable
+ * @generated
+ */
+ public Adapter createNotUnsettableAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '
+ * {@link org.eclipse.emf.cdo.tests.legacy.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.legacy.model2.NotUnsettableWithDefault
+ * @generated
+ */
+ public Adapter createNotUnsettableWithDefaultAdapter()
+ {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.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 -->
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2Switch.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2Switch.java
index 7a6f6002a3..4aa4aba6a6 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/legacy/model2/util/Model2Switch.java
@@ -10,9 +10,11 @@
*/
package org.eclipse.emf.cdo.tests.legacy.model2.util;
+import org.eclipse.emf.cdo.tests.legacy.model2.Model2Package;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
-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;
@@ -178,6 +180,26 @@ public class Model2Switch<T>
}
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;
+ }
default:
return defaultCase(theEObject);
}
@@ -292,6 +314,37 @@ public class Model2Switch<T>
}
/**
+ * 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>Order</em>'. <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
*
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 6eab369233..f3504abddc 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
@@ -85,6 +85,22 @@ public interface Model2Factory extends EFactory
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 the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the package supported by this factory.
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 1d9fa14ceb..3254680cd9 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
@@ -497,6 +497,242 @@ public interface Model2Package extends EPackage
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;
+
+ /**
* 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 -->
*
@@ -960,6 +1196,290 @@ public interface Model2Package extends EPackage
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 factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the factory that creates the instances of the model.
@@ -1323,6 +1843,213 @@ public interface Model2Package extends EPackage
*/
EAttribute TRANSIENT_CONTAINER__ATTR_AFTER = eINSTANCE.getTransientContainer_AttrAfter();
+ /**
+ * The meta object literal 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
+ */
+ EClass NOT_UNSETTABLE = eINSTANCE.getNotUnsettable();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Boolean</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN = eINSTANCE.getNotUnsettable_NotUnsettableBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Byte</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE = eINSTANCE.getNotUnsettable_NotUnsettableByte();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Char</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR = eINSTANCE.getNotUnsettable_NotUnsettableChar();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Date</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_DATE = eINSTANCE.getNotUnsettable_NotUnsettableDate();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Double</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE = eINSTANCE.getNotUnsettable_NotUnsettableDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Float</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT = eINSTANCE.getNotUnsettable_NotUnsettableFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Int</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_INT = eINSTANCE.getNotUnsettable_NotUnsettableInt();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Long</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_LONG = eINSTANCE.getNotUnsettable_NotUnsettableLong();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Short</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT = eINSTANCE.getNotUnsettable_NotUnsettableShort();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable String</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_STRING = eINSTANCE.getNotUnsettable_NotUnsettableString();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable VAT</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_VAT = eINSTANCE.getNotUnsettable_NotUnsettableVAT();
+
+ /**
+ * The meta object literal 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
+ */
+ EClass NOT_UNSETTABLE_WITH_DEFAULT = eINSTANCE.getNotUnsettableWithDefault();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Boolean</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Byte</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableByte();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Char</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableChar();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Date</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableDate();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Double</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Float</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Int</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableInt();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Long</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableLong();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Short</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableShort();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable String</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableString();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable VAT</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableVAT();
+
}
} // 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
new file mode 100644
index 0000000000..db74ce8324
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java
@@ -0,0 +1,346 @@
+/**
+ * Copyright (c) 2004 - 2010 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.1 2010-02-26 09:06:21 mfluegge 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
new file mode 100644
index 0000000000..353532d0ec
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java
@@ -0,0 +1,368 @@
+/**
+ * Copyright (c) 2004 - 2010 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.1 2010-02-26 09:06:21 mfluegge 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/Unsettable2WithDefault.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java
index 24ee8bbd48..4bea097580 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
@@ -598,7 +598,7 @@ public interface Unsettable2WithDefault extends EObject
boolean isSetUnsettableString();
/**
- * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The default value is <code>"VAT15"</code>. The
+ * 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
@@ -612,7 +612,7 @@ public interface Unsettable2WithDefault extends EObject
* @see #unsetUnsettableVAT()
* @see #setUnsettableVAT(VAT)
* @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableVAT()
- * @model default="VAT15" unsettable="true"
+ * @model default="vat15" unsettable="true"
* @generated
*/
VAT getUnsettableVAT();
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 9e4877e632..11f69d3278 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
@@ -12,6 +12,8 @@ package org.eclipse.emf.cdo.tests.model2.impl;
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;
@@ -90,6 +92,10 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
return createPersistentContainment();
case Model2Package.TRANSIENT_CONTAINER:
return createTransientContainer();
+ case Model2Package.NOT_UNSETTABLE:
+ return createNotUnsettable();
+ case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT:
+ return createNotUnsettableWithDefault();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -177,6 +183,28 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
*
* @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 Model2Package getModel2Package()
{
return (Model2Package)getEPackage();
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 2df7a87c14..c7649a47bb 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
@@ -13,6 +13,8 @@ package org.eclipse.emf.cdo.tests.model2.impl;
import org.eclipse.emf.cdo.tests.model1.Model1Package;
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;
@@ -84,6 +86,20 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
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;
+
+ /**
* 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>
@@ -566,6 +582,246 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
*
* @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 Model2Factory getModel2Factory()
{
return (Model2Factory)getEFactoryInstance();
@@ -640,6 +896,32 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
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);
}
/**
@@ -771,7 +1053,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
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,
+ 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);
@@ -799,6 +1081,78 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
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);
+
// Create resource
createResource(eNS_URI);
}
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
new file mode 100644
index 0000000000..b71eeae2a5
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java
@@ -0,0 +1,309 @@
+/**
+ * Copyright (c) 2004 - 2010 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.1 2010-02-26 09:06:21 mfluegge 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.Literals.NOT_UNSETTABLE;
+ }
+
+ /**
+ * <!-- 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.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN, newNotUnsettableBoolean);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public byte getNotUnsettableByte()
+ {
+ return (Byte)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableByte(byte newNotUnsettableByte)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE, newNotUnsettableByte);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public char getNotUnsettableChar()
+ {
+ return (Character)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableChar(char newNotUnsettableChar)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR, newNotUnsettableChar);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Date getNotUnsettableDate()
+ {
+ return (Date)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDate(Date newNotUnsettableDate)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE, newNotUnsettableDate);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public double getNotUnsettableDouble()
+ {
+ return (Double)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDouble(double newNotUnsettableDouble)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE, newNotUnsettableDouble);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public float getNotUnsettableFloat()
+ {
+ return (Float)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableFloat(float newNotUnsettableFloat)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT, newNotUnsettableFloat);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getNotUnsettableInt()
+ {
+ return (Integer)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_INT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableInt(int newNotUnsettableInt)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_INT, newNotUnsettableInt);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public long getNotUnsettableLong()
+ {
+ return (Long)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableLong(long newNotUnsettableLong)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG, newNotUnsettableLong);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public short getNotUnsettableShort()
+ {
+ return (Short)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableShort(short newNotUnsettableShort)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT, newNotUnsettableShort);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getNotUnsettableString()
+ {
+ return (String)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableString(String newNotUnsettableString)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING, newNotUnsettableString);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VAT getNotUnsettableVAT()
+ {
+ return (VAT)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableVAT(VAT newNotUnsettableVAT)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT, 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
new file mode 100644
index 0000000000..0e9e13e80a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java
@@ -0,0 +1,312 @@
+/**
+ * Copyright (c) 2004 - 2010 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.1 2010-02-26 09:06:21 mfluegge 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.Literals.NOT_UNSETTABLE_WITH_DEFAULT;
+ }
+
+ /**
+ * <!-- 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.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN, newNotUnsettableBoolean);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public byte getNotUnsettableByte()
+ {
+ return (Byte)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableByte(byte newNotUnsettableByte)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE, newNotUnsettableByte);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public char getNotUnsettableChar()
+ {
+ return (Character)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableChar(char newNotUnsettableChar)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR, newNotUnsettableChar);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Date getNotUnsettableDate()
+ {
+ return (Date)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDate(Date newNotUnsettableDate)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE, newNotUnsettableDate);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public double getNotUnsettableDouble()
+ {
+ return (Double)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDouble(double newNotUnsettableDouble)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE, newNotUnsettableDouble);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public float getNotUnsettableFloat()
+ {
+ return (Float)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableFloat(float newNotUnsettableFloat)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT, newNotUnsettableFloat);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getNotUnsettableInt()
+ {
+ return (Integer)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableInt(int newNotUnsettableInt)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT, newNotUnsettableInt);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public long getNotUnsettableLong()
+ {
+ return (Long)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableLong(long newNotUnsettableLong)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG, newNotUnsettableLong);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public short getNotUnsettableShort()
+ {
+ return (Short)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableShort(short newNotUnsettableShort)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT, newNotUnsettableShort);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getNotUnsettableString()
+ {
+ return (String)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableString(String newNotUnsettableString)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING, newNotUnsettableString);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VAT getNotUnsettableVAT()
+ {
+ return (VAT)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableVAT(VAT newNotUnsettableVAT)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT, newNotUnsettableVAT);
+ }
+
+} // NotUnsettableWithDefaultImpl
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 2116893079..84ded140a0 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
@@ -13,6 +13,8 @@ package org.eclipse.emf.cdo.tests.model2.util;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
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;
@@ -127,6 +129,18 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
@Override
+ public Adapter caseNotUnsettable(NotUnsettable object)
+ {
+ return createNotUnsettableAdapter();
+ }
+
+ @Override
+ public Adapter caseNotUnsettableWithDefault(NotUnsettableWithDefault object)
+ {
+ return createNotUnsettableWithDefaultAdapter();
+ }
+
+ @Override
public Adapter caseOrder(Order object)
{
return createOrderAdapter();
@@ -262,6 +276,35 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
+ * 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.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 -->
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 9c92695916..3c8c165a84 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
@@ -13,6 +13,8 @@ package org.eclipse.emf.cdo.tests.model2.util;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
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;
@@ -178,6 +180,26 @@ public class Model2Switch<T>
}
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;
+ }
default:
return defaultCase(theEObject);
}
@@ -292,6 +314,37 @@ public class Model2Switch<T>
}
/**
+ * 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>Order</em>'. <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
*

Back to the top