Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java16
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java727
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java346
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java368
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java4
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java28
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java356
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java309
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java312
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java43
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java53
11 files changed, 2559 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java
index 6eab369233..f3504abddc 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java
@@ -85,6 +85,22 @@ public interface Model2Factory extends EFactory
TransientContainer createTransientContainer();
/**
+ * Returns a new object of class '<em>Not Unsettable</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Not Unsettable</em>'.
+ * @generated
+ */
+ NotUnsettable createNotUnsettable();
+
+ /**
+ * Returns a new object of class '<em>Not Unsettable With Default</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return a new object of class '<em>Not Unsettable With Default</em>'.
+ * @generated
+ */
+ NotUnsettableWithDefault createNotUnsettableWithDefault();
+
+ /**
* Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the package supported by this factory.
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java
index 1d9fa14ceb..3254680cd9 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java
@@ -497,6 +497,242 @@ public interface Model2Package extends EPackage
int TRANSIENT_CONTAINER_FEATURE_COUNT = 3;
/**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl <em>Not Unsettable</em>}
+ * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getNotUnsettable()
+ * @generated
+ */
+ int NOT_UNSETTABLE = 7;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN = 0;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR = 2;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_DATE = 3;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT = 5;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_INT = 6;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_LONG = 7;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT = 8;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_STRING = 9;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE__NOT_UNSETTABLE_VAT = 10;
+
+ /**
+ * The number of structural features of the '<em>Not Unsettable</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_FEATURE_COUNT = 11;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl
+ * <em>Not Unsettable With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getNotUnsettableWithDefault()
+ * @generated
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT = 8;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN = 0;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE = 1;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR = 2;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE = 3;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE = 4;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT = 5;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT = 6;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG = 7;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT = 8;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING = 9;
+
+ /**
+ * The feature id for the '<em><b>Not Unsettable VAT</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT = 10;
+
+ /**
+ * The number of structural features of the '<em>Not Unsettable With Default</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int NOT_UNSETTABLE_WITH_DEFAULT_FEATURE_COUNT = 11;
+
+ /**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder
* <em>Special Purchase Order</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
@@ -960,6 +1196,290 @@ public interface Model2Package extends EPackage
EAttribute getTransientContainer_AttrAfter();
/**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable <em>Not Unsettable</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Not Unsettable</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable
+ * @generated
+ */
+ EClass getNotUnsettable();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#isNotUnsettableBoolean <em>Not Unsettable Boolean</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#isNotUnsettableBoolean()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableBoolean();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableByte <em>Not Unsettable Byte</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableByte()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableByte();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableChar <em>Not Unsettable Char</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableChar()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableChar();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDate <em>Not Unsettable Date</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDate()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableDate();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDouble <em>Not Unsettable Double</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDouble()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableDouble();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableFloat <em>Not Unsettable Float</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableFloat()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableFloat();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableInt <em>Not Unsettable Int</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableInt()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableInt();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableLong <em>Not Unsettable Long</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableLong()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableLong();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableShort <em>Not Unsettable Short</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableShort()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableShort();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableString <em>Not Unsettable String</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable String</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableString()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableString();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableVAT <em>Not Unsettable VAT</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable VAT</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableVAT()
+ * @see #getNotUnsettable()
+ * @generated
+ */
+ EAttribute getNotUnsettable_NotUnsettableVAT();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault
+ * <em>Not Unsettable With Default</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>Not Unsettable With Default</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault
+ * @generated
+ */
+ EClass getNotUnsettableWithDefault();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#isNotUnsettableBoolean
+ * <em>Not Unsettable Boolean</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#isNotUnsettableBoolean()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableBoolean();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableByte <em>Not Unsettable Byte</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableByte()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableByte();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableChar <em>Not Unsettable Char</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableChar()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableChar();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDate <em>Not Unsettable Date</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDate()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableDate();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDouble
+ * <em>Not Unsettable Double</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDouble()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableDouble();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableFloat
+ * <em>Not Unsettable Float</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableFloat()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableFloat();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableInt <em>Not Unsettable Int</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableInt()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableInt();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableLong <em>Not Unsettable Long</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableLong()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableLong();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableShort
+ * <em>Not Unsettable Short</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableShort()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableShort();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableString
+ * <em>Not Unsettable String</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable String</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableString()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableString();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableVAT <em>Not Unsettable VAT</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the attribute '<em>Not Unsettable VAT</em>'.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableVAT()
+ * @see #getNotUnsettableWithDefault()
+ * @generated
+ */
+ EAttribute getNotUnsettableWithDefault_NotUnsettableVAT();
+
+ /**
* Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the factory that creates the instances of the model.
@@ -1323,6 +1843,213 @@ public interface Model2Package extends EPackage
*/
EAttribute TRANSIENT_CONTAINER__ATTR_AFTER = eINSTANCE.getTransientContainer_AttrAfter();
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl
+ * <em>Not Unsettable</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getNotUnsettable()
+ * @generated
+ */
+ EClass NOT_UNSETTABLE = eINSTANCE.getNotUnsettable();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Boolean</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN = eINSTANCE.getNotUnsettable_NotUnsettableBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Byte</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE = eINSTANCE.getNotUnsettable_NotUnsettableByte();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Char</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR = eINSTANCE.getNotUnsettable_NotUnsettableChar();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Date</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_DATE = eINSTANCE.getNotUnsettable_NotUnsettableDate();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Double</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE = eINSTANCE.getNotUnsettable_NotUnsettableDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Float</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT = eINSTANCE.getNotUnsettable_NotUnsettableFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Int</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_INT = eINSTANCE.getNotUnsettable_NotUnsettableInt();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Long</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_LONG = eINSTANCE.getNotUnsettable_NotUnsettableLong();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Short</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT = eINSTANCE.getNotUnsettable_NotUnsettableShort();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable String</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_STRING = eINSTANCE.getNotUnsettable_NotUnsettableString();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable VAT</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE__NOT_UNSETTABLE_VAT = eINSTANCE.getNotUnsettable_NotUnsettableVAT();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl
+ * <em>Not Unsettable With Default</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl
+ * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getNotUnsettableWithDefault()
+ * @generated
+ */
+ EClass NOT_UNSETTABLE_WITH_DEFAULT = eINSTANCE.getNotUnsettableWithDefault();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Boolean</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Byte</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableByte();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Char</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableChar();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Date</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableDate();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Double</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Float</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Int</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableInt();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Long</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableLong();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable Short</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableShort();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable String</b></em>' attribute feature. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableString();
+
+ /**
+ * The meta object literal for the '<em><b>Not Unsettable VAT</b></em>' attribute feature. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ EAttribute NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT = eINSTANCE
+ .getNotUnsettableWithDefault_NotUnsettableVAT();
+
}
} // Model2Package
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java
new file mode 100644
index 0000000000..db74ce8324
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettable.java
@@ -0,0 +1,346 @@
+/**
+ * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ *
+ * $Id: NotUnsettable.java,v 1.1 2010-02-26 09:06:21 mfluegge Exp $
+ */
+package org.eclipse.emf.cdo.tests.model2;
+
+import org.eclipse.emf.cdo.tests.model1.VAT;
+
+import org.eclipse.emf.ecore.EObject;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>Not Unsettable</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#isNotUnsettableBoolean <em>Not Unsettable Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableByte <em>Not Unsettable Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableChar <em>Not Unsettable Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDate <em>Not Unsettable Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDouble <em>Not Unsettable Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableFloat <em>Not Unsettable Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableInt <em>Not Unsettable Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableLong <em>Not Unsettable Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableShort <em>Not Unsettable Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableString <em>Not Unsettable String</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableVAT <em>Not Unsettable VAT</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable()
+ * @model
+ * @generated
+ */
+public interface NotUnsettable extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Boolean</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Boolean</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Boolean</em>' attribute.
+ * @see #setNotUnsettableBoolean(boolean)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableBoolean()
+ * @model
+ * @generated
+ */
+ boolean isNotUnsettableBoolean();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#isNotUnsettableBoolean
+ * <em>Not Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Boolean</em>' attribute.
+ * @see #isNotUnsettableBoolean()
+ * @generated
+ */
+ void setNotUnsettableBoolean(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Byte</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Byte</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Byte</em>' attribute.
+ * @see #setNotUnsettableByte(byte)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableByte()
+ * @model
+ * @generated
+ */
+ byte getNotUnsettableByte();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableByte
+ * <em>Not Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Byte</em>' attribute.
+ * @see #getNotUnsettableByte()
+ * @generated
+ */
+ void setNotUnsettableByte(byte value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Char</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Char</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Char</em>' attribute.
+ * @see #setNotUnsettableChar(char)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableChar()
+ * @model
+ * @generated
+ */
+ char getNotUnsettableChar();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableChar
+ * <em>Not Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Char</em>' attribute.
+ * @see #getNotUnsettableChar()
+ * @generated
+ */
+ void setNotUnsettableChar(char value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Date</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Date</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Date</em>' attribute.
+ * @see #setNotUnsettableDate(Date)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableDate()
+ * @model
+ * @generated
+ */
+ Date getNotUnsettableDate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDate
+ * <em>Not Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Date</em>' attribute.
+ * @see #getNotUnsettableDate()
+ * @generated
+ */
+ void setNotUnsettableDate(Date value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Double</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Double</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Double</em>' attribute.
+ * @see #setNotUnsettableDouble(double)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableDouble()
+ * @model
+ * @generated
+ */
+ double getNotUnsettableDouble();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableDouble
+ * <em>Not Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Double</em>' attribute.
+ * @see #getNotUnsettableDouble()
+ * @generated
+ */
+ void setNotUnsettableDouble(double value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Float</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Float</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Float</em>' attribute.
+ * @see #setNotUnsettableFloat(float)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableFloat()
+ * @model
+ * @generated
+ */
+ float getNotUnsettableFloat();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableFloat
+ * <em>Not Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Float</em>' attribute.
+ * @see #getNotUnsettableFloat()
+ * @generated
+ */
+ void setNotUnsettableFloat(float value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Int</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Int</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Int</em>' attribute.
+ * @see #setNotUnsettableInt(int)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableInt()
+ * @model
+ * @generated
+ */
+ int getNotUnsettableInt();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableInt
+ * <em>Not Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Int</em>' attribute.
+ * @see #getNotUnsettableInt()
+ * @generated
+ */
+ void setNotUnsettableInt(int value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Long</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Long</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Long</em>' attribute.
+ * @see #setNotUnsettableLong(long)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableLong()
+ * @model
+ * @generated
+ */
+ long getNotUnsettableLong();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableLong
+ * <em>Not Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Long</em>' attribute.
+ * @see #getNotUnsettableLong()
+ * @generated
+ */
+ void setNotUnsettableLong(long value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Short</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Short</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Short</em>' attribute.
+ * @see #setNotUnsettableShort(short)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableShort()
+ * @model
+ * @generated
+ */
+ short getNotUnsettableShort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableShort
+ * <em>Not Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Short</em>' attribute.
+ * @see #getNotUnsettableShort()
+ * @generated
+ */
+ void setNotUnsettableShort(short value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable String</b></em>' attribute. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable String</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable String</em>' attribute.
+ * @see #setNotUnsettableString(String)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableString()
+ * @model
+ * @generated
+ */
+ String getNotUnsettableString();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableString
+ * <em>Not Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable String</em>' attribute.
+ * @see #getNotUnsettableString()
+ * @generated
+ */
+ void setNotUnsettableString(String value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable VAT</b></em>' attribute. The literals are from the enumeration
+ * {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable VAT</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable VAT</em>' attribute.
+ * @see org.eclipse.emf.cdo.tests.model1.VAT
+ * @see #setNotUnsettableVAT(VAT)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettable_NotUnsettableVAT()
+ * @model
+ * @generated
+ */
+ VAT getNotUnsettableVAT();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable#getNotUnsettableVAT
+ * <em>Not Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable VAT</em>' attribute.
+ * @see org.eclipse.emf.cdo.tests.model1.VAT
+ * @see #getNotUnsettableVAT()
+ * @generated
+ */
+ void setNotUnsettableVAT(VAT value);
+
+} // NotUnsettable
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java
new file mode 100644
index 0000000000..353532d0ec
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/NotUnsettableWithDefault.java
@@ -0,0 +1,368 @@
+/**
+ * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ *
+ * $Id: NotUnsettableWithDefault.java,v 1.1 2010-02-26 09:06:21 mfluegge Exp $
+ */
+package org.eclipse.emf.cdo.tests.model2;
+
+import org.eclipse.emf.cdo.tests.model1.VAT;
+
+import org.eclipse.emf.ecore.EObject;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> A representation of the model object '<em><b>Not Unsettable With Default</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#isNotUnsettableBoolean <em>Not Unsettable
+ * Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableByte <em>Not Unsettable Byte
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableChar <em>Not Unsettable Char
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDate <em>Not Unsettable Date
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDouble <em>Not Unsettable Double
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableFloat <em>Not Unsettable Float
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableInt <em>Not Unsettable Int</em>}
+ * </li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableLong <em>Not Unsettable Long
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableShort <em>Not Unsettable Short
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableString <em>Not Unsettable String
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableVAT <em>Not Unsettable VAT</em>}
+ * </li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault()
+ * @model
+ * @generated
+ */
+public interface NotUnsettableWithDefault extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Boolean</b></em>' attribute. The default value is
+ * <code>"true"</code>. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Boolean</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Boolean</em>' attribute.
+ * @see #setNotUnsettableBoolean(boolean)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableBoolean()
+ * @model default="true"
+ * @generated
+ */
+ boolean isNotUnsettableBoolean();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#isNotUnsettableBoolean
+ * <em>Not Unsettable Boolean</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Boolean</em>' attribute.
+ * @see #isNotUnsettableBoolean()
+ * @generated
+ */
+ void setNotUnsettableBoolean(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Byte</b></em>' attribute. The default value is <code>"3"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Byte</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Byte</em>' attribute.
+ * @see #setNotUnsettableByte(byte)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableByte()
+ * @model default="3"
+ * @generated
+ */
+ byte getNotUnsettableByte();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableByte
+ * <em>Not Unsettable Byte</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Byte</em>' attribute.
+ * @see #getNotUnsettableByte()
+ * @generated
+ */
+ void setNotUnsettableByte(byte value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Char</b></em>' attribute. The default value is <code>"\'x\'"</code>
+ * . <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Char</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Char</em>' attribute.
+ * @see #setNotUnsettableChar(char)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableChar()
+ * @model default="\'x\'"
+ * @generated
+ */
+ char getNotUnsettableChar();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableChar
+ * <em>Not Unsettable Char</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Char</em>' attribute.
+ * @see #getNotUnsettableChar()
+ * @generated
+ */
+ void setNotUnsettableChar(char value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Date</b></em>' attribute. The default value is
+ * <code>"1979-03-15T07:12:59"</code>. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Date</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Date</em>' attribute.
+ * @see #setNotUnsettableDate(Date)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableDate()
+ * @model default="1979-03-15T07:12:59"
+ * @generated
+ */
+ Date getNotUnsettableDate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDate
+ * <em>Not Unsettable Date</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Date</em>' attribute.
+ * @see #getNotUnsettableDate()
+ * @generated
+ */
+ void setNotUnsettableDate(Date value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Double</b></em>' attribute. The default value is <code>"3.3"</code>
+ * . <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Double</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Double</em>' attribute.
+ * @see #setNotUnsettableDouble(double)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableDouble()
+ * @model default="3.3"
+ * @generated
+ */
+ double getNotUnsettableDouble();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableDouble
+ * <em>Not Unsettable Double</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Double</em>' attribute.
+ * @see #getNotUnsettableDouble()
+ * @generated
+ */
+ void setNotUnsettableDouble(double value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Float</b></em>' attribute. The default value is <code>"4.4"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Float</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Float</em>' attribute.
+ * @see #setNotUnsettableFloat(float)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableFloat()
+ * @model default="4.4"
+ * @generated
+ */
+ float getNotUnsettableFloat();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableFloat
+ * <em>Not Unsettable Float</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Float</em>' attribute.
+ * @see #getNotUnsettableFloat()
+ * @generated
+ */
+ void setNotUnsettableFloat(float value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Int</b></em>' attribute. The default value is <code>"5"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Int</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Int</em>' attribute.
+ * @see #setNotUnsettableInt(int)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableInt()
+ * @model default="5"
+ * @generated
+ */
+ int getNotUnsettableInt();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableInt
+ * <em>Not Unsettable Int</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Int</em>' attribute.
+ * @see #getNotUnsettableInt()
+ * @generated
+ */
+ void setNotUnsettableInt(int value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Long</b></em>' attribute. The default value is <code>"6"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Long</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Long</em>' attribute.
+ * @see #setNotUnsettableLong(long)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableLong()
+ * @model default="6"
+ * @generated
+ */
+ long getNotUnsettableLong();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableLong
+ * <em>Not Unsettable Long</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Long</em>' attribute.
+ * @see #getNotUnsettableLong()
+ * @generated
+ */
+ void setNotUnsettableLong(long value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable Short</b></em>' attribute. The default value is <code>"7"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable Short</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable Short</em>' attribute.
+ * @see #setNotUnsettableShort(short)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableShort()
+ * @model default="7"
+ * @generated
+ */
+ short getNotUnsettableShort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableShort
+ * <em>Not Unsettable Short</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable Short</em>' attribute.
+ * @see #getNotUnsettableShort()
+ * @generated
+ */
+ void setNotUnsettableShort(short value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable String</b></em>' attribute. The default value is
+ * <code>"\"eike\""</code>. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable String</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable String</em>' attribute.
+ * @see #setNotUnsettableString(String)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableString()
+ * @model default="\"eike\""
+ * @generated
+ */
+ String getNotUnsettableString();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableString
+ * <em>Not Unsettable String</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable String</em>' attribute.
+ * @see #getNotUnsettableString()
+ * @generated
+ */
+ void setNotUnsettableString(String value);
+
+ /**
+ * Returns the value of the '<em><b>Not Unsettable VAT</b></em>' attribute. The default value is <code>"vat15"</code>.
+ * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Not Unsettable VAT</em>' attribute isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
+ *
+ * @return the value of the '<em>Not Unsettable VAT</em>' attribute.
+ * @see org.eclipse.emf.cdo.tests.model1.VAT
+ * @see #setNotUnsettableVAT(VAT)
+ * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getNotUnsettableWithDefault_NotUnsettableVAT()
+ * @model default="vat15"
+ * @generated
+ */
+ VAT getNotUnsettableVAT();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault#getNotUnsettableVAT
+ * <em>Not Unsettable VAT</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Not Unsettable VAT</em>' attribute.
+ * @see org.eclipse.emf.cdo.tests.model1.VAT
+ * @see #getNotUnsettableVAT()
+ * @generated
+ */
+ void setNotUnsettableVAT(VAT value);
+
+} // NotUnsettableWithDefault
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java
index 24ee8bbd48..4bea097580 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Unsettable2WithDefault.java
@@ -598,7 +598,7 @@ public interface Unsettable2WithDefault extends EObject
boolean isSetUnsettableString();
/**
- * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The default value is <code>"VAT15"</code>. The
+ * Returns the value of the '<em><b>Unsettable VAT</b></em>' attribute. The default value is <code>"vat15"</code>. The
* literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Unsettable VAT</em>' attribute isn't clear, there really should be more of a description
@@ -612,7 +612,7 @@ public interface Unsettable2WithDefault extends EObject
* @see #unsetUnsettableVAT()
* @see #setUnsettableVAT(VAT)
* @see org.eclipse.emf.cdo.tests.model2.Model2Package#getUnsettable2WithDefault_UnsettableVAT()
- * @model default="VAT15" unsettable="true"
+ * @model default="vat15" unsettable="true"
* @generated
*/
VAT getUnsettableVAT();
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java
index 9e4877e632..11f69d3278 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java
@@ -12,6 +12,8 @@ package org.eclipse.emf.cdo.tests.model2.impl;
import org.eclipse.emf.cdo.tests.model2.Model2Factory;
import org.eclipse.emf.cdo.tests.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Task;
@@ -90,6 +92,10 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
return createPersistentContainment();
case Model2Package.TRANSIENT_CONTAINER:
return createTransientContainer();
+ case Model2Package.NOT_UNSETTABLE:
+ return createNotUnsettable();
+ case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT:
+ return createNotUnsettableWithDefault();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -177,6 +183,28 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory
*
* @generated
*/
+ public NotUnsettable createNotUnsettable()
+ {
+ NotUnsettableImpl notUnsettable = new NotUnsettableImpl();
+ return notUnsettable;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public NotUnsettableWithDefault createNotUnsettableWithDefault()
+ {
+ NotUnsettableWithDefaultImpl notUnsettableWithDefault = new NotUnsettableWithDefaultImpl();
+ return notUnsettableWithDefault;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public Model2Package getModel2Package()
{
return (Model2Package)getEPackage();
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java
index 2df7a87c14..c7649a47bb 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java
@@ -13,6 +13,8 @@ package org.eclipse.emf.cdo.tests.model2.impl;
import org.eclipse.emf.cdo.tests.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model2.Model2Factory;
import org.eclipse.emf.cdo.tests.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Task;
@@ -84,6 +86,20 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
private EClass transientContainerEClass = null;
/**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass notUnsettableEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass notUnsettableWithDefaultEClass = null;
+
+ /**
* Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
* EPackage.Registry} by the package package URI value.
* <p>
@@ -566,6 +582,246 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
*
* @generated
*/
+ public EClass getNotUnsettable()
+ {
+ return notUnsettableEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableBoolean()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableByte()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableChar()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableDate()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableDouble()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableFloat()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableInt()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableLong()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableShort()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableString()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettable_NotUnsettableVAT()
+ {
+ return (EAttribute)notUnsettableEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getNotUnsettableWithDefault()
+ {
+ return notUnsettableWithDefaultEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableBoolean()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableByte()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableChar()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableDate()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableDouble()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableFloat()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableInt()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableLong()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableShort()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableString()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getNotUnsettableWithDefault_NotUnsettableVAT()
+ {
+ return (EAttribute)notUnsettableWithDefaultEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public Model2Factory getModel2Factory()
{
return (Model2Factory)getEFactoryInstance();
@@ -640,6 +896,32 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
createEAttribute(transientContainerEClass, TRANSIENT_CONTAINER__ATTR_BEFORE);
createEReference(transientContainerEClass, TRANSIENT_CONTAINER__PARENT);
createEAttribute(transientContainerEClass, TRANSIENT_CONTAINER__ATTR_AFTER);
+
+ notUnsettableEClass = createEClass(NOT_UNSETTABLE);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_DATE);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_INT);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_LONG);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_STRING);
+ createEAttribute(notUnsettableEClass, NOT_UNSETTABLE__NOT_UNSETTABLE_VAT);
+
+ notUnsettableWithDefaultEClass = createEClass(NOT_UNSETTABLE_WITH_DEFAULT);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING);
+ createEAttribute(notUnsettableWithDefaultEClass, NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT);
}
/**
@@ -771,7 +1053,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
initEAttribute(getUnsettable2WithDefault_UnsettableString(), ecorePackage.getEString(), "unsettableString",
"\"eike\"", 0, 1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE,
!IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUnsettable2WithDefault_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", "VAT15", 0,
+ initEAttribute(getUnsettable2WithDefault_UnsettableVAT(), theModel1Package.getVAT(), "unsettableVAT", "vat15", 0,
1, Unsettable2WithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
!IS_DERIVED, IS_ORDERED);
@@ -799,6 +1081,78 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package
TransientContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
!IS_DERIVED, IS_ORDERED);
+ initEClass(notUnsettableEClass, NotUnsettable.class, "NotUnsettable", !IS_ABSTRACT, !IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNotUnsettable_NotUnsettableBoolean(), ecorePackage.getEBoolean(), "notUnsettableBoolean", null,
+ 0, 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableByte(), ecorePackage.getEByte(), "notUnsettableByte", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableChar(), ecorePackage.getEChar(), "notUnsettableChar", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableDate(), ecorePackage.getEDate(), "notUnsettableDate", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableDouble(), ecorePackage.getEDouble(), "notUnsettableDouble", null, 0,
+ 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableFloat(), ecorePackage.getEFloat(), "notUnsettableFloat", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableInt(), ecorePackage.getEInt(), "notUnsettableInt", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableLong(), ecorePackage.getELong(), "notUnsettableLong", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableShort(), ecorePackage.getEShort(), "notUnsettableShort", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableString(), ecorePackage.getEString(), "notUnsettableString", null, 0,
+ 1, NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettable_NotUnsettableVAT(), theModel1Package.getVAT(), "notUnsettableVAT", null, 0, 1,
+ NotUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
+ initEClass(notUnsettableWithDefaultEClass, NotUnsettableWithDefault.class, "NotUnsettableWithDefault",
+ !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableBoolean(), ecorePackage.getEBoolean(),
+ "notUnsettableBoolean", "true", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE,
+ IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableByte(), ecorePackage.getEByte(), "notUnsettableByte", "3",
+ 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableChar(), ecorePackage.getEChar(), "notUnsettableChar",
+ "\'x\'", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableDate(), ecorePackage.getEDate(), "notUnsettableDate",
+ "1979-03-15T07:12:59", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableDouble(), ecorePackage.getEDouble(), "notUnsettableDouble",
+ "3.3", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableFloat(), ecorePackage.getEFloat(), "notUnsettableFloat",
+ "4.4", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableInt(), ecorePackage.getEInt(), "notUnsettableInt", "5", 0,
+ 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableLong(), ecorePackage.getELong(), "notUnsettableLong", "6",
+ 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableShort(), ecorePackage.getEShort(), "notUnsettableShort",
+ "7", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableString(), ecorePackage.getEString(), "notUnsettableString",
+ "\"eike\"", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getNotUnsettableWithDefault_NotUnsettableVAT(), theModel1Package.getVAT(), "notUnsettableVAT",
+ "vat15", 0, 1, NotUnsettableWithDefault.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
+ !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
// Create resource
createResource(eNS_URI);
}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java
new file mode 100644
index 0000000000..b71eeae2a5
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableImpl.java
@@ -0,0 +1,309 @@
+/**
+ * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ *
+ * $Id: NotUnsettableImpl.java,v 1.1 2010-02-26 09:06:21 mfluegge Exp $
+ */
+package org.eclipse.emf.cdo.tests.model2.impl;
+
+import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+
+import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Not Unsettable</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#isNotUnsettableBoolean <em>Not Unsettable Boolean
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableByte <em>Not Unsettable Byte</em>}
+ * </li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableChar <em>Not Unsettable Char</em>}
+ * </li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableDate <em>Not Unsettable Date</em>}
+ * </li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableDouble <em>Not Unsettable Double
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableFloat <em>Not Unsettable Float
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableInt <em>Not Unsettable Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableLong <em>Not Unsettable Long</em>}
+ * </li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableShort <em>Not Unsettable Short
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableString <em>Not Unsettable String
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableImpl#getNotUnsettableVAT <em>Not Unsettable VAT</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class NotUnsettableImpl extends CDOObjectImpl implements NotUnsettable
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected NotUnsettableImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.Literals.NOT_UNSETTABLE;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected int eStaticFeatureCount()
+ {
+ return 0;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isNotUnsettableBoolean()
+ {
+ return (Boolean)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_BOOLEAN, newNotUnsettableBoolean);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public byte getNotUnsettableByte()
+ {
+ return (Byte)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableByte(byte newNotUnsettableByte)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_BYTE, newNotUnsettableByte);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public char getNotUnsettableChar()
+ {
+ return (Character)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableChar(char newNotUnsettableChar)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_CHAR, newNotUnsettableChar);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Date getNotUnsettableDate()
+ {
+ return (Date)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDate(Date newNotUnsettableDate)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_DATE, newNotUnsettableDate);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public double getNotUnsettableDouble()
+ {
+ return (Double)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDouble(double newNotUnsettableDouble)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_DOUBLE, newNotUnsettableDouble);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public float getNotUnsettableFloat()
+ {
+ return (Float)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableFloat(float newNotUnsettableFloat)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_FLOAT, newNotUnsettableFloat);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getNotUnsettableInt()
+ {
+ return (Integer)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_INT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableInt(int newNotUnsettableInt)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_INT, newNotUnsettableInt);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public long getNotUnsettableLong()
+ {
+ return (Long)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableLong(long newNotUnsettableLong)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_LONG, newNotUnsettableLong);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public short getNotUnsettableShort()
+ {
+ return (Short)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableShort(short newNotUnsettableShort)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_SHORT, newNotUnsettableShort);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getNotUnsettableString()
+ {
+ return (String)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableString(String newNotUnsettableString)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_STRING, newNotUnsettableString);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VAT getNotUnsettableVAT()
+ {
+ return (VAT)eGet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableVAT(VAT newNotUnsettableVAT)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE__NOT_UNSETTABLE_VAT, newNotUnsettableVAT);
+ }
+
+} // NotUnsettableImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java
new file mode 100644
index 0000000000..0e9e13e80a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/NotUnsettableWithDefaultImpl.java
@@ -0,0 +1,312 @@
+/**
+ * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ *
+ * $Id: NotUnsettableWithDefaultImpl.java,v 1.1 2010-02-26 09:06:21 mfluegge Exp $
+ */
+package org.eclipse.emf.cdo.tests.model2.impl;
+
+import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
+
+import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Not Unsettable With Default</b></em>'. <!--
+ * end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#isNotUnsettableBoolean <em>Not
+ * Unsettable Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableByte <em>Not Unsettable
+ * Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableChar <em>Not Unsettable
+ * Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDate <em>Not Unsettable
+ * Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableDouble <em>Not
+ * Unsettable Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableFloat <em>Not
+ * Unsettable Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableInt <em>Not Unsettable
+ * Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableLong <em>Not Unsettable
+ * Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableShort <em>Not
+ * Unsettable Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableString <em>Not
+ * Unsettable String</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model2.impl.NotUnsettableWithDefaultImpl#getNotUnsettableVAT <em>Not Unsettable
+ * VAT</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class NotUnsettableWithDefaultImpl extends CDOObjectImpl implements NotUnsettableWithDefault
+{
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected NotUnsettableWithDefaultImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected int eStaticFeatureCount()
+ {
+ return 0;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean isNotUnsettableBoolean()
+ {
+ return (Boolean)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableBoolean(boolean newNotUnsettableBoolean)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BOOLEAN, newNotUnsettableBoolean);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public byte getNotUnsettableByte()
+ {
+ return (Byte)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableByte(byte newNotUnsettableByte)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_BYTE, newNotUnsettableByte);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public char getNotUnsettableChar()
+ {
+ return (Character)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableChar(char newNotUnsettableChar)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_CHAR, newNotUnsettableChar);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Date getNotUnsettableDate()
+ {
+ return (Date)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDate(Date newNotUnsettableDate)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DATE, newNotUnsettableDate);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public double getNotUnsettableDouble()
+ {
+ return (Double)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableDouble(double newNotUnsettableDouble)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_DOUBLE, newNotUnsettableDouble);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public float getNotUnsettableFloat()
+ {
+ return (Float)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableFloat(float newNotUnsettableFloat)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_FLOAT, newNotUnsettableFloat);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public int getNotUnsettableInt()
+ {
+ return (Integer)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableInt(int newNotUnsettableInt)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_INT, newNotUnsettableInt);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public long getNotUnsettableLong()
+ {
+ return (Long)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableLong(long newNotUnsettableLong)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_LONG, newNotUnsettableLong);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public short getNotUnsettableShort()
+ {
+ return (Short)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableShort(short newNotUnsettableShort)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_SHORT, newNotUnsettableShort);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getNotUnsettableString()
+ {
+ return (String)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableString(String newNotUnsettableString)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_STRING, newNotUnsettableString);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public VAT getNotUnsettableVAT()
+ {
+ return (VAT)eGet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void setNotUnsettableVAT(VAT newNotUnsettableVAT)
+ {
+ eSet(Model2Package.Literals.NOT_UNSETTABLE_WITH_DEFAULT__NOT_UNSETTABLE_VAT, newNotUnsettableVAT);
+ }
+
+} // NotUnsettableWithDefaultImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java
index 2116893079..84ded140a0 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java
@@ -13,6 +13,8 @@ package org.eclipse.emf.cdo.tests.model2.util;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Task;
@@ -127,6 +129,18 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
@Override
+ public Adapter caseNotUnsettable(NotUnsettable object)
+ {
+ return createNotUnsettableAdapter();
+ }
+
+ @Override
+ public Adapter caseNotUnsettableWithDefault(NotUnsettableWithDefault object)
+ {
+ return createNotUnsettableWithDefaultAdapter();
+ }
+
+ @Override
public Adapter caseOrder(Order object)
{
return createOrderAdapter();
@@ -262,6 +276,35 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettable
+ * <em>Not Unsettable</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettable
+ * @generated
+ */
+ public Adapter createNotUnsettableAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault
+ * <em>Not Unsettable With Default</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
+ * end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault
+ * @generated
+ */
+ public Adapter createNotUnsettableWithDefaultAdapter()
+ {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Order <em>Order</em>}'. <!--
* begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
* ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java
index 9c92695916..3c8c165a84 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java
@@ -13,6 +13,8 @@ package org.eclipse.emf.cdo.tests.model2.util;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Model2Package;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettable;
+import org.eclipse.emf.cdo.tests.model2.NotUnsettableWithDefault;
import org.eclipse.emf.cdo.tests.model2.PersistentContainment;
import org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder;
import org.eclipse.emf.cdo.tests.model2.Task;
@@ -178,6 +180,26 @@ public class Model2Switch<T>
}
return result;
}
+ case Model2Package.NOT_UNSETTABLE:
+ {
+ NotUnsettable notUnsettable = (NotUnsettable)theEObject;
+ T result = caseNotUnsettable(notUnsettable);
+ if (result == null)
+ {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
+ case Model2Package.NOT_UNSETTABLE_WITH_DEFAULT:
+ {
+ NotUnsettableWithDefault notUnsettableWithDefault = (NotUnsettableWithDefault)theEObject;
+ T result = caseNotUnsettableWithDefault(notUnsettableWithDefault);
+ if (result == null)
+ {
+ result = defaultCase(theEObject);
+ }
+ return result;
+ }
default:
return defaultCase(theEObject);
}
@@ -292,6 +314,37 @@ public class Model2Switch<T>
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Not Unsettable</em>'. <!-- begin-user-doc -->
+ * This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Not Unsettable</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNotUnsettable(NotUnsettable object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Not Unsettable With Default</em>'. <!--
+ * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!--
+ * end-user-doc -->
+ *
+ * @param object
+ * the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Not Unsettable With Default</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNotUnsettableWithDefault(NotUnsettableWithDefault object)
+ {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Order</em>'. <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
*

Back to the top