Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-12-23 01:59:35 -0500
committerEike Stepper2009-12-23 01:59:35 -0500
commit4633b4c4c2f897ec9d52d6e9ef070d6f6f0aba7b (patch)
tree29d48fe43a422a07a8814fb933e0bc580bd9743f /plugins/org.eclipse.emf.cdo.tests.model2
parent21b873af4f4d4550af253a450f4d2745244bea1c (diff)
downloadcdo-4633b4c4c2f897ec9d52d6e9ef070d6f6f0aba7b.tar.gz
cdo-4633b4c4c2f897ec9d52d6e9ef070d6f6f0aba7b.tar.xz
cdo-4633b4c4c2f897ec9d52d6e9ef070d6f6f0aba7b.zip
[296450] isSet method returns incorrect value after load
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296450
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model2')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/model/model2.ecore48
-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.java685
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java641
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java657
-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.java354
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java518
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java530
-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.java49
11 files changed, 3569 insertions, 0 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 2a06d80ad0..49d1ac01e9 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.ecore
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/model/model2.ecore
@@ -18,4 +18,52 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="done" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Unsettable1">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableBoolean" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableByte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByte"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableChar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableDouble" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableFloat" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableInt" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableLong" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableShort" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EShort"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableVAT" eType="ecore:EEnum ../../org.eclipse.emf.cdo.tests.model1/model/model1.ecore#//VAT"
+ unsettable="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Unsettable2WithDefault">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableBoolean" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ defaultValueLiteral="true" unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableByte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByte"
+ defaultValueLiteral="3" unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableChar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar"
+ defaultValueLiteral="'x'" unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"
+ defaultValueLiteral="2009-12-21T15:12:59" unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableDouble" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
+ defaultValueLiteral="3.3" unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableFloat" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"
+ defaultValueLiteral="4.4" unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableInt" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ defaultValueLiteral="5" unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableLong" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"
+ defaultValueLiteral="6" unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettableShort" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EShort"
+ defaultValueLiteral="7" unsettable="true"/>
+ <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"/>
+ </eClassifiers>
</ecore:EPackage>
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 ec7ef67909..d2907bc69b 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
@@ -53,6 +53,22 @@ public interface Model2Factory extends EFactory
Task createTask();
/**
+ * Returns a new object of class '<em>Unsettable1</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Unsettable1</em>'.
+ * @generated
+ */
+ Unsettable1 createUnsettable1();
+
+ /**
+ * Returns a new object of class '<em>Unsettable2 With Default</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Unsettable2 With Default</em>'.
+ * @generated
+ */
+ Unsettable2WithDefault createUnsettable2WithDefault();
+
+ /**
* Returns 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 9cc2032a1c..1979116adc 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
@@ -194,6 +194,222 @@ public interface Model2Package extends EPackage
int TASK_FEATURE_COUNT = 3;
/**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl <em>Unsettable1</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getUnsettable1()
+ * @generated
+ */
+ int UNSETTABLE1 = 3;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_BOOLEAN = 0;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_BYTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_CHAR = 2;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_DATE = 3;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_DOUBLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_FLOAT = 5;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_INT = 6;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_LONG = 7;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_SHORT = 8;
+
+ /**
+ * The feature id for the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_STRING = 9;
+
+ /**
+ * The feature id for the '<em><b>Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1__UNSETTABLE_VAT = 10;
+
+ /**
+ * The number of structural features of the '<em>Unsettable1</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE1_FEATURE_COUNT = 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl
+ * <em>Unsettable2 With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getUnsettable2WithDefault()
+ * @generated
+ */
+ int UNSETTABLE2_WITH_DEFAULT = 4;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN = 0;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR = 2;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE = 3;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT = 5;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT = 6;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG = 7;
+
+ /**
+ * The feature id for the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT = 8;
+
+ /**
+ * The feature id for the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING = 9;
+
+ /**
+ * The feature id for the '<em><b>Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT = 10;
+
+ /**
+ * The number of structural features of the '<em>Unsettable2 With Default</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE2_WITH_DEFAULT_FEATURE_COUNT = 11;
+
+ /**
* 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 -->
*
@@ -293,6 +509,279 @@ public interface Model2Package extends EPackage
EAttribute getTask_Done();
/**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1 <em>Unsettable1</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Unsettable1</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1
+ * @generated
+ */
+ EClass getUnsettable1();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean
+ * <em>Unsettable Boolean</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableBoolean();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte
+ * <em>Unsettable Byte</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableByte();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar
+ * <em>Unsettable Char</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableChar();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate
+ * <em>Unsettable Date</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableDate();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble
+ * <em>Unsettable Double</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableDouble();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat
+ * <em>Unsettable Float</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableFloat();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt
+ * <em>Unsettable Int</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableInt();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong
+ * <em>Unsettable Long</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableLong();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort
+ * <em>Unsettable Short</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableShort();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString
+ * <em>Unsettable String</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable String</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableString();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT
+ * <em>Unsettable VAT</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable VAT</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT()
+ * @see #getUnsettable1()
+ * @generated
+ */
+ EAttribute getUnsettable1_UnsettableVAT();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault
+ * <em>Unsettable2 With Default</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Unsettable2 With Default</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault
+ * @generated
+ */
+ EClass getUnsettable2WithDefault();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean <em>Unsettable Boolean</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableBoolean();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte <em>Unsettable Byte</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableByte();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar <em>Unsettable Char</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableChar();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate <em>Unsettable Date</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableDate();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble <em>Unsettable Double</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableDouble();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableFloat();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt <em>Unsettable Int</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableInt();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong <em>Unsettable Long</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableLong();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableShort();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString <em>Unsettable String</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable String</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableString();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT <em>Unsettable VAT</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Unsettable VAT</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT()
+ * @see #getUnsettable2WithDefault()
+ * @generated
+ */
+ EAttribute getUnsettable2WithDefault_UnsettableVAT();
+
+ /**
* Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the factory that creates the instances of the model.
@@ -392,6 +881,202 @@ public interface Model2Package extends EPackage
*/
EAttribute TASK__DONE = eINSTANCE.getTask_Done();
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl
+ * <em>Unsettable1</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getUnsettable1()
+ * @generated
+ */
+ EClass UNSETTABLE1 = eINSTANCE.getUnsettable1();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Boolean</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_BOOLEAN = eINSTANCE.getUnsettable1_UnsettableBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Byte</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_BYTE = eINSTANCE.getUnsettable1_UnsettableByte();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Char</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_CHAR = eINSTANCE.getUnsettable1_UnsettableChar();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Date</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_DATE = eINSTANCE.getUnsettable1_UnsettableDate();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Double</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_DOUBLE = eINSTANCE.getUnsettable1_UnsettableDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Float</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_FLOAT = eINSTANCE.getUnsettable1_UnsettableFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Int</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_INT = eINSTANCE.getUnsettable1_UnsettableInt();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Long</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_LONG = eINSTANCE.getUnsettable1_UnsettableLong();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Short</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_SHORT = eINSTANCE.getUnsettable1_UnsettableShort();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable String</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_STRING = eINSTANCE.getUnsettable1_UnsettableString();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable VAT</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE1__UNSETTABLE_VAT = eINSTANCE.getUnsettable1_UnsettableVAT();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl
+ * <em>Unsettable2 With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getUnsettable2WithDefault()
+ * @generated
+ */
+ EClass UNSETTABLE2_WITH_DEFAULT = eINSTANCE.getUnsettable2WithDefault();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Boolean</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN = eINSTANCE.getUnsettable2WithDefault_UnsettableBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Byte</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE = eINSTANCE.getUnsettable2WithDefault_UnsettableByte();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Char</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR = eINSTANCE.getUnsettable2WithDefault_UnsettableChar();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Date</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE = eINSTANCE.getUnsettable2WithDefault_UnsettableDate();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Double</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE = eINSTANCE.getUnsettable2WithDefault_UnsettableDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Float</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT = eINSTANCE.getUnsettable2WithDefault_UnsettableFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Int</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT = eINSTANCE.getUnsettable2WithDefault_UnsettableInt();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Long</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG = eINSTANCE.getUnsettable2WithDefault_UnsettableLong();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable Short</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT = eINSTANCE.getUnsettable2WithDefault_UnsettableShort();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable String</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING = eINSTANCE.getUnsettable2WithDefault_UnsettableString();
+
+ /**
+ * The meta object literal for the '<em><b>Unsettable VAT</b></em>' attribute feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT = eINSTANCE.getUnsettable2WithDefault_UnsettableVAT();
+
}
} // Model2Package
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java
new file mode 100644
index 0000000000..7a15f16676
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable1.java
@@ -0,0 +1,641 @@
+/**
+ * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.tests.model2;
+
+import org.eclipse.emf.cdo.tests.model1.VAT;
+
+import org.eclipse.emf.ecore.EObject;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>Unsettable1</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean <em>Unsettable Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte <em>Unsettable Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar <em>Unsettable Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate <em>Unsettable Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble <em>Unsettable Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat <em>Unsettable Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt <em>Unsettable Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong <em>Unsettable Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort <em>Unsettable Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString <em>Unsettable String</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT <em>Unsettable VAT</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1()
+ * @model
+ * @generated
+ */
+public interface Unsettable1 extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Boolean</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Boolean</em>' attribute.
+ * @see #isSetUnsettableBoolean()
+ * @see #unsetUnsettableBoolean()
+ * @see #setUnsettableBoolean(boolean)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableBoolean()
+ * @model unsettable="true"
+ * @generated
+ */
+ boolean isUnsettableBoolean();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean
+ * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Boolean</em>' attribute.
+ * @see #isSetUnsettableBoolean()
+ * @see #unsetUnsettableBoolean()
+ * @see #isUnsettableBoolean()
+ * @generated
+ */
+ void setUnsettableBoolean(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean
+ * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableBoolean()
+ * @see #isUnsettableBoolean()
+ * @see #setUnsettableBoolean(boolean)
+ * @generated
+ */
+ void unsetUnsettableBoolean();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#isUnsettableBoolean
+ * <em>Unsettable Boolean</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Boolean</em>' attribute is set.
+ * @see #unsetUnsettableBoolean()
+ * @see #isUnsettableBoolean()
+ * @see #setUnsettableBoolean(boolean)
+ * @generated
+ */
+ boolean isSetUnsettableBoolean();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Byte</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Byte</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Byte</em>' attribute.
+ * @see #isSetUnsettableByte()
+ * @see #unsetUnsettableByte()
+ * @see #setUnsettableByte(byte)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableByte()
+ * @model unsettable="true"
+ * @generated
+ */
+ byte getUnsettableByte();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte
+ * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Byte</em>' attribute.
+ * @see #isSetUnsettableByte()
+ * @see #unsetUnsettableByte()
+ * @see #getUnsettableByte()
+ * @generated
+ */
+ void setUnsettableByte(byte value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte
+ * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableByte()
+ * @see #getUnsettableByte()
+ * @see #setUnsettableByte(byte)
+ * @generated
+ */
+ void unsetUnsettableByte();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableByte
+ * <em>Unsettable Byte</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Byte</em>' attribute is set.
+ * @see #unsetUnsettableByte()
+ * @see #getUnsettableByte()
+ * @see #setUnsettableByte(byte)
+ * @generated
+ */
+ boolean isSetUnsettableByte();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Char</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Char</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Char</em>' attribute.
+ * @see #isSetUnsettableChar()
+ * @see #unsetUnsettableChar()
+ * @see #setUnsettableChar(char)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableChar()
+ * @model unsettable="true"
+ * @generated
+ */
+ char getUnsettableChar();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar
+ * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Char</em>' attribute.
+ * @see #isSetUnsettableChar()
+ * @see #unsetUnsettableChar()
+ * @see #getUnsettableChar()
+ * @generated
+ */
+ void setUnsettableChar(char value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar
+ * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableChar()
+ * @see #getUnsettableChar()
+ * @see #setUnsettableChar(char)
+ * @generated
+ */
+ void unsetUnsettableChar();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableChar
+ * <em>Unsettable Char</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Char</em>' attribute is set.
+ * @see #unsetUnsettableChar()
+ * @see #getUnsettableChar()
+ * @see #setUnsettableChar(char)
+ * @generated
+ */
+ boolean isSetUnsettableChar();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Date</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Date</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Date</em>' attribute.
+ * @see #isSetUnsettableDate()
+ * @see #unsetUnsettableDate()
+ * @see #setUnsettableDate(Date)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableDate()
+ * @model unsettable="true"
+ * @generated
+ */
+ Date getUnsettableDate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate
+ * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Date</em>' attribute.
+ * @see #isSetUnsettableDate()
+ * @see #unsetUnsettableDate()
+ * @see #getUnsettableDate()
+ * @generated
+ */
+ void setUnsettableDate(Date value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate
+ * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableDate()
+ * @see #getUnsettableDate()
+ * @see #setUnsettableDate(Date)
+ * @generated
+ */
+ void unsetUnsettableDate();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDate
+ * <em>Unsettable Date</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Date</em>' attribute is set.
+ * @see #unsetUnsettableDate()
+ * @see #getUnsettableDate()
+ * @see #setUnsettableDate(Date)
+ * @generated
+ */
+ boolean isSetUnsettableDate();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Double</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Double</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Double</em>' attribute.
+ * @see #isSetUnsettableDouble()
+ * @see #unsetUnsettableDouble()
+ * @see #setUnsettableDouble(double)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableDouble()
+ * @model unsettable="true"
+ * @generated
+ */
+ double getUnsettableDouble();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble
+ * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Double</em>' attribute.
+ * @see #isSetUnsettableDouble()
+ * @see #unsetUnsettableDouble()
+ * @see #getUnsettableDouble()
+ * @generated
+ */
+ void setUnsettableDouble(double value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble
+ * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableDouble()
+ * @see #getUnsettableDouble()
+ * @see #setUnsettableDouble(double)
+ * @generated
+ */
+ void unsetUnsettableDouble();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableDouble
+ * <em>Unsettable Double</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Double</em>' attribute is set.
+ * @see #unsetUnsettableDouble()
+ * @see #getUnsettableDouble()
+ * @see #setUnsettableDouble(double)
+ * @generated
+ */
+ boolean isSetUnsettableDouble();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Float</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Float</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Float</em>' attribute.
+ * @see #isSetUnsettableFloat()
+ * @see #unsetUnsettableFloat()
+ * @see #setUnsettableFloat(float)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableFloat()
+ * @model unsettable="true"
+ * @generated
+ */
+ float getUnsettableFloat();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat
+ * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Float</em>' attribute.
+ * @see #isSetUnsettableFloat()
+ * @see #unsetUnsettableFloat()
+ * @see #getUnsettableFloat()
+ * @generated
+ */
+ void setUnsettableFloat(float value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat
+ * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableFloat()
+ * @see #getUnsettableFloat()
+ * @see #setUnsettableFloat(float)
+ * @generated
+ */
+ void unsetUnsettableFloat();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableFloat
+ * <em>Unsettable Float</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Float</em>' attribute is set.
+ * @see #unsetUnsettableFloat()
+ * @see #getUnsettableFloat()
+ * @see #setUnsettableFloat(float)
+ * @generated
+ */
+ boolean isSetUnsettableFloat();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Int</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Int</em>' attribute isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Int</em>' attribute.
+ * @see #isSetUnsettableInt()
+ * @see #unsetUnsettableInt()
+ * @see #setUnsettableInt(int)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableInt()
+ * @model unsettable="true"
+ * @generated
+ */
+ int getUnsettableInt();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt
+ * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Int</em>' attribute.
+ * @see #isSetUnsettableInt()
+ * @see #unsetUnsettableInt()
+ * @see #getUnsettableInt()
+ * @generated
+ */
+ void setUnsettableInt(int value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt
+ * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableInt()
+ * @see #getUnsettableInt()
+ * @see #setUnsettableInt(int)
+ * @generated
+ */
+ void unsetUnsettableInt();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableInt
+ * <em>Unsettable Int</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Int</em>' attribute is set.
+ * @see #unsetUnsettableInt()
+ * @see #getUnsettableInt()
+ * @see #setUnsettableInt(int)
+ * @generated
+ */
+ boolean isSetUnsettableInt();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Long</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Long</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Long</em>' attribute.
+ * @see #isSetUnsettableLong()
+ * @see #unsetUnsettableLong()
+ * @see #setUnsettableLong(long)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableLong()
+ * @model unsettable="true"
+ * @generated
+ */
+ long getUnsettableLong();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong
+ * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Long</em>' attribute.
+ * @see #isSetUnsettableLong()
+ * @see #unsetUnsettableLong()
+ * @see #getUnsettableLong()
+ * @generated
+ */
+ void setUnsettableLong(long value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong
+ * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableLong()
+ * @see #getUnsettableLong()
+ * @see #setUnsettableLong(long)
+ * @generated
+ */
+ void unsetUnsettableLong();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableLong
+ * <em>Unsettable Long</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Long</em>' attribute is set.
+ * @see #unsetUnsettableLong()
+ * @see #getUnsettableLong()
+ * @see #setUnsettableLong(long)
+ * @generated
+ */
+ boolean isSetUnsettableLong();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Short</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Short</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Short</em>' attribute.
+ * @see #isSetUnsettableShort()
+ * @see #unsetUnsettableShort()
+ * @see #setUnsettableShort(short)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableShort()
+ * @model unsettable="true"
+ * @generated
+ */
+ short getUnsettableShort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort
+ * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Short</em>' attribute.
+ * @see #isSetUnsettableShort()
+ * @see #unsetUnsettableShort()
+ * @see #getUnsettableShort()
+ * @generated
+ */
+ void setUnsettableShort(short value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort
+ * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableShort()
+ * @see #getUnsettableShort()
+ * @see #setUnsettableShort(short)
+ * @generated
+ */
+ void unsetUnsettableShort();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableShort
+ * <em>Unsettable Short</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Short</em>' attribute is set.
+ * @see #unsetUnsettableShort()
+ * @see #getUnsettableShort()
+ * @see #setUnsettableShort(short)
+ * @generated
+ */
+ boolean isSetUnsettableShort();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable String</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable String</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable String</em>' attribute.
+ * @see #isSetUnsettableString()
+ * @see #unsetUnsettableString()
+ * @see #setUnsettableString(String)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableString()
+ * @model unsettable="true"
+ * @generated
+ */
+ String getUnsettableString();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString
+ * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable String</em>' attribute.
+ * @see #isSetUnsettableString()
+ * @see #unsetUnsettableString()
+ * @see #getUnsettableString()
+ * @generated
+ */
+ void setUnsettableString(String value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString
+ * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableString()
+ * @see #getUnsettableString()
+ * @see #setUnsettableString(String)
+ * @generated
+ */
+ void unsetUnsettableString();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableString
+ * <em>Unsettable String</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable String</em>' attribute is set.
+ * @see #unsetUnsettableString()
+ * @see #getUnsettableString()
+ * @see #setUnsettableString(String)
+ * @generated
+ */
+ boolean isSetUnsettableString();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The literals are from the enumeration
+ * {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable VAT</em>' attribute isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable VAT</em>' attribute.
+ * @see org.eclipse.emf.cdo.tests.model1.VAT
+ * @see #isSetUnsettableVAT()
+ * @see #unsetUnsettableVAT()
+ * @see #setUnsettableVAT(VAT)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable1_UnsettableVAT()
+ * @model unsettable="true"
+ * @generated
+ */
+ VAT getUnsettableVAT();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT
+ * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable VAT</em>' attribute.
+ * @see org.eclipse.emf.cdo.tests.model1.VAT
+ * @see #isSetUnsettableVAT()
+ * @see #unsetUnsettableVAT()
+ * @see #getUnsettableVAT()
+ * @generated
+ */
+ void setUnsettableVAT(VAT value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT
+ * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableVAT()
+ * @see #getUnsettableVAT()
+ * @see #setUnsettableVAT(VAT)
+ * @generated
+ */
+ void unsetUnsettableVAT();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1#getUnsettableVAT
+ * <em>Unsettable VAT</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable VAT</em>' attribute is set.
+ * @see #unsetUnsettableVAT()
+ * @see #getUnsettableVAT()
+ * @see #setUnsettableVAT(VAT)
+ * @generated
+ */
+ boolean isSetUnsettableVAT();
+
+} // Unsettable1
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java
new file mode 100644
index 0000000000..a35a7ee3ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java
@@ -0,0 +1,657 @@
+/**
+ * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.tests.model2;
+
+import org.eclipse.emf.cdo.tests.model1.VAT;
+
+import org.eclipse.emf.ecore.EObject;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>Unsettable2 With Default</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean <em>Unsettable Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte <em>Unsettable Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar <em>Unsettable Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate <em>Unsettable Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble <em>Unsettable Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt <em>Unsettable Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong <em>Unsettable Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString <em>Unsettable String</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT <em>Unsettable VAT</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault()
+ * @model
+ * @generated
+ */
+public interface Unsettable2WithDefault extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Unsettable Boolean</b></em>' attribute. The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Boolean</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Boolean</em>' attribute.
+ * @see #isSetUnsettableBoolean()
+ * @see #unsetUnsettableBoolean()
+ * @see #setUnsettableBoolean(boolean)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableBoolean()
+ * @model default="true" unsettable="true"
+ * @generated
+ */
+ boolean isUnsettableBoolean();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean
+ * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Boolean</em>' attribute.
+ * @see #isSetUnsettableBoolean()
+ * @see #unsetUnsettableBoolean()
+ * @see #isUnsettableBoolean()
+ * @generated
+ */
+ void setUnsettableBoolean(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean
+ * <em>Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableBoolean()
+ * @see #isUnsettableBoolean()
+ * @see #setUnsettableBoolean(boolean)
+ * @generated
+ */
+ void unsetUnsettableBoolean();
+
+ /**
+ * Returns whether the value of the '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#isUnsettableBoolean <em>Unsettable Boolean</em>}'
+ * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Boolean</em>' attribute is set.
+ * @see #unsetUnsettableBoolean()
+ * @see #isUnsettableBoolean()
+ * @see #setUnsettableBoolean(boolean)
+ * @generated
+ */
+ boolean isSetUnsettableBoolean();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Byte</b></em>' attribute. The default value is <code>"3"</code>. <!--
+ * begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Byte</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Byte</em>' attribute.
+ * @see #isSetUnsettableByte()
+ * @see #unsetUnsettableByte()
+ * @see #setUnsettableByte(byte)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableByte()
+ * @model default="3" unsettable="true"
+ * @generated
+ */
+ byte getUnsettableByte();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte
+ * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Byte</em>' attribute.
+ * @see #isSetUnsettableByte()
+ * @see #unsetUnsettableByte()
+ * @see #getUnsettableByte()
+ * @generated
+ */
+ void setUnsettableByte(byte value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte
+ * <em>Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableByte()
+ * @see #getUnsettableByte()
+ * @see #setUnsettableByte(byte)
+ * @generated
+ */
+ void unsetUnsettableByte();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableByte
+ * <em>Unsettable Byte</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Byte</em>' attribute is set.
+ * @see #unsetUnsettableByte()
+ * @see #getUnsettableByte()
+ * @see #setUnsettableByte(byte)
+ * @generated
+ */
+ boolean isSetUnsettableByte();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Char</b></em>' attribute. The default value is <code>"\'x\'"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Char</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Char</em>' attribute.
+ * @see #isSetUnsettableChar()
+ * @see #unsetUnsettableChar()
+ * @see #setUnsettableChar(char)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableChar()
+ * @model default="\'x\'" unsettable="true"
+ * @generated
+ */
+ char getUnsettableChar();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar
+ * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Char</em>' attribute.
+ * @see #isSetUnsettableChar()
+ * @see #unsetUnsettableChar()
+ * @see #getUnsettableChar()
+ * @generated
+ */
+ void setUnsettableChar(char value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar
+ * <em>Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableChar()
+ * @see #getUnsettableChar()
+ * @see #setUnsettableChar(char)
+ * @generated
+ */
+ void unsetUnsettableChar();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableChar
+ * <em>Unsettable Char</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Char</em>' attribute is set.
+ * @see #unsetUnsettableChar()
+ * @see #getUnsettableChar()
+ * @see #setUnsettableChar(char)
+ * @generated
+ */
+ boolean isSetUnsettableChar();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Date</b></em>' attribute. The default value is
+ * <code>"2009-12-21T15:12:59"</code>. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Date</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Date</em>' attribute.
+ * @see #isSetUnsettableDate()
+ * @see #unsetUnsettableDate()
+ * @see #setUnsettableDate(Date)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableDate()
+ * @model default="2009-12-21T15:12:59" unsettable="true"
+ * @generated
+ */
+ Date getUnsettableDate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate
+ * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Date</em>' attribute.
+ * @see #isSetUnsettableDate()
+ * @see #unsetUnsettableDate()
+ * @see #getUnsettableDate()
+ * @generated
+ */
+ void setUnsettableDate(Date value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate
+ * <em>Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableDate()
+ * @see #getUnsettableDate()
+ * @see #setUnsettableDate(Date)
+ * @generated
+ */
+ void unsetUnsettableDate();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDate
+ * <em>Unsettable Date</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Date</em>' attribute is set.
+ * @see #unsetUnsettableDate()
+ * @see #getUnsettableDate()
+ * @see #setUnsettableDate(Date)
+ * @generated
+ */
+ boolean isSetUnsettableDate();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Double</b></em>' attribute. The default value is <code>"3.3"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Double</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Double</em>' attribute.
+ * @see #isSetUnsettableDouble()
+ * @see #unsetUnsettableDouble()
+ * @see #setUnsettableDouble(double)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableDouble()
+ * @model default="3.3" unsettable="true"
+ * @generated
+ */
+ double getUnsettableDouble();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble
+ * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Double</em>' attribute.
+ * @see #isSetUnsettableDouble()
+ * @see #unsetUnsettableDouble()
+ * @see #getUnsettableDouble()
+ * @generated
+ */
+ void setUnsettableDouble(double value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble
+ * <em>Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableDouble()
+ * @see #getUnsettableDouble()
+ * @see #setUnsettableDouble(double)
+ * @generated
+ */
+ void unsetUnsettableDouble();
+
+ /**
+ * Returns whether the value of the '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableDouble <em>Unsettable Double</em>}'
+ * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Double</em>' attribute is set.
+ * @see #unsetUnsettableDouble()
+ * @see #getUnsettableDouble()
+ * @see #setUnsettableDouble(double)
+ * @generated
+ */
+ boolean isSetUnsettableDouble();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Float</b></em>' attribute. The default value is <code>"4.4"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Float</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Float</em>' attribute.
+ * @see #isSetUnsettableFloat()
+ * @see #unsetUnsettableFloat()
+ * @see #setUnsettableFloat(float)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableFloat()
+ * @model default="4.4" unsettable="true"
+ * @generated
+ */
+ float getUnsettableFloat();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat
+ * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Float</em>' attribute.
+ * @see #isSetUnsettableFloat()
+ * @see #unsetUnsettableFloat()
+ * @see #getUnsettableFloat()
+ * @generated
+ */
+ void setUnsettableFloat(float value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat
+ * <em>Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableFloat()
+ * @see #getUnsettableFloat()
+ * @see #setUnsettableFloat(float)
+ * @generated
+ */
+ void unsetUnsettableFloat();
+
+ /**
+ * Returns whether the value of the '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableFloat <em>Unsettable Float</em>}'
+ * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Float</em>' attribute is set.
+ * @see #unsetUnsettableFloat()
+ * @see #getUnsettableFloat()
+ * @see #setUnsettableFloat(float)
+ * @generated
+ */
+ boolean isSetUnsettableFloat();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Int</b></em>' attribute. The default value is <code>"5"</code>. <!--
+ * begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Int</em>' attribute isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Int</em>' attribute.
+ * @see #isSetUnsettableInt()
+ * @see #unsetUnsettableInt()
+ * @see #setUnsettableInt(int)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableInt()
+ * @model default="5" unsettable="true"
+ * @generated
+ */
+ int getUnsettableInt();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt
+ * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Int</em>' attribute.
+ * @see #isSetUnsettableInt()
+ * @see #unsetUnsettableInt()
+ * @see #getUnsettableInt()
+ * @generated
+ */
+ void setUnsettableInt(int value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt
+ * <em>Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableInt()
+ * @see #getUnsettableInt()
+ * @see #setUnsettableInt(int)
+ * @generated
+ */
+ void unsetUnsettableInt();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableInt
+ * <em>Unsettable Int</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Int</em>' attribute is set.
+ * @see #unsetUnsettableInt()
+ * @see #getUnsettableInt()
+ * @see #setUnsettableInt(int)
+ * @generated
+ */
+ boolean isSetUnsettableInt();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Long</b></em>' attribute. The default value is <code>"6"</code>. <!--
+ * begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Long</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Long</em>' attribute.
+ * @see #isSetUnsettableLong()
+ * @see #unsetUnsettableLong()
+ * @see #setUnsettableLong(long)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableLong()
+ * @model default="6" unsettable="true"
+ * @generated
+ */
+ long getUnsettableLong();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong
+ * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Long</em>' attribute.
+ * @see #isSetUnsettableLong()
+ * @see #unsetUnsettableLong()
+ * @see #getUnsettableLong()
+ * @generated
+ */
+ void setUnsettableLong(long value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong
+ * <em>Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableLong()
+ * @see #getUnsettableLong()
+ * @see #setUnsettableLong(long)
+ * @generated
+ */
+ void unsetUnsettableLong();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableLong
+ * <em>Unsettable Long</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Long</em>' attribute is set.
+ * @see #unsetUnsettableLong()
+ * @see #getUnsettableLong()
+ * @see #setUnsettableLong(long)
+ * @generated
+ */
+ boolean isSetUnsettableLong();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable Short</b></em>' attribute. The default value is <code>"7"</code>. <!--
+ * begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable Short</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable Short</em>' attribute.
+ * @see #isSetUnsettableShort()
+ * @see #unsetUnsettableShort()
+ * @see #setUnsettableShort(short)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableShort()
+ * @model default="7" unsettable="true"
+ * @generated
+ */
+ short getUnsettableShort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort
+ * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable Short</em>' attribute.
+ * @see #isSetUnsettableShort()
+ * @see #unsetUnsettableShort()
+ * @see #getUnsettableShort()
+ * @generated
+ */
+ void setUnsettableShort(short value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort
+ * <em>Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableShort()
+ * @see #getUnsettableShort()
+ * @see #setUnsettableShort(short)
+ * @generated
+ */
+ void unsetUnsettableShort();
+
+ /**
+ * Returns whether the value of the '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableShort <em>Unsettable Short</em>}'
+ * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable Short</em>' attribute is set.
+ * @see #unsetUnsettableShort()
+ * @see #getUnsettableShort()
+ * @see #setUnsettableShort(short)
+ * @generated
+ */
+ boolean isSetUnsettableShort();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable String</b></em>' attribute. The default value is
+ * <code>"\"eike\""</code>. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable String</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable String</em>' attribute.
+ * @see #isSetUnsettableString()
+ * @see #unsetUnsettableString()
+ * @see #setUnsettableString(String)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableString()
+ * @model default="\"eike\"" unsettable="true"
+ * @generated
+ */
+ String getUnsettableString();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString
+ * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable String</em>' attribute.
+ * @see #isSetUnsettableString()
+ * @see #unsetUnsettableString()
+ * @see #getUnsettableString()
+ * @generated
+ */
+ void setUnsettableString(String value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString
+ * <em>Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableString()
+ * @see #getUnsettableString()
+ * @see #setUnsettableString(String)
+ * @generated
+ */
+ void unsetUnsettableString();
+
+ /**
+ * Returns whether the value of the '
+ * {@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableString <em>Unsettable String</em>}'
+ * attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable String</em>' attribute is set.
+ * @see #unsetUnsettableString()
+ * @see #getUnsettableString()
+ * @see #setUnsettableString(String)
+ * @generated
+ */
+ boolean isSetUnsettableString();
+
+ /**
+ * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The default value is <code>"VAT15"</code>. The
+ * literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Unsettable VAT</em>' attribute isn't clear, there really should be more of a description
+ * here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Unsettable VAT</em>' attribute.
+ * @see org.eclipse.emf.cdo.tests.model1.VAT
+ * @see #isSetUnsettableVAT()
+ * @see #unsetUnsettableVAT()
+ * @see #setUnsettableVAT(VAT)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableVAT()
+ * @model default="VAT15" unsettable="true"
+ * @generated
+ */
+ VAT getUnsettableVAT();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT
+ * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Unsettable VAT</em>' attribute.
+ * @see org.eclipse.emf.cdo.tests.model1.VAT
+ * @see #isSetUnsettableVAT()
+ * @see #unsetUnsettableVAT()
+ * @see #getUnsettableVAT()
+ * @generated
+ */
+ void setUnsettableVAT(VAT value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT
+ * <em>Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #isSetUnsettableVAT()
+ * @see #getUnsettableVAT()
+ * @see #setUnsettableVAT(VAT)
+ * @generated
+ */
+ void unsetUnsettableVAT();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault#getUnsettableVAT
+ * <em>Unsettable VAT</em>}' attribute is set. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return whether the value of the '<em>Unsettable VAT</em>' attribute is set.
+ * @see #unsetUnsettableVAT()
+ * @see #getUnsettableVAT()
+ * @see #setUnsettableVAT(VAT)
+ * @generated
+ */
+ boolean isSetUnsettableVAT();
+
+} // Unsettable2WithDefault
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java
index e86097e3ef..7ed012f6b6 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
@@ -15,6 +15,8 @@ import org.eclipse.emf.cdo.tests.model2.Model2Package;
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Task;
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
+import org.eclipse.emf.cdo.tests.model2.Unsettable1;
+import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
@@ -78,6 +80,10 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
return createTaskContainer();
case Model2Package.TASK:
return createTask();
+ case Model2Package.UNSETTABLE1:
+ return createUnsettable1();
+ case Model2Package.UNSETTABLE2_WITH_DEFAULT:
+ return createUnsettable2WithDefault();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -121,6 +127,28 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
*
* @generated
*/
+ public Unsettable1 createUnsettable1()
+ {
+ Unsettable1Impl unsettable1 = new Unsettable1Impl();
+ return unsettable1;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Unsettable2WithDefault createUnsettable2WithDefault()
+ {
+ Unsettable2WithDefaultImpl unsettable2WithDefault = new Unsettable2WithDefaultImpl();
+ return unsettable2WithDefault;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public 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 107de8a51f..8c409e8b74 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
@@ -16,6 +16,8 @@ import org.eclipse.emf.cdo.tests.model2.Model2Package;
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Task;
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
+import org.eclipse.emf.cdo.tests.model2.Unsettable1;
+import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
@@ -52,6 +54,20 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
private EClass taskEClass = null;
/**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass unsettable1EClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass unsettable2WithDefaultEClass = null;
+
+ /**
* 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>
@@ -212,6 +228,246 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
*
* @generated
*/
+ public EClass getUnsettable1()
+ {
+ return unsettable1EClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableBoolean()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableByte()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableChar()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableDate()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableDouble()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableFloat()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableInt()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableLong()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableShort()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableString()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable1_UnsettableVAT()
+ {
+ return (EAttribute)unsettable1EClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getUnsettable2WithDefault()
+ {
+ return unsettable2WithDefaultEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableBoolean()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableByte()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableChar()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableDate()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableDouble()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableFloat()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableInt()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableLong()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableShort()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableString()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getUnsettable2WithDefault_UnsettableVAT()
+ {
+ return (EAttribute)unsettable2WithDefaultEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public Model2Factory getModel2Factory()
{
return (Model2Factory)getEFactoryInstance();
@@ -248,6 +504,32 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
createEReference(taskEClass, TASK__TASK_CONTAINER);
createEAttribute(taskEClass, TASK__DESCRIPTION);
createEAttribute(taskEClass, TASK__DONE);
+
+ unsettable1EClass = createEClass(UNSETTABLE1);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_BOOLEAN);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_BYTE);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_CHAR);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_DATE);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_DOUBLE);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_FLOAT);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_INT);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_LONG);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_SHORT);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_STRING);
+ createEAttribute(unsettable1EClass, UNSETTABLE1__UNSETTABLE_VAT);
+
+ unsettable2WithDefaultEClass = createEClass(UNSETTABLE2_WITH_DEFAULT);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING);
+ createEAttribute(unsettable2WithDefaultEClass, UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT);
}
/**
@@ -309,6 +591,78 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
initEAttribute(getTask_Done(), ecorePackage.getEBoolean(), "done", null, 0, 1, Task.class, !IS_TRANSIENT,
!IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(unsettable1EClass, Unsettable1.class, "Unsettable1", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUnsettable1_UnsettableBoolean(), ecorePackage.getEBoolean(), "unsettableBoolean", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableByte(), ecorePackage.getEByte(), "unsettableByte", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableChar(), ecorePackage.getEChar(), "unsettableChar", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableDate(), ecorePackage.getEDate(), "unsettableDate", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableDouble(), ecorePackage.getEDouble(), "unsettableDouble", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableFloat(), ecorePackage.getEFloat(), "unsettableFloat", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableInt(), ecorePackage.getEInt(), "unsettableInt", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableLong(), ecorePackage.getELong(), "unsettableLong", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableShort(), ecorePackage.getEShort(), "unsettableShort", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableString(), ecorePackage.getEString(), "unsettableString", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+ initEAttribute(getUnsettable1_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", null, 0, 1,
+ Unsettable1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
+ IS_ORDERED);
+
+ initEClass(unsettable2WithDefaultEClass, Unsettable2WithDefault.class, "Unsettable2WithDefault", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUnsettable2WithDefault_UnsettableBoolean(), ecorePackage.getEBoolean(), "unsettableBoolean",
+ "true", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableByte(), ecorePackage.getEByte(), "unsettableByte", "3", 0, 1,
+ Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableChar(), ecorePackage.getEChar(), "unsettableChar", "\'x\'", 0,
+ 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableDate(), ecorePackage.getEDate(), "unsettableDate",
+ "2009-12-21T15:12:59", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableDouble(), ecorePackage.getEDouble(), "unsettableDouble", "3.3",
+ 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableFloat(), ecorePackage.getEFloat(), "unsettableFloat", "4.4", 0,
+ 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableInt(), ecorePackage.getEInt(), "unsettableInt", "5", 0, 1,
+ Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableLong(), ecorePackage.getELong(), "unsettableLong", "6", 0, 1,
+ Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableShort(), ecorePackage.getEShort(), "unsettableShort", "7", 0, 1,
+ Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableString(), ecorePackage.getEString(), "unsettableString",
+ "\"eike\"", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettable2WithDefault_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", "VAT15", 0,
+ 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
// Create resource
createResource(eNS_URI);
}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java
new file mode 100644
index 0000000000..582fbf81ad
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable1Impl.java
@@ -0,0 +1,518 @@
+/**
+ * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.tests.model2.impl;
+
+import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.Unsettable1;
+
+import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Unsettable1</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#isUnsettableBoolean <em>Unsettable Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableByte <em>Unsettable Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableChar <em>Unsettable Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableDate <em>Unsettable Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableDouble <em>Unsettable Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableFloat <em>Unsettable Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableInt <em>Unsettable Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableLong <em>Unsettable Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableShort <em>Unsettable Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableString <em>Unsettable String</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable1Impl#getUnsettableVAT <em>Unsettable VAT</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class Unsettable1Impl extends CDOObjectImpl implements Unsettable1
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected Unsettable1Impl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.Literals.UNSETTABLE1;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected int eStaticFeatureCount()
+ {
+ return 0;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isUnsettableBoolean()
+ {
+ return (Boolean)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_BOOLEAN, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableBoolean(boolean newUnsettableBoolean)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_BOOLEAN, newUnsettableBoolean);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableBoolean()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_BOOLEAN);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableBoolean()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_BOOLEAN);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public byte getUnsettableByte()
+ {
+ return (Byte)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_BYTE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableByte(byte newUnsettableByte)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_BYTE, newUnsettableByte);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableByte()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_BYTE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableByte()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_BYTE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public char getUnsettableChar()
+ {
+ return (Character)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_CHAR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableChar(char newUnsettableChar)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_CHAR, newUnsettableChar);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableChar()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_CHAR);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableChar()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_CHAR);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Date getUnsettableDate()
+ {
+ return (Date)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_DATE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableDate(Date newUnsettableDate)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_DATE, newUnsettableDate);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableDate()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_DATE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableDate()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_DATE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public double getUnsettableDouble()
+ {
+ return (Double)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_DOUBLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableDouble(double newUnsettableDouble)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_DOUBLE, newUnsettableDouble);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableDouble()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_DOUBLE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableDouble()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_DOUBLE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public float getUnsettableFloat()
+ {
+ return (Float)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_FLOAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableFloat(float newUnsettableFloat)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_FLOAT, newUnsettableFloat);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableFloat()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_FLOAT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableFloat()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_FLOAT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getUnsettableInt()
+ {
+ return (Integer)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_INT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableInt(int newUnsettableInt)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_INT, newUnsettableInt);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableInt()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_INT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableInt()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_INT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public long getUnsettableLong()
+ {
+ return (Long)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_LONG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableLong(long newUnsettableLong)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_LONG, newUnsettableLong);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableLong()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_LONG);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableLong()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_LONG);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public short getUnsettableShort()
+ {
+ return (Short)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_SHORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableShort(short newUnsettableShort)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_SHORT, newUnsettableShort);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableShort()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_SHORT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableShort()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_SHORT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getUnsettableString()
+ {
+ return (String)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_STRING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableString(String newUnsettableString)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_STRING, newUnsettableString);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableString()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_STRING);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableString()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_STRING);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VAT getUnsettableVAT()
+ {
+ return (VAT)eGet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_VAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableVAT(VAT newUnsettableVAT)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_VAT, newUnsettableVAT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableVAT()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_VAT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableVAT()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE1__UNSETTABLE_VAT);
+ }
+
+} // Unsettable1Impl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java
new file mode 100644
index 0000000000..1d048d560f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Unsettable2WithDefaultImpl.java
@@ -0,0 +1,530 @@
+/**
+ * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.tests.model2.impl;
+
+import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
+
+import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Unsettable2 With Default</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#isUnsettableBoolean <em>Unsettable
+ * Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableByte <em>Unsettable Byte
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableChar <em>Unsettable Char
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDate <em>Unsettable Date
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableDouble <em>Unsettable Double
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableFloat <em>Unsettable Float
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableInt <em>Unsettable Int</em>}
+ * </li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableLong <em>Unsettable Long
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableShort <em>Unsettable Short
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableString <em>Unsettable String
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.Unsettable2WithDefaultImpl#getUnsettableVAT <em>Unsettable VAT</em>}
+ * </li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class Unsettable2WithDefaultImpl extends CDOObjectImpl implements Unsettable2WithDefault
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected Unsettable2WithDefaultImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected int eStaticFeatureCount()
+ {
+ return 0;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isUnsettableBoolean()
+ {
+ return (Boolean)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableBoolean(boolean newUnsettableBoolean)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN, newUnsettableBoolean);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableBoolean()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableBoolean()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BOOLEAN);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public byte getUnsettableByte()
+ {
+ return (Byte)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableByte(byte newUnsettableByte)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE, newUnsettableByte);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableByte()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableByte()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_BYTE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public char getUnsettableChar()
+ {
+ return (Character)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableChar(char newUnsettableChar)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR, newUnsettableChar);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableChar()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableChar()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_CHAR);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Date getUnsettableDate()
+ {
+ return (Date)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableDate(Date newUnsettableDate)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE, newUnsettableDate);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableDate()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableDate()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DATE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public double getUnsettableDouble()
+ {
+ return (Double)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableDouble(double newUnsettableDouble)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE, newUnsettableDouble);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableDouble()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableDouble()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_DOUBLE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public float getUnsettableFloat()
+ {
+ return (Float)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableFloat(float newUnsettableFloat)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT, newUnsettableFloat);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableFloat()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableFloat()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_FLOAT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getUnsettableInt()
+ {
+ return (Integer)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableInt(int newUnsettableInt)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT, newUnsettableInt);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableInt()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableInt()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_INT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public long getUnsettableLong()
+ {
+ return (Long)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableLong(long newUnsettableLong)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG, newUnsettableLong);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableLong()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableLong()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_LONG);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public short getUnsettableShort()
+ {
+ return (Short)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableShort(short newUnsettableShort)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT, newUnsettableShort);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableShort()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableShort()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_SHORT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getUnsettableString()
+ {
+ return (String)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableString(String newUnsettableString)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING, newUnsettableString);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableString()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableString()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_STRING);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VAT getUnsettableVAT()
+ {
+ return (VAT)eGet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setUnsettableVAT(VAT newUnsettableVAT)
+ {
+ eSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT, newUnsettableVAT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void unsetUnsettableVAT()
+ {
+ eUnset(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isSetUnsettableVAT()
+ {
+ return eIsSet(Model2Package.Literals.UNSETTABLE2_WITH_DEFAULT__UNSETTABLE_VAT);
+ }
+
+} // Unsettable2WithDefaultImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java
index 53f5a880ab..e3e086af93 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
@@ -16,6 +16,8 @@ import org.eclipse.emf.cdo.tests.model2.Model2Package;
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Task;
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
+import org.eclipse.emf.cdo.tests.model2.Unsettable1;
+import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
@@ -99,6 +101,18 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
@Override
+ public Adapter caseUnsettable1(Unsettable1 object)
+ {
+ return createUnsettable1Adapter();
+ }
+
+ @Override
+ public Adapter caseUnsettable2WithDefault(Unsettable2WithDefault object)
+ {
+ return createUnsettable2WithDefaultAdapter();
+ }
+
+ @Override
public Adapter caseOrder(Order object)
{
return createOrderAdapter();
@@ -175,6 +189,35 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.Unsettable1
+ * <em>Unsettable1</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable1
+ * @generated
+ */
+ public Adapter createUnsettable1Adapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault
+ * <em>Unsettable2 With Default</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
+ * end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault
+ * @generated
+ */
+ public Adapter createUnsettable2WithDefaultAdapter()
+ {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.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 5474e6e442..0d90e10c17 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
@@ -16,6 +16,8 @@ import org.eclipse.emf.cdo.tests.model2.Model2Package;
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Task;
import org.eclipse.emf.cdo.tests.model2.TaskContainer;
+import org.eclipse.emf.cdo.tests.model2.Unsettable1;
+import org.eclipse.emf.cdo.tests.model2.Unsettable2WithDefault;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
@@ -124,6 +126,22 @@ public class Model2Switch<T>
result = defaultCase(theEObject);
return result;
}
+ case Model2Package.UNSETTABLE1:
+ {
+ Unsettable1 unsettable1 = (Unsettable1)theEObject;
+ T result = caseUnsettable1(unsettable1);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model2Package.UNSETTABLE2_WITH_DEFAULT:
+ {
+ Unsettable2WithDefault unsettable2WithDefault = (Unsettable2WithDefault)theEObject;
+ T result = caseUnsettable2WithDefault(unsettable2WithDefault);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
default:
return defaultCase(theEObject);
}
@@ -176,6 +194,37 @@ public class Model2Switch<T>
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Unsettable1</em>'. <!-- begin-user-doc -->
+ * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Unsettable1</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUnsettable1(Unsettable1 object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Unsettable2 With Default</em>'. <!--
+ * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
+ * end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Unsettable2 With Default</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUnsettable2WithDefault(Unsettable2WithDefault object)
+ {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>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