Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/model/model6.ecore51
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/model/model6.genmodel25
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/model/model6.legacy.genmodel25
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Factory.java19
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Package.java765
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/UnsettableAttributes.java1270
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6FactoryImpl.java20
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6PackageImpl.java367
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/UnsettableAttributesImpl.java1005
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Factory.java20
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Package.java551
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/EmptyStringDefaultUnsettableImpl.java10
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6FactoryImpl.java20
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6PackageImpl.java367
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/UnsettableAttributesImpl.java2346
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6AdapterFactory.java32
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6Switch.java39
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6AdapterFactory.java32
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6Switch.java39
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_405191_Test.java326
21 files changed, 7189 insertions, 143 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.tests.model6/.settings/org.eclipse.core.resources.prefs
index 5833156f66..2d78103785 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/.settings/org.eclipse.core.resources.prefs
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,2 @@
-#Mon Jul 04 13:00:03 CEST 2011
eclipse.preferences.version=1
-
+encoding//model/model6.ecore=UTF-8
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.ecore b/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.ecore
index 700052b709..6420f25e31 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.ecore
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.ecore
@@ -128,4 +128,55 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="attribute" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
defaultValueLiteral="" unsettable="true"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="UnsettableAttributes">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBigDecimal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigDecimal"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBigInteger" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigInteger"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBoolean" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrBooleanObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrByte" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByte"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrByteArray" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByteArray"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrByteObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EByteObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrChar" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrCharacterObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ECharacterObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrDouble" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrDoubleObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDoubleObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrFloat" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrFloatObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloatObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrInt" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrIntegerObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrJavaClass" unsettable="true">
+ <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaClass">
+ <eTypeArguments/>
+ </eGenericType>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrJavaObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrLong" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrLongObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELongObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrShort" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EShort"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrShortObject" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EShortObject"
+ unsettable="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="attrString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
+ unsettable="true"/>
+ </eClassifiers>
</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.genmodel b/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.genmodel
index 53759dd594..df1e850004 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.genmodel
@@ -102,5 +102,30 @@
<genClasses ecoreClass="model6.ecore#//EmptyStringDefaultUnsettable">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//EmptyStringDefaultUnsettable/attribute"/>
</genClasses>
+ <genClasses ecoreClass="model6.ecore#//UnsettableAttributes">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrBigDecimal"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrBigInteger"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrBoolean"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrBooleanObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrByte"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrByteArray"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrByteObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrChar"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrCharacterObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrDate"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrDouble"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrDoubleObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrFloat"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrFloatObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrInt"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrIntegerObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrJavaClass"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrJavaObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrLong"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrLongObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrShort"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrShortObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrString"/>
+ </genClasses>
</genPackages>
</genmodel:GenModel>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.legacy.genmodel b/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.legacy.genmodel
index 3f60bed1bf..5e2c469685 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.legacy.genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/model/model6.legacy.genmodel
@@ -100,5 +100,30 @@
<genClasses ecoreClass="model6.ecore#//EmptyStringDefaultUnsettable">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//EmptyStringDefaultUnsettable/attribute"/>
</genClasses>
+ <genClasses ecoreClass="model6.ecore#//UnsettableAttributes">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrBigDecimal"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrBigInteger"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrBoolean"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrBooleanObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrByte"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrByteArray"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrByteObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrChar"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrCharacterObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrDate"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrDouble"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrDoubleObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrFloat"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrFloatObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrInt"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrIntegerObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrJavaClass"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrJavaObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrLong"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrLongObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrShort"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrShortObject"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model6.ecore#//UnsettableAttributes/attrString"/>
+ </genClasses>
</genPackages>
</genmodel:GenModel>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Factory.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Factory.java
index d35f766db3..2366a37e31 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Factory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Factory.java
@@ -206,11 +206,20 @@ public interface Model6Factory extends EFactory
EmptyStringDefaultUnsettable createEmptyStringDefaultUnsettable();
/**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
+ * Returns a new object of class '<em>Unsettable Attributes</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Unsettable Attributes</em>'.
+ * @generated
+ */
+ UnsettableAttributes createUnsettableAttributes();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
Model6Package getModel6Package();
} // Model6Factory
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Package.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Package.java
index 7d545aa3ac..af3b2d742a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Package.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/Model6Package.java
@@ -863,32 +863,258 @@ public interface Model6Package extends EPackage
int EMPTY_STRING_DEFAULT_UNSETTABLE = 22;
/**
- * The feature id for the '<em><b>Attribute</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * The feature id for the '<em><b>Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- * @ordered
- */
+ * @generated
+ * @ordered
+ */
int EMPTY_STRING_DEFAULT_UNSETTABLE__ATTRIBUTE = 0;
/**
- * The number of structural features of the '<em>Empty String Default Unsettable</em>' class.
- * <!-- begin-user-doc -->
+ * The number of structural features of the '<em>Empty String Default Unsettable</em>' class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- * @ordered
- */
+ * @generated
+ * @ordered
+ */
int EMPTY_STRING_DEFAULT_UNSETTABLE_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}' enum.
- * <!-- begin-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl <em>Unsettable Attributes</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl
+ * @see org.eclipse.emf.cdo.tests.model6.impl.Model6PackageImpl#getUnsettableAttributes()
+ * @generated
+ */
+ int UNSETTABLE_ATTRIBUTES = 23;
+
+ /**
+ * The feature id for the '<em><b>Attr Big Decimal</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL = 0;
+
+ /**
+ * The feature id for the '<em><b>Attr Big Integer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER = 1;
+
+ /**
+ * The feature id for the '<em><b>Attr Boolean</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN = 2;
+
+ /**
+ * The feature id for the '<em><b>Attr Boolean Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT = 3;
+
+ /**
+ * The feature id for the '<em><b>Attr Byte</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BYTE = 4;
+
+ /**
+ * The feature id for the '<em><b>Attr Byte Array</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY = 5;
+
+ /**
+ * The feature id for the '<em><b>Attr Byte Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT = 6;
+
+ /**
+ * The feature id for the '<em><b>Attr Char</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_CHAR = 7;
+
+ /**
+ * The feature id for the '<em><b>Attr Character Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT = 8;
+
+ /**
+ * The feature id for the '<em><b>Attr Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_DATE = 9;
+
+ /**
+ * The feature id for the '<em><b>Attr Double</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE = 10;
+
+ /**
+ * The feature id for the '<em><b>Attr Double Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT = 11;
+
+ /**
+ * The feature id for the '<em><b>Attr Float</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_FLOAT = 12;
+
+ /**
+ * The feature id for the '<em><b>Attr Float Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT = 13;
+
+ /**
+ * The feature id for the '<em><b>Attr Int</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_INT = 14;
+
+ /**
+ * The feature id for the '<em><b>Attr Integer Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT = 15;
+
+ /**
+ * The feature id for the '<em><b>Attr Java Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS = 16;
+
+ /**
+ * The feature id for the '<em><b>Attr Java Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT = 17;
+
+ /**
+ * The feature id for the '<em><b>Attr Long</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_LONG = 18;
+
+ /**
+ * The feature id for the '<em><b>Attr Long Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT = 19;
+
+ /**
+ * The feature id for the '<em><b>Attr Short</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_SHORT = 20;
+
+ /**
+ * The feature id for the '<em><b>Attr Short Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT = 21;
+
+ /**
+ * The feature id for the '<em><b>Attr String</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_STRING = 22;
+
+ /**
+ * The number of structural features of the '<em>Unsettable Attributes</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES_FEATURE_COUNT = 23;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}' enum.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.model6.MyEnum
- * @see org.eclipse.emf.cdo.tests.model6.impl.Model6PackageImpl#getMyEnum()
- * @generated
- */
- int MY_ENUM = 23;
+ * @see org.eclipse.emf.cdo.tests.model6.MyEnum
+ * @see org.eclipse.emf.cdo.tests.model6.impl.Model6PackageImpl#getMyEnum()
+ * @generated
+ */
+ int MY_ENUM = 24;
/**
* The meta object id for the '<em>My String</em>' data type.
@@ -898,7 +1124,7 @@ public interface Model6Package extends EPackage
* @see org.eclipse.emf.cdo.tests.model6.impl.Model6PackageImpl#getMyString()
* @generated
*/
- int MY_STRING = 24;
+ int MY_STRING = 25;
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model6.Root <em>Root</em>}'. <!--
@@ -1505,24 +1731,287 @@ public interface Model6Package extends EPackage
EClass getEmptyStringDefaultUnsettable();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable#getAttribute <em>Attribute</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable#getAttribute <em>Attribute</em>}'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Attribute</em>'.
- * @see org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable#getAttribute()
- * @see #getEmptyStringDefaultUnsettable()
- * @generated
- */
+ * @return the meta object for the attribute '<em>Attribute</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable#getAttribute()
+ * @see #getEmptyStringDefaultUnsettable()
+ * @generated
+ */
EAttribute getEmptyStringDefaultUnsettable_Attribute();
/**
- * Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes <em>Unsettable Attributes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Unsettable Attributes</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes
+ * @generated
+ */
+ EClass getUnsettableAttributes();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigDecimal <em>Attr Big Decimal</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Big Decimal</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigDecimal()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrBigDecimal();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigInteger <em>Attr Big Integer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Big Integer</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigInteger()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrBigInteger();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#isAttrBoolean <em>Attr Boolean</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#isAttrBoolean()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrBoolean();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBooleanObject <em>Attr Boolean Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Boolean Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBooleanObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrBooleanObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByte <em>Attr Byte</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByte()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrByte();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteArray <em>Attr Byte Array</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Byte Array</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteArray()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrByteArray();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteObject <em>Attr Byte Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Byte Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrByteObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrChar <em>Attr Char</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrChar()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrChar();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrCharacterObject <em>Attr Character Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Character Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrCharacterObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrCharacterObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDate <em>Attr Date</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDate()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrDate();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDouble <em>Attr Double</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDouble()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrDouble();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDoubleObject <em>Attr Double Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Double Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDoubleObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrDoubleObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloat <em>Attr Float</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloat()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrFloat();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloatObject <em>Attr Float Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Float Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloatObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrFloatObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrInt <em>Attr Int</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrInt()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrInt();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrIntegerObject <em>Attr Integer Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Integer Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrIntegerObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrIntegerObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaClass <em>Attr Java Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Java Class</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaClass()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrJavaClass();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaObject <em>Attr Java Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Java Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrJavaObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLong <em>Attr Long</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLong()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrLong();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLongObject <em>Attr Long Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Long Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLongObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrLongObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShort <em>Attr Short</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShort()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrShort();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShortObject <em>Attr Short Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Short Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShortObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrShortObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrString <em>Attr String</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr String</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrString()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrString();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for enum '<em>My Enum</em>'.
- * @see org.eclipse.emf.cdo.tests.model6.MyEnum
- * @generated
- */
+ * @return the meta object for enum '<em>My Enum</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.MyEnum
+ * @generated
+ */
EEnum getMyEnum();
/**
@@ -2069,21 +2558,215 @@ public interface Model6Package extends EPackage
EClass EMPTY_STRING_DEFAULT_UNSETTABLE = eINSTANCE.getEmptyStringDefaultUnsettable();
/**
- * The meta object literal for the '<em><b>Attribute</b></em>' attribute feature.
- * <!-- begin-user-doc -->
+ * The meta object literal for the '<em><b>Attribute</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
EAttribute EMPTY_STRING_DEFAULT_UNSETTABLE__ATTRIBUTE = eINSTANCE.getEmptyStringDefaultUnsettable_Attribute();
/**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}' enum.
- * <!-- begin-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl <em>Unsettable Attributes</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl
+ * @see org.eclipse.emf.cdo.tests.model6.impl.Model6PackageImpl#getUnsettableAttributes()
+ * @generated
+ */
+ EClass UNSETTABLE_ATTRIBUTES = eINSTANCE.getUnsettableAttributes();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Big Decimal</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL = eINSTANCE.getUnsettableAttributes_AttrBigDecimal();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Big Integer</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER = eINSTANCE.getUnsettableAttributes_AttrBigInteger();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Boolean</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN = eINSTANCE.getUnsettableAttributes_AttrBoolean();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Boolean Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT = eINSTANCE.getUnsettableAttributes_AttrBooleanObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Byte</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_BYTE = eINSTANCE.getUnsettableAttributes_AttrByte();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Byte Array</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY = eINSTANCE.getUnsettableAttributes_AttrByteArray();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Byte Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT = eINSTANCE.getUnsettableAttributes_AttrByteObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Char</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_CHAR = eINSTANCE.getUnsettableAttributes_AttrChar();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Character Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT = eINSTANCE.getUnsettableAttributes_AttrCharacterObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Date</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_DATE = eINSTANCE.getUnsettableAttributes_AttrDate();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Double</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE = eINSTANCE.getUnsettableAttributes_AttrDouble();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Double Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT = eINSTANCE.getUnsettableAttributes_AttrDoubleObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Float</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_FLOAT = eINSTANCE.getUnsettableAttributes_AttrFloat();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Float Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT = eINSTANCE.getUnsettableAttributes_AttrFloatObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Int</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_INT = eINSTANCE.getUnsettableAttributes_AttrInt();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Integer Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT = eINSTANCE.getUnsettableAttributes_AttrIntegerObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Java Class</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS = eINSTANCE.getUnsettableAttributes_AttrJavaClass();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Java Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT = eINSTANCE.getUnsettableAttributes_AttrJavaObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Long</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_LONG = eINSTANCE.getUnsettableAttributes_AttrLong();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Long Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT = eINSTANCE.getUnsettableAttributes_AttrLongObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Short</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_SHORT = eINSTANCE.getUnsettableAttributes_AttrShort();
+
+ /**
+ * The meta object literal for the '<em><b>Attr Short Object</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT = eINSTANCE.getUnsettableAttributes_AttrShortObject();
+
+ /**
+ * The meta object literal for the '<em><b>Attr String</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNSETTABLE_ATTRIBUTES__ATTR_STRING = eINSTANCE.getUnsettableAttributes_AttrString();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}' enum.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.model6.MyEnum
- * @see org.eclipse.emf.cdo.tests.model6.impl.Model6PackageImpl#getMyEnum()
- * @generated
- */
+ * @see org.eclipse.emf.cdo.tests.model6.MyEnum
+ * @see org.eclipse.emf.cdo.tests.model6.impl.Model6PackageImpl#getMyEnum()
+ * @generated
+ */
EEnum MY_ENUM = eINSTANCE.getMyEnum();
/**
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/UnsettableAttributes.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/UnsettableAttributes.java
new file mode 100644
index 0000000000..2bf4cbb42e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/UnsettableAttributes.java
@@ -0,0 +1,1270 @@
+/**
+ */
+package org.eclipse.emf.cdo.tests.model6;
+
+import org.eclipse.emf.ecore.EObject;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Unsettable Attributes</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigDecimal <em>Attr Big Decimal</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigInteger <em>Attr Big Integer</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#isAttrBoolean <em>Attr Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBooleanObject <em>Attr Boolean Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByte <em>Attr Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteArray <em>Attr Byte Array</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteObject <em>Attr Byte Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrChar <em>Attr Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrCharacterObject <em>Attr Character Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDate <em>Attr Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDouble <em>Attr Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDoubleObject <em>Attr Double Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloat <em>Attr Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloatObject <em>Attr Float Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrInt <em>Attr Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrIntegerObject <em>Attr Integer Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaClass <em>Attr Java Class</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaObject <em>Attr Java Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLong <em>Attr Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLongObject <em>Attr Long Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShort <em>Attr Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShortObject <em>Attr Short Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrString <em>Attr String</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes()
+ * @model
+ * @generated
+ */
+public interface UnsettableAttributes extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Attr Big Decimal</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Big Decimal</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Big Decimal</em>' attribute.
+ * @see #isSetAttrBigDecimal()
+ * @see #unsetAttrBigDecimal()
+ * @see #setAttrBigDecimal(BigDecimal)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrBigDecimal()
+ * @model unsettable="true"
+ * @generated
+ */
+ BigDecimal getAttrBigDecimal();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigDecimal <em>Attr Big Decimal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Big Decimal</em>' attribute.
+ * @see #isSetAttrBigDecimal()
+ * @see #unsetAttrBigDecimal()
+ * @see #getAttrBigDecimal()
+ * @generated
+ */
+ void setAttrBigDecimal(BigDecimal value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigDecimal <em>Attr Big Decimal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrBigDecimal()
+ * @see #getAttrBigDecimal()
+ * @see #setAttrBigDecimal(BigDecimal)
+ * @generated
+ */
+ void unsetAttrBigDecimal();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigDecimal <em>Attr Big Decimal</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Big Decimal</em>' attribute is set.
+ * @see #unsetAttrBigDecimal()
+ * @see #getAttrBigDecimal()
+ * @see #setAttrBigDecimal(BigDecimal)
+ * @generated
+ */
+ boolean isSetAttrBigDecimal();
+
+ /**
+ * Returns the value of the '<em><b>Attr Big Integer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Big Integer</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Big Integer</em>' attribute.
+ * @see #isSetAttrBigInteger()
+ * @see #unsetAttrBigInteger()
+ * @see #setAttrBigInteger(BigInteger)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrBigInteger()
+ * @model unsettable="true"
+ * @generated
+ */
+ BigInteger getAttrBigInteger();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigInteger <em>Attr Big Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Big Integer</em>' attribute.
+ * @see #isSetAttrBigInteger()
+ * @see #unsetAttrBigInteger()
+ * @see #getAttrBigInteger()
+ * @generated
+ */
+ void setAttrBigInteger(BigInteger value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigInteger <em>Attr Big Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrBigInteger()
+ * @see #getAttrBigInteger()
+ * @see #setAttrBigInteger(BigInteger)
+ * @generated
+ */
+ void unsetAttrBigInteger();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigInteger <em>Attr Big Integer</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Big Integer</em>' attribute is set.
+ * @see #unsetAttrBigInteger()
+ * @see #getAttrBigInteger()
+ * @see #setAttrBigInteger(BigInteger)
+ * @generated
+ */
+ boolean isSetAttrBigInteger();
+
+ /**
+ * Returns the value of the '<em><b>Attr Boolean</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Boolean</em>' attribute.
+ * @see #isSetAttrBoolean()
+ * @see #unsetAttrBoolean()
+ * @see #setAttrBoolean(boolean)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrBoolean()
+ * @model unsettable="true"
+ * @generated
+ */
+ boolean isAttrBoolean();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#isAttrBoolean <em>Attr Boolean</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Boolean</em>' attribute.
+ * @see #isSetAttrBoolean()
+ * @see #unsetAttrBoolean()
+ * @see #isAttrBoolean()
+ * @generated
+ */
+ void setAttrBoolean(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#isAttrBoolean <em>Attr Boolean</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrBoolean()
+ * @see #isAttrBoolean()
+ * @see #setAttrBoolean(boolean)
+ * @generated
+ */
+ void unsetAttrBoolean();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#isAttrBoolean <em>Attr Boolean</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Boolean</em>' attribute is set.
+ * @see #unsetAttrBoolean()
+ * @see #isAttrBoolean()
+ * @see #setAttrBoolean(boolean)
+ * @generated
+ */
+ boolean isSetAttrBoolean();
+
+ /**
+ * Returns the value of the '<em><b>Attr Boolean Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Boolean Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Boolean Object</em>' attribute.
+ * @see #isSetAttrBooleanObject()
+ * @see #unsetAttrBooleanObject()
+ * @see #setAttrBooleanObject(Boolean)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrBooleanObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Boolean getAttrBooleanObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBooleanObject <em>Attr Boolean Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Boolean Object</em>' attribute.
+ * @see #isSetAttrBooleanObject()
+ * @see #unsetAttrBooleanObject()
+ * @see #getAttrBooleanObject()
+ * @generated
+ */
+ void setAttrBooleanObject(Boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBooleanObject <em>Attr Boolean Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrBooleanObject()
+ * @see #getAttrBooleanObject()
+ * @see #setAttrBooleanObject(Boolean)
+ * @generated
+ */
+ void unsetAttrBooleanObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBooleanObject <em>Attr Boolean Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Boolean Object</em>' attribute is set.
+ * @see #unsetAttrBooleanObject()
+ * @see #getAttrBooleanObject()
+ * @see #setAttrBooleanObject(Boolean)
+ * @generated
+ */
+ boolean isSetAttrBooleanObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr Byte</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Byte</em>' attribute.
+ * @see #isSetAttrByte()
+ * @see #unsetAttrByte()
+ * @see #setAttrByte(byte)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrByte()
+ * @model unsettable="true"
+ * @generated
+ */
+ byte getAttrByte();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByte <em>Attr Byte</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Byte</em>' attribute.
+ * @see #isSetAttrByte()
+ * @see #unsetAttrByte()
+ * @see #getAttrByte()
+ * @generated
+ */
+ void setAttrByte(byte value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByte <em>Attr Byte</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrByte()
+ * @see #getAttrByte()
+ * @see #setAttrByte(byte)
+ * @generated
+ */
+ void unsetAttrByte();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByte <em>Attr Byte</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Byte</em>' attribute is set.
+ * @see #unsetAttrByte()
+ * @see #getAttrByte()
+ * @see #setAttrByte(byte)
+ * @generated
+ */
+ boolean isSetAttrByte();
+
+ /**
+ * Returns the value of the '<em><b>Attr Byte Array</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Byte Array</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Byte Array</em>' attribute.
+ * @see #isSetAttrByteArray()
+ * @see #unsetAttrByteArray()
+ * @see #setAttrByteArray(byte[])
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrByteArray()
+ * @model unsettable="true"
+ * @generated
+ */
+ byte[] getAttrByteArray();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteArray <em>Attr Byte Array</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Byte Array</em>' attribute.
+ * @see #isSetAttrByteArray()
+ * @see #unsetAttrByteArray()
+ * @see #getAttrByteArray()
+ * @generated
+ */
+ void setAttrByteArray(byte[] value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteArray <em>Attr Byte Array</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrByteArray()
+ * @see #getAttrByteArray()
+ * @see #setAttrByteArray(byte[])
+ * @generated
+ */
+ void unsetAttrByteArray();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteArray <em>Attr Byte Array</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Byte Array</em>' attribute is set.
+ * @see #unsetAttrByteArray()
+ * @see #getAttrByteArray()
+ * @see #setAttrByteArray(byte[])
+ * @generated
+ */
+ boolean isSetAttrByteArray();
+
+ /**
+ * Returns the value of the '<em><b>Attr Byte Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Byte Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Byte Object</em>' attribute.
+ * @see #isSetAttrByteObject()
+ * @see #unsetAttrByteObject()
+ * @see #setAttrByteObject(Byte)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrByteObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Byte getAttrByteObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteObject <em>Attr Byte Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Byte Object</em>' attribute.
+ * @see #isSetAttrByteObject()
+ * @see #unsetAttrByteObject()
+ * @see #getAttrByteObject()
+ * @generated
+ */
+ void setAttrByteObject(Byte value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteObject <em>Attr Byte Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrByteObject()
+ * @see #getAttrByteObject()
+ * @see #setAttrByteObject(Byte)
+ * @generated
+ */
+ void unsetAttrByteObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteObject <em>Attr Byte Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Byte Object</em>' attribute is set.
+ * @see #unsetAttrByteObject()
+ * @see #getAttrByteObject()
+ * @see #setAttrByteObject(Byte)
+ * @generated
+ */
+ boolean isSetAttrByteObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr Char</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Char</em>' attribute.
+ * @see #isSetAttrChar()
+ * @see #unsetAttrChar()
+ * @see #setAttrChar(char)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrChar()
+ * @model unsettable="true"
+ * @generated
+ */
+ char getAttrChar();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrChar <em>Attr Char</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Char</em>' attribute.
+ * @see #isSetAttrChar()
+ * @see #unsetAttrChar()
+ * @see #getAttrChar()
+ * @generated
+ */
+ void setAttrChar(char value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrChar <em>Attr Char</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrChar()
+ * @see #getAttrChar()
+ * @see #setAttrChar(char)
+ * @generated
+ */
+ void unsetAttrChar();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrChar <em>Attr Char</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Char</em>' attribute is set.
+ * @see #unsetAttrChar()
+ * @see #getAttrChar()
+ * @see #setAttrChar(char)
+ * @generated
+ */
+ boolean isSetAttrChar();
+
+ /**
+ * Returns the value of the '<em><b>Attr Character Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Character Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Character Object</em>' attribute.
+ * @see #isSetAttrCharacterObject()
+ * @see #unsetAttrCharacterObject()
+ * @see #setAttrCharacterObject(Character)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrCharacterObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Character getAttrCharacterObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrCharacterObject <em>Attr Character Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Character Object</em>' attribute.
+ * @see #isSetAttrCharacterObject()
+ * @see #unsetAttrCharacterObject()
+ * @see #getAttrCharacterObject()
+ * @generated
+ */
+ void setAttrCharacterObject(Character value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrCharacterObject <em>Attr Character Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrCharacterObject()
+ * @see #getAttrCharacterObject()
+ * @see #setAttrCharacterObject(Character)
+ * @generated
+ */
+ void unsetAttrCharacterObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrCharacterObject <em>Attr Character Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Character Object</em>' attribute is set.
+ * @see #unsetAttrCharacterObject()
+ * @see #getAttrCharacterObject()
+ * @see #setAttrCharacterObject(Character)
+ * @generated
+ */
+ boolean isSetAttrCharacterObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Date</em>' attribute.
+ * @see #isSetAttrDate()
+ * @see #unsetAttrDate()
+ * @see #setAttrDate(Date)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrDate()
+ * @model unsettable="true"
+ * @generated
+ */
+ Date getAttrDate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDate <em>Attr Date</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Date</em>' attribute.
+ * @see #isSetAttrDate()
+ * @see #unsetAttrDate()
+ * @see #getAttrDate()
+ * @generated
+ */
+ void setAttrDate(Date value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDate <em>Attr Date</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrDate()
+ * @see #getAttrDate()
+ * @see #setAttrDate(Date)
+ * @generated
+ */
+ void unsetAttrDate();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDate <em>Attr Date</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Date</em>' attribute is set.
+ * @see #unsetAttrDate()
+ * @see #getAttrDate()
+ * @see #setAttrDate(Date)
+ * @generated
+ */
+ boolean isSetAttrDate();
+
+ /**
+ * Returns the value of the '<em><b>Attr Double</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Double</em>' attribute.
+ * @see #isSetAttrDouble()
+ * @see #unsetAttrDouble()
+ * @see #setAttrDouble(double)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrDouble()
+ * @model unsettable="true"
+ * @generated
+ */
+ double getAttrDouble();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDouble <em>Attr Double</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Double</em>' attribute.
+ * @see #isSetAttrDouble()
+ * @see #unsetAttrDouble()
+ * @see #getAttrDouble()
+ * @generated
+ */
+ void setAttrDouble(double value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDouble <em>Attr Double</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrDouble()
+ * @see #getAttrDouble()
+ * @see #setAttrDouble(double)
+ * @generated
+ */
+ void unsetAttrDouble();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDouble <em>Attr Double</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Double</em>' attribute is set.
+ * @see #unsetAttrDouble()
+ * @see #getAttrDouble()
+ * @see #setAttrDouble(double)
+ * @generated
+ */
+ boolean isSetAttrDouble();
+
+ /**
+ * Returns the value of the '<em><b>Attr Double Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Double Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Double Object</em>' attribute.
+ * @see #isSetAttrDoubleObject()
+ * @see #unsetAttrDoubleObject()
+ * @see #setAttrDoubleObject(Double)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrDoubleObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Double getAttrDoubleObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDoubleObject <em>Attr Double Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Double Object</em>' attribute.
+ * @see #isSetAttrDoubleObject()
+ * @see #unsetAttrDoubleObject()
+ * @see #getAttrDoubleObject()
+ * @generated
+ */
+ void setAttrDoubleObject(Double value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDoubleObject <em>Attr Double Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrDoubleObject()
+ * @see #getAttrDoubleObject()
+ * @see #setAttrDoubleObject(Double)
+ * @generated
+ */
+ void unsetAttrDoubleObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDoubleObject <em>Attr Double Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Double Object</em>' attribute is set.
+ * @see #unsetAttrDoubleObject()
+ * @see #getAttrDoubleObject()
+ * @see #setAttrDoubleObject(Double)
+ * @generated
+ */
+ boolean isSetAttrDoubleObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr Float</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Float</em>' attribute.
+ * @see #isSetAttrFloat()
+ * @see #unsetAttrFloat()
+ * @see #setAttrFloat(float)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrFloat()
+ * @model unsettable="true"
+ * @generated
+ */
+ float getAttrFloat();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloat <em>Attr Float</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Float</em>' attribute.
+ * @see #isSetAttrFloat()
+ * @see #unsetAttrFloat()
+ * @see #getAttrFloat()
+ * @generated
+ */
+ void setAttrFloat(float value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloat <em>Attr Float</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrFloat()
+ * @see #getAttrFloat()
+ * @see #setAttrFloat(float)
+ * @generated
+ */
+ void unsetAttrFloat();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloat <em>Attr Float</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Float</em>' attribute is set.
+ * @see #unsetAttrFloat()
+ * @see #getAttrFloat()
+ * @see #setAttrFloat(float)
+ * @generated
+ */
+ boolean isSetAttrFloat();
+
+ /**
+ * Returns the value of the '<em><b>Attr Float Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Float Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Float Object</em>' attribute.
+ * @see #isSetAttrFloatObject()
+ * @see #unsetAttrFloatObject()
+ * @see #setAttrFloatObject(Float)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrFloatObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Float getAttrFloatObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloatObject <em>Attr Float Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Float Object</em>' attribute.
+ * @see #isSetAttrFloatObject()
+ * @see #unsetAttrFloatObject()
+ * @see #getAttrFloatObject()
+ * @generated
+ */
+ void setAttrFloatObject(Float value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloatObject <em>Attr Float Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrFloatObject()
+ * @see #getAttrFloatObject()
+ * @see #setAttrFloatObject(Float)
+ * @generated
+ */
+ void unsetAttrFloatObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloatObject <em>Attr Float Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Float Object</em>' attribute is set.
+ * @see #unsetAttrFloatObject()
+ * @see #getAttrFloatObject()
+ * @see #setAttrFloatObject(Float)
+ * @generated
+ */
+ boolean isSetAttrFloatObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr Int</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Int</em>' attribute.
+ * @see #isSetAttrInt()
+ * @see #unsetAttrInt()
+ * @see #setAttrInt(int)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrInt()
+ * @model unsettable="true"
+ * @generated
+ */
+ int getAttrInt();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrInt <em>Attr Int</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Int</em>' attribute.
+ * @see #isSetAttrInt()
+ * @see #unsetAttrInt()
+ * @see #getAttrInt()
+ * @generated
+ */
+ void setAttrInt(int value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrInt <em>Attr Int</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrInt()
+ * @see #getAttrInt()
+ * @see #setAttrInt(int)
+ * @generated
+ */
+ void unsetAttrInt();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrInt <em>Attr Int</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Int</em>' attribute is set.
+ * @see #unsetAttrInt()
+ * @see #getAttrInt()
+ * @see #setAttrInt(int)
+ * @generated
+ */
+ boolean isSetAttrInt();
+
+ /**
+ * Returns the value of the '<em><b>Attr Integer Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Integer Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Integer Object</em>' attribute.
+ * @see #isSetAttrIntegerObject()
+ * @see #unsetAttrIntegerObject()
+ * @see #setAttrIntegerObject(Integer)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrIntegerObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Integer getAttrIntegerObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrIntegerObject <em>Attr Integer Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Integer Object</em>' attribute.
+ * @see #isSetAttrIntegerObject()
+ * @see #unsetAttrIntegerObject()
+ * @see #getAttrIntegerObject()
+ * @generated
+ */
+ void setAttrIntegerObject(Integer value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrIntegerObject <em>Attr Integer Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrIntegerObject()
+ * @see #getAttrIntegerObject()
+ * @see #setAttrIntegerObject(Integer)
+ * @generated
+ */
+ void unsetAttrIntegerObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrIntegerObject <em>Attr Integer Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Integer Object</em>' attribute is set.
+ * @see #unsetAttrIntegerObject()
+ * @see #getAttrIntegerObject()
+ * @see #setAttrIntegerObject(Integer)
+ * @generated
+ */
+ boolean isSetAttrIntegerObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr Java Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Java Class</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Java Class</em>' attribute.
+ * @see #isSetAttrJavaClass()
+ * @see #unsetAttrJavaClass()
+ * @see #setAttrJavaClass(Class)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrJavaClass()
+ * @model unsettable="true"
+ * @generated
+ */
+ Class<?> getAttrJavaClass();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaClass <em>Attr Java Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Java Class</em>' attribute.
+ * @see #isSetAttrJavaClass()
+ * @see #unsetAttrJavaClass()
+ * @see #getAttrJavaClass()
+ * @generated
+ */
+ void setAttrJavaClass(Class<?> value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaClass <em>Attr Java Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrJavaClass()
+ * @see #getAttrJavaClass()
+ * @see #setAttrJavaClass(Class)
+ * @generated
+ */
+ void unsetAttrJavaClass();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaClass <em>Attr Java Class</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Java Class</em>' attribute is set.
+ * @see #unsetAttrJavaClass()
+ * @see #getAttrJavaClass()
+ * @see #setAttrJavaClass(Class)
+ * @generated
+ */
+ boolean isSetAttrJavaClass();
+
+ /**
+ * Returns the value of the '<em><b>Attr Java Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Java Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Java Object</em>' attribute.
+ * @see #isSetAttrJavaObject()
+ * @see #unsetAttrJavaObject()
+ * @see #setAttrJavaObject(Object)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrJavaObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Object getAttrJavaObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaObject <em>Attr Java Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Java Object</em>' attribute.
+ * @see #isSetAttrJavaObject()
+ * @see #unsetAttrJavaObject()
+ * @see #getAttrJavaObject()
+ * @generated
+ */
+ void setAttrJavaObject(Object value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaObject <em>Attr Java Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrJavaObject()
+ * @see #getAttrJavaObject()
+ * @see #setAttrJavaObject(Object)
+ * @generated
+ */
+ void unsetAttrJavaObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaObject <em>Attr Java Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Java Object</em>' attribute is set.
+ * @see #unsetAttrJavaObject()
+ * @see #getAttrJavaObject()
+ * @see #setAttrJavaObject(Object)
+ * @generated
+ */
+ boolean isSetAttrJavaObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr Long</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Long</em>' attribute.
+ * @see #isSetAttrLong()
+ * @see #unsetAttrLong()
+ * @see #setAttrLong(long)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrLong()
+ * @model unsettable="true"
+ * @generated
+ */
+ long getAttrLong();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLong <em>Attr Long</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Long</em>' attribute.
+ * @see #isSetAttrLong()
+ * @see #unsetAttrLong()
+ * @see #getAttrLong()
+ * @generated
+ */
+ void setAttrLong(long value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLong <em>Attr Long</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrLong()
+ * @see #getAttrLong()
+ * @see #setAttrLong(long)
+ * @generated
+ */
+ void unsetAttrLong();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLong <em>Attr Long</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Long</em>' attribute is set.
+ * @see #unsetAttrLong()
+ * @see #getAttrLong()
+ * @see #setAttrLong(long)
+ * @generated
+ */
+ boolean isSetAttrLong();
+
+ /**
+ * Returns the value of the '<em><b>Attr Long Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Long Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Long Object</em>' attribute.
+ * @see #isSetAttrLongObject()
+ * @see #unsetAttrLongObject()
+ * @see #setAttrLongObject(Long)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrLongObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Long getAttrLongObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLongObject <em>Attr Long Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Long Object</em>' attribute.
+ * @see #isSetAttrLongObject()
+ * @see #unsetAttrLongObject()
+ * @see #getAttrLongObject()
+ * @generated
+ */
+ void setAttrLongObject(Long value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLongObject <em>Attr Long Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrLongObject()
+ * @see #getAttrLongObject()
+ * @see #setAttrLongObject(Long)
+ * @generated
+ */
+ void unsetAttrLongObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLongObject <em>Attr Long Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Long Object</em>' attribute is set.
+ * @see #unsetAttrLongObject()
+ * @see #getAttrLongObject()
+ * @see #setAttrLongObject(Long)
+ * @generated
+ */
+ boolean isSetAttrLongObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr Short</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr Short</em>' attribute.
+ * @see #isSetAttrShort()
+ * @see #unsetAttrShort()
+ * @see #setAttrShort(short)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrShort()
+ * @model unsettable="true"
+ * @generated
+ */
+ short getAttrShort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShort <em>Attr Short</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Short</em>' attribute.
+ * @see #isSetAttrShort()
+ * @see #unsetAttrShort()
+ * @see #getAttrShort()
+ * @generated
+ */
+ void setAttrShort(short value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShort <em>Attr Short</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrShort()
+ * @see #getAttrShort()
+ * @see #setAttrShort(short)
+ * @generated
+ */
+ void unsetAttrShort();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShort <em>Attr Short</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Short</em>' attribute is set.
+ * @see #unsetAttrShort()
+ * @see #getAttrShort()
+ * @see #setAttrShort(short)
+ * @generated
+ */
+ boolean isSetAttrShort();
+
+ /**
+ * Returns the value of the '<em><b>Attr Short Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr Short Object</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attr Short Object</em>' attribute.
+ * @see #isSetAttrShortObject()
+ * @see #unsetAttrShortObject()
+ * @see #setAttrShortObject(Short)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrShortObject()
+ * @model unsettable="true"
+ * @generated
+ */
+ Short getAttrShortObject();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShortObject <em>Attr Short Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr Short Object</em>' attribute.
+ * @see #isSetAttrShortObject()
+ * @see #unsetAttrShortObject()
+ * @see #getAttrShortObject()
+ * @generated
+ */
+ void setAttrShortObject(Short value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShortObject <em>Attr Short Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrShortObject()
+ * @see #getAttrShortObject()
+ * @see #setAttrShortObject(Short)
+ * @generated
+ */
+ void unsetAttrShortObject();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShortObject <em>Attr Short Object</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr Short Object</em>' attribute is set.
+ * @see #unsetAttrShortObject()
+ * @see #getAttrShortObject()
+ * @see #setAttrShortObject(Short)
+ * @generated
+ */
+ boolean isSetAttrShortObject();
+
+ /**
+ * Returns the value of the '<em><b>Attr String</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attr 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>Attr String</em>' attribute.
+ * @see #isSetAttrString()
+ * @see #unsetAttrString()
+ * @see #setAttrString(String)
+ * @see org.eclipse.emf.cdo.tests.model6.Model6Package#getUnsettableAttributes_AttrString()
+ * @model unsettable="true"
+ * @generated
+ */
+ String getAttrString();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrString <em>Attr String</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Attr String</em>' attribute.
+ * @see #isSetAttrString()
+ * @see #unsetAttrString()
+ * @see #getAttrString()
+ * @generated
+ */
+ void setAttrString(String value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrString <em>Attr String</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAttrString()
+ * @see #getAttrString()
+ * @see #setAttrString(String)
+ * @generated
+ */
+ void unsetAttrString();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrString <em>Attr String</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Attr String</em>' attribute is set.
+ * @see #unsetAttrString()
+ * @see #getAttrString()
+ * @see #setAttrString(String)
+ * @generated
+ */
+ boolean isSetAttrString();
+
+} // UnsettableAttributes
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6FactoryImpl.java
index 5998df6e73..3e7ac1af55 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6FactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6FactoryImpl.java
@@ -34,6 +34,7 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
@@ -138,6 +139,8 @@ public class Model6FactoryImpl extends EFactoryImpl implements Model6Factory
return createEmptyStringDefault();
case Model6Package.EMPTY_STRING_DEFAULT_UNSETTABLE:
return createEmptyStringDefaultUnsettable();
+ case Model6Package.UNSETTABLE_ATTRIBUTES:
+ return createUnsettableAttributes();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -413,10 +416,21 @@ public class Model6FactoryImpl extends EFactoryImpl implements Model6Factory
}
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UnsettableAttributes createUnsettableAttributes()
+ {
+ UnsettableAttributesImpl unsettableAttributes = new UnsettableAttributesImpl();
+ return unsettableAttributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public MyEnum createMyEnumFromString(EDataType eDataType, String initialValue)
{
MyEnum result = MyEnum.get(initialValue);
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6PackageImpl.java
index 7d803bde36..ad05bfa2ea 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6PackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/Model6PackageImpl.java
@@ -28,11 +28,13 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EGenericType;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
@@ -196,10 +198,17 @@ public class Model6PackageImpl extends EPackageImpl implements Model6Package
private EClass emptyStringDefaultUnsettableEClass = null;
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass unsettableAttributesEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
private EEnum myEnumEEnum = null;
/**
@@ -821,20 +830,260 @@ public class Model6PackageImpl extends EPackageImpl implements Model6Package
}
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public EAttribute getEmptyStringDefaultUnsettable_Attribute()
{
return (EAttribute)emptyStringDefaultUnsettableEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUnsettableAttributes()
+ {
+ return unsettableAttributesEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrBigDecimal()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrBigInteger()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrBoolean()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrBooleanObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrByte()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrByteArray()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrByteObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrChar()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrCharacterObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrDate()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrDouble()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrDoubleObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrFloat()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrFloatObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(13);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrInt()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(14);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrIntegerObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(15);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrJavaClass()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(16);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrJavaObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(17);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrLong()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(18);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrLongObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(19);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrShort()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(20);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrShortObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(21);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrString()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(22);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public EEnum getMyEnum()
{
return myEnumEEnum;
@@ -960,6 +1209,31 @@ public class Model6PackageImpl extends EPackageImpl implements Model6Package
emptyStringDefaultUnsettableEClass = createEClass(EMPTY_STRING_DEFAULT_UNSETTABLE);
createEAttribute(emptyStringDefaultUnsettableEClass, EMPTY_STRING_DEFAULT_UNSETTABLE__ATTRIBUTE);
+ unsettableAttributesEClass = createEClass(UNSETTABLE_ATTRIBUTES);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BYTE);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_CHAR);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_DATE);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_FLOAT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_INT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_LONG);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_SHORT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_STRING);
+
// Create enums
myEnumEEnum = createEEnum(MY_ENUM);
@@ -1176,6 +1450,81 @@ public class Model6PackageImpl extends EPackageImpl implements Model6Package
EmptyStringDefaultUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(unsettableAttributesEClass, UnsettableAttributes.class, "UnsettableAttributes", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUnsettableAttributes_AttrBigDecimal(), ecorePackage.getEBigDecimal(), "attrBigDecimal", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrBigInteger(), ecorePackage.getEBigInteger(), "attrBigInteger", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrBoolean(), ecorePackage.getEBoolean(), "attrBoolean", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrBooleanObject(), ecorePackage.getEBooleanObject(), "attrBooleanObject",
+ null, 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrByte(), ecorePackage.getEByte(), "attrByte", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrByteArray(), ecorePackage.getEByteArray(), "attrByteArray", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrByteObject(), ecorePackage.getEByteObject(), "attrByteObject", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrChar(), ecorePackage.getEChar(), "attrChar", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrCharacterObject(), ecorePackage.getECharacterObject(),
+ "attrCharacterObject", null, 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrDate(), ecorePackage.getEDate(), "attrDate", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrDouble(), ecorePackage.getEDouble(), "attrDouble", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrDoubleObject(), ecorePackage.getEDoubleObject(), "attrDoubleObject",
+ null, 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrFloat(), ecorePackage.getEFloat(), "attrFloat", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrFloatObject(), ecorePackage.getEFloatObject(), "attrFloatObject", null,
+ 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrInt(), ecorePackage.getEInt(), "attrInt", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrIntegerObject(), ecorePackage.getEIntegerObject(), "attrIntegerObject",
+ null, 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ EGenericType g1 = createEGenericType(ecorePackage.getEJavaClass());
+ EGenericType g2 = createEGenericType();
+ g1.getETypeArguments().add(g2);
+ initEAttribute(getUnsettableAttributes_AttrJavaClass(), g1, "attrJavaClass", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrJavaObject(), ecorePackage.getEJavaObject(), "attrJavaObject", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrLong(), ecorePackage.getELong(), "attrLong", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrLongObject(), ecorePackage.getELongObject(), "attrLongObject", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrShort(), ecorePackage.getEShort(), "attrShort", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrShortObject(), ecorePackage.getEShortObject(), "attrShortObject", null,
+ 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrString(), ecorePackage.getEString(), "attrString", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
// Initialize enums and add enum literals
initEEnum(myEnumEEnum, MyEnum.class, "MyEnum");
addEEnumLiteral(myEnumEEnum, MyEnum.ZERO);
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/UnsettableAttributesImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/UnsettableAttributesImpl.java
new file mode 100644
index 0000000000..04bdaafa21
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/impl/UnsettableAttributesImpl.java
@@ -0,0 +1,1005 @@
+/**
+ */
+package org.eclipse.emf.cdo.tests.model6.impl;
+
+import org.eclipse.emf.cdo.tests.model6.Model6Package;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
+
+import org.eclipse.emf.internal.cdo.CDOObjectImpl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Unsettable Attributes</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrBigDecimal <em>Attr Big Decimal</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrBigInteger <em>Attr Big Integer</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#isAttrBoolean <em>Attr Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrBooleanObject <em>Attr Boolean Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrByte <em>Attr Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrByteArray <em>Attr Byte Array</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrByteObject <em>Attr Byte Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrChar <em>Attr Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrCharacterObject <em>Attr Character Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrDate <em>Attr Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrDouble <em>Attr Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrDoubleObject <em>Attr Double Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrFloat <em>Attr Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrFloatObject <em>Attr Float Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrInt <em>Attr Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrIntegerObject <em>Attr Integer Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrJavaClass <em>Attr Java Class</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrJavaObject <em>Attr Java Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrLong <em>Attr Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrLongObject <em>Attr Long Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrShort <em>Attr Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrShortObject <em>Attr Short Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.impl.UnsettableAttributesImpl#getAttrString <em>Attr String</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UnsettableAttributesImpl extends CDOObjectImpl implements UnsettableAttributes
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UnsettableAttributesImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model6Package.Literals.UNSETTABLE_ATTRIBUTES;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected int eStaticFeatureCount()
+ {
+ return 0;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BigDecimal getAttrBigDecimal()
+ {
+ return (BigDecimal)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrBigDecimal(BigDecimal newAttrBigDecimal)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL, newAttrBigDecimal);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrBigDecimal()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrBigDecimal()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BigInteger getAttrBigInteger()
+ {
+ return (BigInteger)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrBigInteger(BigInteger newAttrBigInteger)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER, newAttrBigInteger);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrBigInteger()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrBigInteger()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAttrBoolean()
+ {
+ return (Boolean)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrBoolean(boolean newAttrBoolean)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN, newAttrBoolean);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrBoolean()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrBoolean()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Boolean getAttrBooleanObject()
+ {
+ return (Boolean)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrBooleanObject(Boolean newAttrBooleanObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT, newAttrBooleanObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrBooleanObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrBooleanObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public byte getAttrByte()
+ {
+ return (Byte)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrByte(byte newAttrByte)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE, newAttrByte);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrByte()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrByte()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public byte[] getAttrByteArray()
+ {
+ return (byte[])eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrByteArray(byte[] newAttrByteArray)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY, newAttrByteArray);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrByteArray()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrByteArray()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Byte getAttrByteObject()
+ {
+ return (Byte)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrByteObject(Byte newAttrByteObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT, newAttrByteObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrByteObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrByteObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public char getAttrChar()
+ {
+ return (Character)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_CHAR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrChar(char newAttrChar)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_CHAR, newAttrChar);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrChar()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_CHAR);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrChar()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_CHAR);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Character getAttrCharacterObject()
+ {
+ return (Character)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrCharacterObject(Character newAttrCharacterObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT, newAttrCharacterObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrCharacterObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrCharacterObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Date getAttrDate()
+ {
+ return (Date)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DATE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrDate(Date newAttrDate)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DATE, newAttrDate);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrDate()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DATE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrDate()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DATE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public double getAttrDouble()
+ {
+ return (Double)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrDouble(double newAttrDouble)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE, newAttrDouble);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrDouble()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrDouble()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Double getAttrDoubleObject()
+ {
+ return (Double)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrDoubleObject(Double newAttrDoubleObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT, newAttrDoubleObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrDoubleObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrDoubleObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getAttrFloat()
+ {
+ return (Float)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrFloat(float newAttrFloat)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT, newAttrFloat);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrFloat()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrFloat()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Float getAttrFloatObject()
+ {
+ return (Float)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrFloatObject(Float newAttrFloatObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT, newAttrFloatObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrFloatObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrFloatObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getAttrInt()
+ {
+ return (Integer)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_INT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrInt(int newAttrInt)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_INT, newAttrInt);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrInt()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_INT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrInt()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_INT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Integer getAttrIntegerObject()
+ {
+ return (Integer)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrIntegerObject(Integer newAttrIntegerObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT, newAttrIntegerObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrIntegerObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrIntegerObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Class<?> getAttrJavaClass()
+ {
+ return (Class<?>)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrJavaClass(Class<?> newAttrJavaClass)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS, newAttrJavaClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrJavaClass()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrJavaClass()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getAttrJavaObject()
+ {
+ return (Object)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrJavaObject(Object newAttrJavaObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT, newAttrJavaObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrJavaObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrJavaObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getAttrLong()
+ {
+ return (Long)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_LONG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrLong(long newAttrLong)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_LONG, newAttrLong);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrLong()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_LONG);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrLong()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_LONG);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Long getAttrLongObject()
+ {
+ return (Long)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrLongObject(Long newAttrLongObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT, newAttrLongObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrLongObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrLongObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public short getAttrShort()
+ {
+ return (Short)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_SHORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrShort(short newAttrShort)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_SHORT, newAttrShort);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrShort()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_SHORT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrShort()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_SHORT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Short getAttrShortObject()
+ {
+ return (Short)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrShortObject(Short newAttrShortObject)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT, newAttrShortObject);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrShortObject()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrShortObject()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getAttrString()
+ {
+ return (String)eGet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_STRING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrString(String newAttrString)
+ {
+ eSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_STRING, newAttrString);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrString()
+ {
+ eUnset(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_STRING);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrString()
+ {
+ return eIsSet(Model6Package.Literals.UNSETTABLE_ATTRIBUTES__ATTR_STRING);
+ }
+
+} //UnsettableAttributesImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Factory.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Factory.java
index 7fcb3c493c..b3e4a4609a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Factory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Factory.java
@@ -23,6 +23,7 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.ecore.EFactory;
@@ -235,12 +236,21 @@ public interface Model6Factory extends EFactory, org.eclipse.emf.cdo.tests.model
EmptyStringDefaultUnsettable createEmptyStringDefaultUnsettable();
/**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
+ * Returns a new object of class '<em>Unsettable Attributes</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Unsettable Attributes</em>'.
+ * @generated
+ */
+ UnsettableAttributes createUnsettableAttributes();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
+ * @return the package supported by this factory.
+ * @generated
+ */
Model6Package getModel6Package();
} // Model6Factory
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Package.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Package.java
index f195ae6192..1601102818 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Package.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/Model6Package.java
@@ -875,32 +875,258 @@ public interface Model6Package extends EPackage, org.eclipse.emf.cdo.tests.model
int EMPTY_STRING_DEFAULT_UNSETTABLE = 22;
/**
- * The feature id for the '<em><b>Attribute</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * The feature id for the '<em><b>Attribute</b></em>' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- * @ordered
- */
+ * @generated
+ * @ordered
+ */
int EMPTY_STRING_DEFAULT_UNSETTABLE__ATTRIBUTE = 0;
/**
- * The number of structural features of the '<em>Empty String Default Unsettable</em>' class.
- * <!-- begin-user-doc -->
+ * The number of structural features of the '<em>Empty String Default Unsettable</em>' class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- * @ordered
- */
+ * @generated
+ * @ordered
+ */
int EMPTY_STRING_DEFAULT_UNSETTABLE_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}' enum.
- * <!-- begin-user-doc -->
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl <em>Unsettable Attributes</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl
+ * @see org.eclipse.emf.cdo.tests.model6.legacy.impl.Model6PackageImpl#getUnsettableAttributes()
+ * @generated
+ */
+ int UNSETTABLE_ATTRIBUTES = 23;
+
+ /**
+ * The feature id for the '<em><b>Attr Big Decimal</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL = 0;
+
+ /**
+ * The feature id for the '<em><b>Attr Big Integer</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER = 1;
+
+ /**
+ * The feature id for the '<em><b>Attr Boolean</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN = 2;
+
+ /**
+ * The feature id for the '<em><b>Attr Boolean Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT = 3;
+
+ /**
+ * The feature id for the '<em><b>Attr Byte</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BYTE = 4;
+
+ /**
+ * The feature id for the '<em><b>Attr Byte Array</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY = 5;
+
+ /**
+ * The feature id for the '<em><b>Attr Byte Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT = 6;
+
+ /**
+ * The feature id for the '<em><b>Attr Char</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_CHAR = 7;
+
+ /**
+ * The feature id for the '<em><b>Attr Character Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT = 8;
+
+ /**
+ * The feature id for the '<em><b>Attr Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_DATE = 9;
+
+ /**
+ * The feature id for the '<em><b>Attr Double</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE = 10;
+
+ /**
+ * The feature id for the '<em><b>Attr Double Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT = 11;
+
+ /**
+ * The feature id for the '<em><b>Attr Float</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_FLOAT = 12;
+
+ /**
+ * The feature id for the '<em><b>Attr Float Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT = 13;
+
+ /**
+ * The feature id for the '<em><b>Attr Int</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_INT = 14;
+
+ /**
+ * The feature id for the '<em><b>Attr Integer Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT = 15;
+
+ /**
+ * The feature id for the '<em><b>Attr Java Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS = 16;
+
+ /**
+ * The feature id for the '<em><b>Attr Java Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT = 17;
+
+ /**
+ * The feature id for the '<em><b>Attr Long</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_LONG = 18;
+
+ /**
+ * The feature id for the '<em><b>Attr Long Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT = 19;
+
+ /**
+ * The feature id for the '<em><b>Attr Short</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_SHORT = 20;
+
+ /**
+ * The feature id for the '<em><b>Attr Short Object</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT = 21;
+
+ /**
+ * The feature id for the '<em><b>Attr String</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES__ATTR_STRING = 22;
+
+ /**
+ * The number of structural features of the '<em>Unsettable Attributes</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int UNSETTABLE_ATTRIBUTES_FEATURE_COUNT = 23;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}' enum.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.model6.MyEnum
- * @see org.eclipse.emf.cdo.tests.model6.legacy.impl.Model6PackageImpl#getMyEnum()
- * @generated
- */
- int MY_ENUM = 23;
+ * @see org.eclipse.emf.cdo.tests.model6.MyEnum
+ * @see org.eclipse.emf.cdo.tests.model6.legacy.impl.Model6PackageImpl#getMyEnum()
+ * @generated
+ */
+ int MY_ENUM = 24;
/**
* The meta object id for the '<em>My String</em>' data type.
@@ -910,7 +1136,7 @@ public interface Model6Package extends EPackage, org.eclipse.emf.cdo.tests.model
* @see org.eclipse.emf.cdo.tests.model6.legacy.impl.Model6PackageImpl#getMyString()
* @generated
*/
- int MY_STRING = 24;
+ int MY_STRING = 25;
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model6.Root <em>Root</em>}'.
@@ -1530,24 +1756,287 @@ public interface Model6Package extends EPackage, org.eclipse.emf.cdo.tests.model
EClass getEmptyStringDefaultUnsettable();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable#getAttribute <em>Attribute</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable#getAttribute <em>Attribute</em>}'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Attribute</em>'.
- * @see org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable#getAttribute()
- * @see #getEmptyStringDefaultUnsettable()
- * @generated
- */
+ * @return the meta object for the attribute '<em>Attribute</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable#getAttribute()
+ * @see #getEmptyStringDefaultUnsettable()
+ * @generated
+ */
EAttribute getEmptyStringDefaultUnsettable_Attribute();
/**
- * Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes <em>Unsettable Attributes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Unsettable Attributes</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes
+ * @generated
+ */
+ EClass getUnsettableAttributes();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigDecimal <em>Attr Big Decimal</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Big Decimal</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigDecimal()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrBigDecimal();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigInteger <em>Attr Big Integer</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Big Integer</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBigInteger()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrBigInteger();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#isAttrBoolean <em>Attr Boolean</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Boolean</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#isAttrBoolean()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrBoolean();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBooleanObject <em>Attr Boolean Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Boolean Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrBooleanObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrBooleanObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByte <em>Attr Byte</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Byte</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByte()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrByte();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteArray <em>Attr Byte Array</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Byte Array</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteArray()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrByteArray();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteObject <em>Attr Byte Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Byte Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrByteObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrByteObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrChar <em>Attr Char</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Char</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrChar()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrChar();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrCharacterObject <em>Attr Character Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Character Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrCharacterObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrCharacterObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDate <em>Attr Date</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Date</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDate()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrDate();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDouble <em>Attr Double</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Double</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDouble()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrDouble();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDoubleObject <em>Attr Double Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Double Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrDoubleObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrDoubleObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloat <em>Attr Float</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Float</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloat()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrFloat();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloatObject <em>Attr Float Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Float Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrFloatObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrFloatObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrInt <em>Attr Int</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Int</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrInt()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrInt();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrIntegerObject <em>Attr Integer Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Integer Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrIntegerObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrIntegerObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaClass <em>Attr Java Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Java Class</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaClass()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrJavaClass();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaObject <em>Attr Java Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Java Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrJavaObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrJavaObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLong <em>Attr Long</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Long</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLong()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrLong();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLongObject <em>Attr Long Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Long Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrLongObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrLongObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShort <em>Attr Short</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Short</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShort()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrShort();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShortObject <em>Attr Short Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr Short Object</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrShortObject()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrShortObject();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrString <em>Attr String</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Attr String</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.UnsettableAttributes#getAttrString()
+ * @see #getUnsettableAttributes()
+ * @generated
+ */
+ EAttribute getUnsettableAttributes_AttrString();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.model6.MyEnum <em>My Enum</em>}'.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for enum '<em>My Enum</em>'.
- * @see org.eclipse.emf.cdo.tests.model6.MyEnum
- * @generated
- */
+ * @return the meta object for enum '<em>My Enum</em>'.
+ * @see org.eclipse.emf.cdo.tests.model6.MyEnum
+ * @generated
+ */
EEnum getMyEnum();
/**
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/EmptyStringDefaultUnsettableImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/EmptyStringDefaultUnsettableImpl.java
index a6d4d1c7d7..2fc3c389ea 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/EmptyStringDefaultUnsettableImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/EmptyStringDefaultUnsettableImpl.java
@@ -105,10 +105,8 @@ public class EmptyStringDefaultUnsettableImpl extends EObjectImpl implements Emp
boolean oldAttributeESet = attributeESet;
attributeESet = true;
if (eNotificationRequired())
- {
eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.EMPTY_STRING_DEFAULT_UNSETTABLE__ATTRIBUTE,
oldAttribute, attribute, !oldAttributeESet));
- }
}
/**
@@ -123,10 +121,8 @@ public class EmptyStringDefaultUnsettableImpl extends EObjectImpl implements Emp
attribute = ATTRIBUTE_EDEFAULT;
attributeESet = false;
if (eNotificationRequired())
- {
eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.EMPTY_STRING_DEFAULT_UNSETTABLE__ATTRIBUTE,
oldAttribute, ATTRIBUTE_EDEFAULT, oldAttributeESet));
- }
}
/**
@@ -214,20 +210,14 @@ public class EmptyStringDefaultUnsettableImpl extends EObjectImpl implements Emp
public String toString()
{
if (eIsProxy())
- {
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (attribute: ");
if (attributeESet)
- {
result.append(attribute);
- }
else
- {
result.append("<unset>");
- }
result.append(')');
return result.toString();
}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6FactoryImpl.java
index b758f54a91..0765ef2b31 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6FactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6FactoryImpl.java
@@ -32,6 +32,7 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.cdo.tests.model6.legacy.Model6Factory;
import org.eclipse.emf.cdo.tests.model6.legacy.Model6Package;
@@ -138,6 +139,8 @@ public class Model6FactoryImpl extends EFactoryImpl implements Model6Factory
return createEmptyStringDefault();
case Model6Package.EMPTY_STRING_DEFAULT_UNSETTABLE:
return createEmptyStringDefaultUnsettable();
+ case Model6Package.UNSETTABLE_ATTRIBUTES:
+ return createUnsettableAttributes();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -413,10 +416,21 @@ public class Model6FactoryImpl extends EFactoryImpl implements Model6Factory
}
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public UnsettableAttributes createUnsettableAttributes()
+ {
+ UnsettableAttributesImpl unsettableAttributes = new UnsettableAttributesImpl();
+ return unsettableAttributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public MyEnum createMyEnumFromString(EDataType eDataType, String initialValue)
{
MyEnum result = MyEnum.get(initialValue);
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6PackageImpl.java
index d519a48d7b..f269d36cab 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6PackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/Model6PackageImpl.java
@@ -26,6 +26,7 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.cdo.tests.model6.legacy.Model6Factory;
import org.eclipse.emf.cdo.tests.model6.legacy.Model6Package;
@@ -33,6 +34,7 @@ import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EGenericType;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
@@ -196,10 +198,17 @@ public class Model6PackageImpl extends EPackageImpl implements Model6Package
private EClass emptyStringDefaultUnsettableEClass = null;
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass unsettableAttributesEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
private EEnum myEnumEEnum = null;
/**
@@ -821,20 +830,260 @@ public class Model6PackageImpl extends EPackageImpl implements Model6Package
}
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public EAttribute getEmptyStringDefaultUnsettable_Attribute()
{
return (EAttribute)emptyStringDefaultUnsettableEClass.getEStructuralFeatures().get(0);
}
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUnsettableAttributes()
+ {
+ return unsettableAttributesEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrBigDecimal()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrBigInteger()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrBoolean()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrBooleanObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrByte()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrByteArray()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrByteObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrChar()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrCharacterObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrDate()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrDouble()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrDoubleObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrFloat()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrFloatObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(13);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrInt()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(14);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrIntegerObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(15);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrJavaClass()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(16);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrJavaObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(17);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrLong()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(18);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrLongObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(19);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrShort()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(20);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrShortObject()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(21);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnsettableAttributes_AttrString()
+ {
+ return (EAttribute)unsettableAttributesEClass.getEStructuralFeatures().get(22);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public EEnum getMyEnum()
{
return myEnumEEnum;
@@ -960,6 +1209,31 @@ public class Model6PackageImpl extends EPackageImpl implements Model6Package
emptyStringDefaultUnsettableEClass = createEClass(EMPTY_STRING_DEFAULT_UNSETTABLE);
createEAttribute(emptyStringDefaultUnsettableEClass, EMPTY_STRING_DEFAULT_UNSETTABLE__ATTRIBUTE);
+ unsettableAttributesEClass = createEClass(UNSETTABLE_ATTRIBUTES);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BYTE);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_CHAR);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_DATE);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_FLOAT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_INT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_LONG);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_SHORT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT);
+ createEAttribute(unsettableAttributesEClass, UNSETTABLE_ATTRIBUTES__ATTR_STRING);
+
// Create enums
myEnumEEnum = createEEnum(MY_ENUM);
@@ -1176,6 +1450,81 @@ public class Model6PackageImpl extends EPackageImpl implements Model6Package
EmptyStringDefaultUnsettable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(unsettableAttributesEClass, UnsettableAttributes.class, "UnsettableAttributes", !IS_ABSTRACT,
+ !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getUnsettableAttributes_AttrBigDecimal(), ecorePackage.getEBigDecimal(), "attrBigDecimal", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrBigInteger(), ecorePackage.getEBigInteger(), "attrBigInteger", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrBoolean(), ecorePackage.getEBoolean(), "attrBoolean", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrBooleanObject(), ecorePackage.getEBooleanObject(), "attrBooleanObject",
+ null, 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrByte(), ecorePackage.getEByte(), "attrByte", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrByteArray(), ecorePackage.getEByteArray(), "attrByteArray", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrByteObject(), ecorePackage.getEByteObject(), "attrByteObject", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrChar(), ecorePackage.getEChar(), "attrChar", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrCharacterObject(), ecorePackage.getECharacterObject(),
+ "attrCharacterObject", null, 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
+ IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrDate(), ecorePackage.getEDate(), "attrDate", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrDouble(), ecorePackage.getEDouble(), "attrDouble", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrDoubleObject(), ecorePackage.getEDoubleObject(), "attrDoubleObject",
+ null, 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrFloat(), ecorePackage.getEFloat(), "attrFloat", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrFloatObject(), ecorePackage.getEFloatObject(), "attrFloatObject", null,
+ 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrInt(), ecorePackage.getEInt(), "attrInt", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrIntegerObject(), ecorePackage.getEIntegerObject(), "attrIntegerObject",
+ null, 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID,
+ IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ EGenericType g1 = createEGenericType(ecorePackage.getEJavaClass());
+ EGenericType g2 = createEGenericType();
+ g1.getETypeArguments().add(g2);
+ initEAttribute(getUnsettableAttributes_AttrJavaClass(), g1, "attrJavaClass", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrJavaObject(), ecorePackage.getEJavaObject(), "attrJavaObject", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrLong(), ecorePackage.getELong(), "attrLong", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrLongObject(), ecorePackage.getELongObject(), "attrLongObject", null, 0,
+ 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrShort(), ecorePackage.getEShort(), "attrShort", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrShortObject(), ecorePackage.getEShortObject(), "attrShortObject", null,
+ 0, 1, UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getUnsettableAttributes_AttrString(), ecorePackage.getEString(), "attrString", null, 0, 1,
+ UnsettableAttributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
+ !IS_DERIVED, IS_ORDERED);
+
// Initialize enums and add enum literals
initEEnum(myEnumEEnum, MyEnum.class, "MyEnum");
addEEnumLiteral(myEnumEEnum, MyEnum.ZERO);
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/UnsettableAttributesImpl.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/UnsettableAttributesImpl.java
new file mode 100644
index 0000000000..c68439d24b
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/impl/UnsettableAttributesImpl.java
@@ -0,0 +1,2346 @@
+/**
+ */
+package org.eclipse.emf.cdo.tests.model6.legacy.impl;
+
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
+import org.eclipse.emf.cdo.tests.model6.legacy.Model6Package;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Date;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Unsettable Attributes</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrBigDecimal <em>Attr Big Decimal</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrBigInteger <em>Attr Big Integer</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#isAttrBoolean <em>Attr Boolean</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrBooleanObject <em>Attr Boolean Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrByte <em>Attr Byte</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrByteArray <em>Attr Byte Array</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrByteObject <em>Attr Byte Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrChar <em>Attr Char</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrCharacterObject <em>Attr Character Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrDate <em>Attr Date</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrDouble <em>Attr Double</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrDoubleObject <em>Attr Double Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrFloat <em>Attr Float</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrFloatObject <em>Attr Float Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrInt <em>Attr Int</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrIntegerObject <em>Attr Integer Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrJavaClass <em>Attr Java Class</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrJavaObject <em>Attr Java Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrLong <em>Attr Long</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrLongObject <em>Attr Long Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrShort <em>Attr Short</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrShortObject <em>Attr Short Object</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model6.legacy.impl.UnsettableAttributesImpl#getAttrString <em>Attr String</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UnsettableAttributesImpl extends EObjectImpl implements UnsettableAttributes
+{
+ /**
+ * The default value of the '{@link #getAttrBigDecimal() <em>Attr Big Decimal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrBigDecimal()
+ * @generated
+ * @ordered
+ */
+ protected static final BigDecimal ATTR_BIG_DECIMAL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrBigDecimal() <em>Attr Big Decimal</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrBigDecimal()
+ * @generated
+ * @ordered
+ */
+ protected BigDecimal attrBigDecimal = ATTR_BIG_DECIMAL_EDEFAULT;
+
+ /**
+ * This is true if the Attr Big Decimal attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrBigDecimalESet;
+
+ /**
+ * The default value of the '{@link #getAttrBigInteger() <em>Attr Big Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrBigInteger()
+ * @generated
+ * @ordered
+ */
+ protected static final BigInteger ATTR_BIG_INTEGER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrBigInteger() <em>Attr Big Integer</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrBigInteger()
+ * @generated
+ * @ordered
+ */
+ protected BigInteger attrBigInteger = ATTR_BIG_INTEGER_EDEFAULT;
+
+ /**
+ * This is true if the Attr Big Integer attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrBigIntegerESet;
+
+ /**
+ * The default value of the '{@link #isAttrBoolean() <em>Attr Boolean</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAttrBoolean()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ATTR_BOOLEAN_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isAttrBoolean() <em>Attr Boolean</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAttrBoolean()
+ * @generated
+ * @ordered
+ */
+ protected boolean attrBoolean = ATTR_BOOLEAN_EDEFAULT;
+
+ /**
+ * This is true if the Attr Boolean attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrBooleanESet;
+
+ /**
+ * The default value of the '{@link #getAttrBooleanObject() <em>Attr Boolean Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrBooleanObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Boolean ATTR_BOOLEAN_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrBooleanObject() <em>Attr Boolean Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrBooleanObject()
+ * @generated
+ * @ordered
+ */
+ protected Boolean attrBooleanObject = ATTR_BOOLEAN_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Boolean Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrBooleanObjectESet;
+
+ /**
+ * The default value of the '{@link #getAttrByte() <em>Attr Byte</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrByte()
+ * @generated
+ * @ordered
+ */
+ protected static final byte ATTR_BYTE_EDEFAULT = 0x00;
+
+ /**
+ * The cached value of the '{@link #getAttrByte() <em>Attr Byte</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrByte()
+ * @generated
+ * @ordered
+ */
+ protected byte attrByte = ATTR_BYTE_EDEFAULT;
+
+ /**
+ * This is true if the Attr Byte attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrByteESet;
+
+ /**
+ * The default value of the '{@link #getAttrByteArray() <em>Attr Byte Array</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrByteArray()
+ * @generated
+ * @ordered
+ */
+ protected static final byte[] ATTR_BYTE_ARRAY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrByteArray() <em>Attr Byte Array</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrByteArray()
+ * @generated
+ * @ordered
+ */
+ protected byte[] attrByteArray = ATTR_BYTE_ARRAY_EDEFAULT;
+
+ /**
+ * This is true if the Attr Byte Array attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrByteArrayESet;
+
+ /**
+ * The default value of the '{@link #getAttrByteObject() <em>Attr Byte Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrByteObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Byte ATTR_BYTE_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrByteObject() <em>Attr Byte Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrByteObject()
+ * @generated
+ * @ordered
+ */
+ protected Byte attrByteObject = ATTR_BYTE_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Byte Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrByteObjectESet;
+
+ /**
+ * The default value of the '{@link #getAttrChar() <em>Attr Char</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrChar()
+ * @generated
+ * @ordered
+ */
+ protected static final char ATTR_CHAR_EDEFAULT = '\u0000';
+
+ /**
+ * The cached value of the '{@link #getAttrChar() <em>Attr Char</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrChar()
+ * @generated
+ * @ordered
+ */
+ protected char attrChar = ATTR_CHAR_EDEFAULT;
+
+ /**
+ * This is true if the Attr Char attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrCharESet;
+
+ /**
+ * The default value of the '{@link #getAttrCharacterObject() <em>Attr Character Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrCharacterObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Character ATTR_CHARACTER_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrCharacterObject() <em>Attr Character Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrCharacterObject()
+ * @generated
+ * @ordered
+ */
+ protected Character attrCharacterObject = ATTR_CHARACTER_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Character Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrCharacterObjectESet;
+
+ /**
+ * The default value of the '{@link #getAttrDate() <em>Attr Date</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrDate()
+ * @generated
+ * @ordered
+ */
+ protected static final Date ATTR_DATE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrDate() <em>Attr Date</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrDate()
+ * @generated
+ * @ordered
+ */
+ protected Date attrDate = ATTR_DATE_EDEFAULT;
+
+ /**
+ * This is true if the Attr Date attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrDateESet;
+
+ /**
+ * The default value of the '{@link #getAttrDouble() <em>Attr Double</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrDouble()
+ * @generated
+ * @ordered
+ */
+ protected static final double ATTR_DOUBLE_EDEFAULT = 0.0;
+
+ /**
+ * The cached value of the '{@link #getAttrDouble() <em>Attr Double</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrDouble()
+ * @generated
+ * @ordered
+ */
+ protected double attrDouble = ATTR_DOUBLE_EDEFAULT;
+
+ /**
+ * This is true if the Attr Double attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrDoubleESet;
+
+ /**
+ * The default value of the '{@link #getAttrDoubleObject() <em>Attr Double Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrDoubleObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Double ATTR_DOUBLE_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrDoubleObject() <em>Attr Double Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrDoubleObject()
+ * @generated
+ * @ordered
+ */
+ protected Double attrDoubleObject = ATTR_DOUBLE_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Double Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrDoubleObjectESet;
+
+ /**
+ * The default value of the '{@link #getAttrFloat() <em>Attr Float</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrFloat()
+ * @generated
+ * @ordered
+ */
+ protected static final float ATTR_FLOAT_EDEFAULT = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getAttrFloat() <em>Attr Float</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrFloat()
+ * @generated
+ * @ordered
+ */
+ protected float attrFloat = ATTR_FLOAT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Float attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrFloatESet;
+
+ /**
+ * The default value of the '{@link #getAttrFloatObject() <em>Attr Float Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrFloatObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Float ATTR_FLOAT_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrFloatObject() <em>Attr Float Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrFloatObject()
+ * @generated
+ * @ordered
+ */
+ protected Float attrFloatObject = ATTR_FLOAT_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Float Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrFloatObjectESet;
+
+ /**
+ * The default value of the '{@link #getAttrInt() <em>Attr Int</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrInt()
+ * @generated
+ * @ordered
+ */
+ protected static final int ATTR_INT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getAttrInt() <em>Attr Int</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrInt()
+ * @generated
+ * @ordered
+ */
+ protected int attrInt = ATTR_INT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Int attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrIntESet;
+
+ /**
+ * The default value of the '{@link #getAttrIntegerObject() <em>Attr Integer Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrIntegerObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Integer ATTR_INTEGER_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrIntegerObject() <em>Attr Integer Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrIntegerObject()
+ * @generated
+ * @ordered
+ */
+ protected Integer attrIntegerObject = ATTR_INTEGER_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Integer Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrIntegerObjectESet;
+
+ /**
+ * The cached value of the '{@link #getAttrJavaClass() <em>Attr Java Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrJavaClass()
+ * @generated
+ * @ordered
+ */
+ protected Class<?> attrJavaClass;
+
+ /**
+ * This is true if the Attr Java Class attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrJavaClassESet;
+
+ /**
+ * The default value of the '{@link #getAttrJavaObject() <em>Attr Java Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrJavaObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Object ATTR_JAVA_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrJavaObject() <em>Attr Java Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrJavaObject()
+ * @generated
+ * @ordered
+ */
+ protected Object attrJavaObject = ATTR_JAVA_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Java Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrJavaObjectESet;
+
+ /**
+ * The default value of the '{@link #getAttrLong() <em>Attr Long</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrLong()
+ * @generated
+ * @ordered
+ */
+ protected static final long ATTR_LONG_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getAttrLong() <em>Attr Long</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrLong()
+ * @generated
+ * @ordered
+ */
+ protected long attrLong = ATTR_LONG_EDEFAULT;
+
+ /**
+ * This is true if the Attr Long attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrLongESet;
+
+ /**
+ * The default value of the '{@link #getAttrLongObject() <em>Attr Long Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrLongObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Long ATTR_LONG_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrLongObject() <em>Attr Long Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrLongObject()
+ * @generated
+ * @ordered
+ */
+ protected Long attrLongObject = ATTR_LONG_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Long Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrLongObjectESet;
+
+ /**
+ * The default value of the '{@link #getAttrShort() <em>Attr Short</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrShort()
+ * @generated
+ * @ordered
+ */
+ protected static final short ATTR_SHORT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getAttrShort() <em>Attr Short</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrShort()
+ * @generated
+ * @ordered
+ */
+ protected short attrShort = ATTR_SHORT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Short attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrShortESet;
+
+ /**
+ * The default value of the '{@link #getAttrShortObject() <em>Attr Short Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrShortObject()
+ * @generated
+ * @ordered
+ */
+ protected static final Short ATTR_SHORT_OBJECT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrShortObject() <em>Attr Short Object</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrShortObject()
+ * @generated
+ * @ordered
+ */
+ protected Short attrShortObject = ATTR_SHORT_OBJECT_EDEFAULT;
+
+ /**
+ * This is true if the Attr Short Object attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrShortObjectESet;
+
+ /**
+ * The default value of the '{@link #getAttrString() <em>Attr String</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrString()
+ * @generated
+ * @ordered
+ */
+ protected static final String ATTR_STRING_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAttrString() <em>Attr String</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttrString()
+ * @generated
+ * @ordered
+ */
+ protected String attrString = ATTR_STRING_EDEFAULT;
+
+ /**
+ * This is true if the Attr String attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean attrStringESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UnsettableAttributesImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return Model6Package.eINSTANCE.getUnsettableAttributes();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BigDecimal getAttrBigDecimal()
+ {
+ return attrBigDecimal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrBigDecimal(BigDecimal newAttrBigDecimal)
+ {
+ BigDecimal oldAttrBigDecimal = attrBigDecimal;
+ attrBigDecimal = newAttrBigDecimal;
+ boolean oldAttrBigDecimalESet = attrBigDecimalESet;
+ attrBigDecimalESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL,
+ oldAttrBigDecimal, attrBigDecimal, !oldAttrBigDecimalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrBigDecimal()
+ {
+ BigDecimal oldAttrBigDecimal = attrBigDecimal;
+ boolean oldAttrBigDecimalESet = attrBigDecimalESet;
+ attrBigDecimal = ATTR_BIG_DECIMAL_EDEFAULT;
+ attrBigDecimalESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL,
+ oldAttrBigDecimal, ATTR_BIG_DECIMAL_EDEFAULT, oldAttrBigDecimalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrBigDecimal()
+ {
+ return attrBigDecimalESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BigInteger getAttrBigInteger()
+ {
+ return attrBigInteger;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrBigInteger(BigInteger newAttrBigInteger)
+ {
+ BigInteger oldAttrBigInteger = attrBigInteger;
+ attrBigInteger = newAttrBigInteger;
+ boolean oldAttrBigIntegerESet = attrBigIntegerESet;
+ attrBigIntegerESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER,
+ oldAttrBigInteger, attrBigInteger, !oldAttrBigIntegerESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrBigInteger()
+ {
+ BigInteger oldAttrBigInteger = attrBigInteger;
+ boolean oldAttrBigIntegerESet = attrBigIntegerESet;
+ attrBigInteger = ATTR_BIG_INTEGER_EDEFAULT;
+ attrBigIntegerESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER,
+ oldAttrBigInteger, ATTR_BIG_INTEGER_EDEFAULT, oldAttrBigIntegerESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrBigInteger()
+ {
+ return attrBigIntegerESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAttrBoolean()
+ {
+ return attrBoolean;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrBoolean(boolean newAttrBoolean)
+ {
+ boolean oldAttrBoolean = attrBoolean;
+ attrBoolean = newAttrBoolean;
+ boolean oldAttrBooleanESet = attrBooleanESet;
+ attrBooleanESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN,
+ oldAttrBoolean, attrBoolean, !oldAttrBooleanESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrBoolean()
+ {
+ boolean oldAttrBoolean = attrBoolean;
+ boolean oldAttrBooleanESet = attrBooleanESet;
+ attrBoolean = ATTR_BOOLEAN_EDEFAULT;
+ attrBooleanESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN,
+ oldAttrBoolean, ATTR_BOOLEAN_EDEFAULT, oldAttrBooleanESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrBoolean()
+ {
+ return attrBooleanESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Boolean getAttrBooleanObject()
+ {
+ return attrBooleanObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrBooleanObject(Boolean newAttrBooleanObject)
+ {
+ Boolean oldAttrBooleanObject = attrBooleanObject;
+ attrBooleanObject = newAttrBooleanObject;
+ boolean oldAttrBooleanObjectESet = attrBooleanObjectESet;
+ attrBooleanObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT,
+ oldAttrBooleanObject, attrBooleanObject, !oldAttrBooleanObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrBooleanObject()
+ {
+ Boolean oldAttrBooleanObject = attrBooleanObject;
+ boolean oldAttrBooleanObjectESet = attrBooleanObjectESet;
+ attrBooleanObject = ATTR_BOOLEAN_OBJECT_EDEFAULT;
+ attrBooleanObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT,
+ oldAttrBooleanObject, ATTR_BOOLEAN_OBJECT_EDEFAULT, oldAttrBooleanObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrBooleanObject()
+ {
+ return attrBooleanObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public byte getAttrByte()
+ {
+ return attrByte;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrByte(byte newAttrByte)
+ {
+ byte oldAttrByte = attrByte;
+ attrByte = newAttrByte;
+ boolean oldAttrByteESet = attrByteESet;
+ attrByteESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE,
+ oldAttrByte, attrByte, !oldAttrByteESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrByte()
+ {
+ byte oldAttrByte = attrByte;
+ boolean oldAttrByteESet = attrByteESet;
+ attrByte = ATTR_BYTE_EDEFAULT;
+ attrByteESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE,
+ oldAttrByte, ATTR_BYTE_EDEFAULT, oldAttrByteESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrByte()
+ {
+ return attrByteESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public byte[] getAttrByteArray()
+ {
+ return attrByteArray;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrByteArray(byte[] newAttrByteArray)
+ {
+ byte[] oldAttrByteArray = attrByteArray;
+ attrByteArray = newAttrByteArray;
+ boolean oldAttrByteArrayESet = attrByteArrayESet;
+ attrByteArrayESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY,
+ oldAttrByteArray, attrByteArray, !oldAttrByteArrayESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrByteArray()
+ {
+ byte[] oldAttrByteArray = attrByteArray;
+ boolean oldAttrByteArrayESet = attrByteArrayESet;
+ attrByteArray = ATTR_BYTE_ARRAY_EDEFAULT;
+ attrByteArrayESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY,
+ oldAttrByteArray, ATTR_BYTE_ARRAY_EDEFAULT, oldAttrByteArrayESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrByteArray()
+ {
+ return attrByteArrayESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Byte getAttrByteObject()
+ {
+ return attrByteObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrByteObject(Byte newAttrByteObject)
+ {
+ Byte oldAttrByteObject = attrByteObject;
+ attrByteObject = newAttrByteObject;
+ boolean oldAttrByteObjectESet = attrByteObjectESet;
+ attrByteObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT,
+ oldAttrByteObject, attrByteObject, !oldAttrByteObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrByteObject()
+ {
+ Byte oldAttrByteObject = attrByteObject;
+ boolean oldAttrByteObjectESet = attrByteObjectESet;
+ attrByteObject = ATTR_BYTE_OBJECT_EDEFAULT;
+ attrByteObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT,
+ oldAttrByteObject, ATTR_BYTE_OBJECT_EDEFAULT, oldAttrByteObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrByteObject()
+ {
+ return attrByteObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public char getAttrChar()
+ {
+ return attrChar;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrChar(char newAttrChar)
+ {
+ char oldAttrChar = attrChar;
+ attrChar = newAttrChar;
+ boolean oldAttrCharESet = attrCharESet;
+ attrCharESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHAR,
+ oldAttrChar, attrChar, !oldAttrCharESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrChar()
+ {
+ char oldAttrChar = attrChar;
+ boolean oldAttrCharESet = attrCharESet;
+ attrChar = ATTR_CHAR_EDEFAULT;
+ attrCharESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHAR,
+ oldAttrChar, ATTR_CHAR_EDEFAULT, oldAttrCharESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrChar()
+ {
+ return attrCharESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Character getAttrCharacterObject()
+ {
+ return attrCharacterObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrCharacterObject(Character newAttrCharacterObject)
+ {
+ Character oldAttrCharacterObject = attrCharacterObject;
+ attrCharacterObject = newAttrCharacterObject;
+ boolean oldAttrCharacterObjectESet = attrCharacterObjectESet;
+ attrCharacterObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT,
+ oldAttrCharacterObject, attrCharacterObject, !oldAttrCharacterObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrCharacterObject()
+ {
+ Character oldAttrCharacterObject = attrCharacterObject;
+ boolean oldAttrCharacterObjectESet = attrCharacterObjectESet;
+ attrCharacterObject = ATTR_CHARACTER_OBJECT_EDEFAULT;
+ attrCharacterObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET,
+ Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT, oldAttrCharacterObject,
+ ATTR_CHARACTER_OBJECT_EDEFAULT, oldAttrCharacterObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrCharacterObject()
+ {
+ return attrCharacterObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Date getAttrDate()
+ {
+ return attrDate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrDate(Date newAttrDate)
+ {
+ Date oldAttrDate = attrDate;
+ attrDate = newAttrDate;
+ boolean oldAttrDateESet = attrDateESet;
+ attrDateESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DATE,
+ oldAttrDate, attrDate, !oldAttrDateESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrDate()
+ {
+ Date oldAttrDate = attrDate;
+ boolean oldAttrDateESet = attrDateESet;
+ attrDate = ATTR_DATE_EDEFAULT;
+ attrDateESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DATE,
+ oldAttrDate, ATTR_DATE_EDEFAULT, oldAttrDateESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrDate()
+ {
+ return attrDateESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public double getAttrDouble()
+ {
+ return attrDouble;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrDouble(double newAttrDouble)
+ {
+ double oldAttrDouble = attrDouble;
+ attrDouble = newAttrDouble;
+ boolean oldAttrDoubleESet = attrDoubleESet;
+ attrDoubleESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE,
+ oldAttrDouble, attrDouble, !oldAttrDoubleESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrDouble()
+ {
+ double oldAttrDouble = attrDouble;
+ boolean oldAttrDoubleESet = attrDoubleESet;
+ attrDouble = ATTR_DOUBLE_EDEFAULT;
+ attrDoubleESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE,
+ oldAttrDouble, ATTR_DOUBLE_EDEFAULT, oldAttrDoubleESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrDouble()
+ {
+ return attrDoubleESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Double getAttrDoubleObject()
+ {
+ return attrDoubleObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrDoubleObject(Double newAttrDoubleObject)
+ {
+ Double oldAttrDoubleObject = attrDoubleObject;
+ attrDoubleObject = newAttrDoubleObject;
+ boolean oldAttrDoubleObjectESet = attrDoubleObjectESet;
+ attrDoubleObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT,
+ oldAttrDoubleObject, attrDoubleObject, !oldAttrDoubleObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrDoubleObject()
+ {
+ Double oldAttrDoubleObject = attrDoubleObject;
+ boolean oldAttrDoubleObjectESet = attrDoubleObjectESet;
+ attrDoubleObject = ATTR_DOUBLE_OBJECT_EDEFAULT;
+ attrDoubleObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT,
+ oldAttrDoubleObject, ATTR_DOUBLE_OBJECT_EDEFAULT, oldAttrDoubleObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrDoubleObject()
+ {
+ return attrDoubleObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public float getAttrFloat()
+ {
+ return attrFloat;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrFloat(float newAttrFloat)
+ {
+ float oldAttrFloat = attrFloat;
+ attrFloat = newAttrFloat;
+ boolean oldAttrFloatESet = attrFloatESet;
+ attrFloatESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT,
+ oldAttrFloat, attrFloat, !oldAttrFloatESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrFloat()
+ {
+ float oldAttrFloat = attrFloat;
+ boolean oldAttrFloatESet = attrFloatESet;
+ attrFloat = ATTR_FLOAT_EDEFAULT;
+ attrFloatESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT,
+ oldAttrFloat, ATTR_FLOAT_EDEFAULT, oldAttrFloatESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrFloat()
+ {
+ return attrFloatESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Float getAttrFloatObject()
+ {
+ return attrFloatObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrFloatObject(Float newAttrFloatObject)
+ {
+ Float oldAttrFloatObject = attrFloatObject;
+ attrFloatObject = newAttrFloatObject;
+ boolean oldAttrFloatObjectESet = attrFloatObjectESet;
+ attrFloatObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT,
+ oldAttrFloatObject, attrFloatObject, !oldAttrFloatObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrFloatObject()
+ {
+ Float oldAttrFloatObject = attrFloatObject;
+ boolean oldAttrFloatObjectESet = attrFloatObjectESet;
+ attrFloatObject = ATTR_FLOAT_OBJECT_EDEFAULT;
+ attrFloatObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT,
+ oldAttrFloatObject, ATTR_FLOAT_OBJECT_EDEFAULT, oldAttrFloatObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrFloatObject()
+ {
+ return attrFloatObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getAttrInt()
+ {
+ return attrInt;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrInt(int newAttrInt)
+ {
+ int oldAttrInt = attrInt;
+ attrInt = newAttrInt;
+ boolean oldAttrIntESet = attrIntESet;
+ attrIntESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INT, oldAttrInt,
+ attrInt, !oldAttrIntESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrInt()
+ {
+ int oldAttrInt = attrInt;
+ boolean oldAttrIntESet = attrIntESet;
+ attrInt = ATTR_INT_EDEFAULT;
+ attrIntESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INT,
+ oldAttrInt, ATTR_INT_EDEFAULT, oldAttrIntESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrInt()
+ {
+ return attrIntESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Integer getAttrIntegerObject()
+ {
+ return attrIntegerObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrIntegerObject(Integer newAttrIntegerObject)
+ {
+ Integer oldAttrIntegerObject = attrIntegerObject;
+ attrIntegerObject = newAttrIntegerObject;
+ boolean oldAttrIntegerObjectESet = attrIntegerObjectESet;
+ attrIntegerObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT,
+ oldAttrIntegerObject, attrIntegerObject, !oldAttrIntegerObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrIntegerObject()
+ {
+ Integer oldAttrIntegerObject = attrIntegerObject;
+ boolean oldAttrIntegerObjectESet = attrIntegerObjectESet;
+ attrIntegerObject = ATTR_INTEGER_OBJECT_EDEFAULT;
+ attrIntegerObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT,
+ oldAttrIntegerObject, ATTR_INTEGER_OBJECT_EDEFAULT, oldAttrIntegerObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrIntegerObject()
+ {
+ return attrIntegerObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Class<?> getAttrJavaClass()
+ {
+ return attrJavaClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrJavaClass(Class<?> newAttrJavaClass)
+ {
+ Class<?> oldAttrJavaClass = attrJavaClass;
+ attrJavaClass = newAttrJavaClass;
+ boolean oldAttrJavaClassESet = attrJavaClassESet;
+ attrJavaClassESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS,
+ oldAttrJavaClass, attrJavaClass, !oldAttrJavaClassESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrJavaClass()
+ {
+ Class<?> oldAttrJavaClass = attrJavaClass;
+ boolean oldAttrJavaClassESet = attrJavaClassESet;
+ attrJavaClass = null;
+ attrJavaClassESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS,
+ oldAttrJavaClass, null, oldAttrJavaClassESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrJavaClass()
+ {
+ return attrJavaClassESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getAttrJavaObject()
+ {
+ return attrJavaObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrJavaObject(Object newAttrJavaObject)
+ {
+ Object oldAttrJavaObject = attrJavaObject;
+ attrJavaObject = newAttrJavaObject;
+ boolean oldAttrJavaObjectESet = attrJavaObjectESet;
+ attrJavaObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT,
+ oldAttrJavaObject, attrJavaObject, !oldAttrJavaObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrJavaObject()
+ {
+ Object oldAttrJavaObject = attrJavaObject;
+ boolean oldAttrJavaObjectESet = attrJavaObjectESet;
+ attrJavaObject = ATTR_JAVA_OBJECT_EDEFAULT;
+ attrJavaObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT,
+ oldAttrJavaObject, ATTR_JAVA_OBJECT_EDEFAULT, oldAttrJavaObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrJavaObject()
+ {
+ return attrJavaObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getAttrLong()
+ {
+ return attrLong;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrLong(long newAttrLong)
+ {
+ long oldAttrLong = attrLong;
+ attrLong = newAttrLong;
+ boolean oldAttrLongESet = attrLongESet;
+ attrLongESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG,
+ oldAttrLong, attrLong, !oldAttrLongESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrLong()
+ {
+ long oldAttrLong = attrLong;
+ boolean oldAttrLongESet = attrLongESet;
+ attrLong = ATTR_LONG_EDEFAULT;
+ attrLongESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG,
+ oldAttrLong, ATTR_LONG_EDEFAULT, oldAttrLongESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrLong()
+ {
+ return attrLongESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Long getAttrLongObject()
+ {
+ return attrLongObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrLongObject(Long newAttrLongObject)
+ {
+ Long oldAttrLongObject = attrLongObject;
+ attrLongObject = newAttrLongObject;
+ boolean oldAttrLongObjectESet = attrLongObjectESet;
+ attrLongObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT,
+ oldAttrLongObject, attrLongObject, !oldAttrLongObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrLongObject()
+ {
+ Long oldAttrLongObject = attrLongObject;
+ boolean oldAttrLongObjectESet = attrLongObjectESet;
+ attrLongObject = ATTR_LONG_OBJECT_EDEFAULT;
+ attrLongObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT,
+ oldAttrLongObject, ATTR_LONG_OBJECT_EDEFAULT, oldAttrLongObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrLongObject()
+ {
+ return attrLongObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public short getAttrShort()
+ {
+ return attrShort;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrShort(short newAttrShort)
+ {
+ short oldAttrShort = attrShort;
+ attrShort = newAttrShort;
+ boolean oldAttrShortESet = attrShortESet;
+ attrShortESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT,
+ oldAttrShort, attrShort, !oldAttrShortESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrShort()
+ {
+ short oldAttrShort = attrShort;
+ boolean oldAttrShortESet = attrShortESet;
+ attrShort = ATTR_SHORT_EDEFAULT;
+ attrShortESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT,
+ oldAttrShort, ATTR_SHORT_EDEFAULT, oldAttrShortESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrShort()
+ {
+ return attrShortESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Short getAttrShortObject()
+ {
+ return attrShortObject;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrShortObject(Short newAttrShortObject)
+ {
+ Short oldAttrShortObject = attrShortObject;
+ attrShortObject = newAttrShortObject;
+ boolean oldAttrShortObjectESet = attrShortObjectESet;
+ attrShortObjectESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT,
+ oldAttrShortObject, attrShortObject, !oldAttrShortObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrShortObject()
+ {
+ Short oldAttrShortObject = attrShortObject;
+ boolean oldAttrShortObjectESet = attrShortObjectESet;
+ attrShortObject = ATTR_SHORT_OBJECT_EDEFAULT;
+ attrShortObjectESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT,
+ oldAttrShortObject, ATTR_SHORT_OBJECT_EDEFAULT, oldAttrShortObjectESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrShortObject()
+ {
+ return attrShortObjectESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getAttrString()
+ {
+ return attrString;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAttrString(String newAttrString)
+ {
+ String oldAttrString = attrString;
+ attrString = newAttrString;
+ boolean oldAttrStringESet = attrStringESet;
+ attrStringESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_STRING,
+ oldAttrString, attrString, !oldAttrStringESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAttrString()
+ {
+ String oldAttrString = attrString;
+ boolean oldAttrStringESet = attrStringESet;
+ attrString = ATTR_STRING_EDEFAULT;
+ attrStringESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_STRING,
+ oldAttrString, ATTR_STRING_EDEFAULT, oldAttrStringESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAttrString()
+ {
+ return attrStringESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL:
+ return getAttrBigDecimal();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER:
+ return getAttrBigInteger();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN:
+ return isAttrBoolean();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT:
+ return getAttrBooleanObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE:
+ return getAttrByte();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY:
+ return getAttrByteArray();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT:
+ return getAttrByteObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHAR:
+ return getAttrChar();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT:
+ return getAttrCharacterObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DATE:
+ return getAttrDate();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE:
+ return getAttrDouble();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT:
+ return getAttrDoubleObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT:
+ return getAttrFloat();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT:
+ return getAttrFloatObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INT:
+ return getAttrInt();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT:
+ return getAttrIntegerObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS:
+ return getAttrJavaClass();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT:
+ return getAttrJavaObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG:
+ return getAttrLong();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT:
+ return getAttrLongObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT:
+ return getAttrShort();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT:
+ return getAttrShortObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_STRING:
+ return getAttrString();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL:
+ setAttrBigDecimal((BigDecimal)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER:
+ setAttrBigInteger((BigInteger)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN:
+ setAttrBoolean((Boolean)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT:
+ setAttrBooleanObject((Boolean)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE:
+ setAttrByte((Byte)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY:
+ setAttrByteArray((byte[])newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT:
+ setAttrByteObject((Byte)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHAR:
+ setAttrChar((Character)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT:
+ setAttrCharacterObject((Character)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DATE:
+ setAttrDate((Date)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE:
+ setAttrDouble((Double)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT:
+ setAttrDoubleObject((Double)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT:
+ setAttrFloat((Float)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT:
+ setAttrFloatObject((Float)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INT:
+ setAttrInt((Integer)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT:
+ setAttrIntegerObject((Integer)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS:
+ setAttrJavaClass((Class<?>)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT:
+ setAttrJavaObject(newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG:
+ setAttrLong((Long)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT:
+ setAttrLongObject((Long)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT:
+ setAttrShort((Short)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT:
+ setAttrShortObject((Short)newValue);
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_STRING:
+ setAttrString((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL:
+ unsetAttrBigDecimal();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER:
+ unsetAttrBigInteger();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN:
+ unsetAttrBoolean();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT:
+ unsetAttrBooleanObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE:
+ unsetAttrByte();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY:
+ unsetAttrByteArray();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT:
+ unsetAttrByteObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHAR:
+ unsetAttrChar();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT:
+ unsetAttrCharacterObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DATE:
+ unsetAttrDate();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE:
+ unsetAttrDouble();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT:
+ unsetAttrDoubleObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT:
+ unsetAttrFloat();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT:
+ unsetAttrFloatObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INT:
+ unsetAttrInt();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT:
+ unsetAttrIntegerObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS:
+ unsetAttrJavaClass();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT:
+ unsetAttrJavaObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG:
+ unsetAttrLong();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT:
+ unsetAttrLongObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT:
+ unsetAttrShort();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT:
+ unsetAttrShortObject();
+ return;
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_STRING:
+ unsetAttrString();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_DECIMAL:
+ return isSetAttrBigDecimal();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BIG_INTEGER:
+ return isSetAttrBigInteger();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN:
+ return isSetAttrBoolean();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BOOLEAN_OBJECT:
+ return isSetAttrBooleanObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE:
+ return isSetAttrByte();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_ARRAY:
+ return isSetAttrByteArray();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_BYTE_OBJECT:
+ return isSetAttrByteObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHAR:
+ return isSetAttrChar();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_CHARACTER_OBJECT:
+ return isSetAttrCharacterObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DATE:
+ return isSetAttrDate();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE:
+ return isSetAttrDouble();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_DOUBLE_OBJECT:
+ return isSetAttrDoubleObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT:
+ return isSetAttrFloat();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_FLOAT_OBJECT:
+ return isSetAttrFloatObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INT:
+ return isSetAttrInt();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_INTEGER_OBJECT:
+ return isSetAttrIntegerObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_CLASS:
+ return isSetAttrJavaClass();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_JAVA_OBJECT:
+ return isSetAttrJavaObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG:
+ return isSetAttrLong();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_LONG_OBJECT:
+ return isSetAttrLongObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT:
+ return isSetAttrShort();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_SHORT_OBJECT:
+ return isSetAttrShortObject();
+ case Model6Package.UNSETTABLE_ATTRIBUTES__ATTR_STRING:
+ return isSetAttrString();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy())
+ return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (attrBigDecimal: ");
+ if (attrBigDecimalESet)
+ result.append(attrBigDecimal);
+ else
+ result.append("<unset>");
+ result.append(", attrBigInteger: ");
+ if (attrBigIntegerESet)
+ result.append(attrBigInteger);
+ else
+ result.append("<unset>");
+ result.append(", attrBoolean: ");
+ if (attrBooleanESet)
+ result.append(attrBoolean);
+ else
+ result.append("<unset>");
+ result.append(", attrBooleanObject: ");
+ if (attrBooleanObjectESet)
+ result.append(attrBooleanObject);
+ else
+ result.append("<unset>");
+ result.append(", attrByte: ");
+ if (attrByteESet)
+ result.append(attrByte);
+ else
+ result.append("<unset>");
+ result.append(", attrByteArray: ");
+ if (attrByteArrayESet)
+ result.append(attrByteArray);
+ else
+ result.append("<unset>");
+ result.append(", attrByteObject: ");
+ if (attrByteObjectESet)
+ result.append(attrByteObject);
+ else
+ result.append("<unset>");
+ result.append(", attrChar: ");
+ if (attrCharESet)
+ result.append(attrChar);
+ else
+ result.append("<unset>");
+ result.append(", attrCharacterObject: ");
+ if (attrCharacterObjectESet)
+ result.append(attrCharacterObject);
+ else
+ result.append("<unset>");
+ result.append(", attrDate: ");
+ if (attrDateESet)
+ result.append(attrDate);
+ else
+ result.append("<unset>");
+ result.append(", attrDouble: ");
+ if (attrDoubleESet)
+ result.append(attrDouble);
+ else
+ result.append("<unset>");
+ result.append(", attrDoubleObject: ");
+ if (attrDoubleObjectESet)
+ result.append(attrDoubleObject);
+ else
+ result.append("<unset>");
+ result.append(", attrFloat: ");
+ if (attrFloatESet)
+ result.append(attrFloat);
+ else
+ result.append("<unset>");
+ result.append(", attrFloatObject: ");
+ if (attrFloatObjectESet)
+ result.append(attrFloatObject);
+ else
+ result.append("<unset>");
+ result.append(", attrInt: ");
+ if (attrIntESet)
+ result.append(attrInt);
+ else
+ result.append("<unset>");
+ result.append(", attrIntegerObject: ");
+ if (attrIntegerObjectESet)
+ result.append(attrIntegerObject);
+ else
+ result.append("<unset>");
+ result.append(", attrJavaClass: ");
+ if (attrJavaClassESet)
+ result.append(attrJavaClass);
+ else
+ result.append("<unset>");
+ result.append(", attrJavaObject: ");
+ if (attrJavaObjectESet)
+ result.append(attrJavaObject);
+ else
+ result.append("<unset>");
+ result.append(", attrLong: ");
+ if (attrLongESet)
+ result.append(attrLong);
+ else
+ result.append("<unset>");
+ result.append(", attrLongObject: ");
+ if (attrLongObjectESet)
+ result.append(attrLongObject);
+ else
+ result.append("<unset>");
+ result.append(", attrShort: ");
+ if (attrShortESet)
+ result.append(attrShort);
+ else
+ result.append("<unset>");
+ result.append(", attrShortObject: ");
+ if (attrShortObjectESet)
+ result.append(attrShortObject);
+ else
+ result.append("<unset>");
+ result.append(", attrString: ");
+ if (attrStringESet)
+ result.append(attrString);
+ else
+ result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} // UnsettableAttributesImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6AdapterFactory.java
index ea22113c77..392111510a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6AdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6AdapterFactory.java
@@ -32,6 +32,7 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.cdo.tests.model6.legacy.Model6Package;
import org.eclipse.emf.common.notify.Adapter;
@@ -244,6 +245,12 @@ public class Model6AdapterFactory extends AdapterFactoryImpl
}
@Override
+ public Adapter caseUnsettableAttributes(UnsettableAttributes object)
+ {
+ return createUnsettableAttributesAdapter();
+ }
+
+ @Override
public Adapter defaultCase(EObject object)
{
return createEObjectAdapter();
@@ -610,13 +617,28 @@ public class Model6AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes <em>Unsettable Attributes</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.model6.UnsettableAttributes
+ * @generated
+ */
+ public Adapter createUnsettableAttributesAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
+ * @return the new adapter.
+ * @generated
+ */
public Adapter createEObjectAdapter()
{
return null;
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6Switch.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6Switch.java
index eb28bbd3c9..1540b94b12 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/legacy/util/Model6Switch.java
@@ -32,6 +32,7 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.cdo.tests.model6.legacy.Model6Package;
import org.eclipse.emf.ecore.EClass;
@@ -315,6 +316,14 @@ public class Model6Switch<T>
result = defaultCase(theEObject);
return result;
}
+ case Model6Package.UNSETTABLE_ATTRIBUTES:
+ {
+ UnsettableAttributes unsettableAttributes = (UnsettableAttributes)theEObject;
+ T result = caseUnsettableAttributes(unsettableAttributes);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
default:
return defaultCase(theEObject);
}
@@ -689,16 +698,32 @@ public class Model6Switch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
+ * Returns the result of interpreting the object as an instance of '<em>Unsettable Attributes</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>Unsettable Attributes</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUnsettableAttributes(UnsettableAttributes object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
public T defaultCase(EObject object)
{
return null;
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6AdapterFactory.java
index e69e75ec99..587b348c40 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6AdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6AdapterFactory.java
@@ -33,6 +33,7 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
@@ -239,6 +240,12 @@ public class Model6AdapterFactory extends AdapterFactoryImpl
}
@Override
+ public Adapter caseUnsettableAttributes(UnsettableAttributes object)
+ {
+ return createUnsettableAttributesAdapter();
+ }
+
+ @Override
public Adapter defaultCase(EObject object)
{
return createEObjectAdapter();
@@ -590,12 +597,27 @@ public class Model6AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc --> This default implementation returns null. <!--
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model6.UnsettableAttributes <em>Unsettable Attributes</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.model6.UnsettableAttributes
+ * @generated
+ */
+ public Adapter createUnsettableAttributesAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc --> This default implementation returns null. <!--
* end-user-doc -->
- * @return the new adapter.
- * @generated
- */
+ * @return the new adapter.
+ * @generated
+ */
public Adapter createEObjectAdapter()
{
return null;
diff --git a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6Switch.java b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6Switch.java
index 73c5106250..c7d6886c5e 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model6/src/org/eclipse/emf/cdo/tests/model6/util/Model6Switch.java
@@ -33,6 +33,7 @@ import org.eclipse.emf.cdo.tests.model6.ReferenceObject;
import org.eclipse.emf.cdo.tests.model6.Root;
import org.eclipse.emf.cdo.tests.model6.Thing;
import org.eclipse.emf.cdo.tests.model6.UnorderedList;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
@@ -305,6 +306,14 @@ public class Model6Switch<T>
result = defaultCase(theEObject);
return result;
}
+ case Model6Package.UNSETTABLE_ATTRIBUTES:
+ {
+ UnsettableAttributes unsettableAttributes = (UnsettableAttributes)theEObject;
+ T result = caseUnsettableAttributes(unsettableAttributes);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
default:
return defaultCase(theEObject);
}
@@ -657,15 +666,31 @@ public class Model6Switch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc --> This
+ * Returns the result of interpreting the object as an instance of '<em>Unsettable Attributes</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>Unsettable Attributes</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUnsettableAttributes(UnsettableAttributes object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch, but this is the last case
* anyway. <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
public T defaultCase(EObject object)
{
return null;
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_405191_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_405191_Test.java
index 0a37b7e5cc..d9432b2fbb 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_405191_Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_405191_Test.java
@@ -16,8 +16,14 @@ import org.eclipse.emf.cdo.eresource.CDOResource;
import org.eclipse.emf.cdo.session.CDOSession;
import org.eclipse.emf.cdo.tests.AbstractCDOTest;
import org.eclipse.emf.cdo.tests.model6.EmptyStringDefaultUnsettable;
+import org.eclipse.emf.cdo.tests.model6.UnsettableAttributes;
import org.eclipse.emf.cdo.transaction.CDOTransaction;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Arrays;
+import java.util.Date;
+
/**
* Bug 405191.
*
@@ -32,7 +38,7 @@ public class Bugzilla_405191_Test extends AbstractCDOTest
{
CDOSession session = openSession();
CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/my/resource"));
+ CDOResource resource = transaction.createResource(getResourcePath("/res"));
// Create an object and set is a string attribute to the empty string
EmptyStringDefaultUnsettable localObject = getModel6Factory().createEmptyStringDefaultUnsettable();
@@ -55,4 +61,322 @@ public class Bugzilla_405191_Test extends AbstractCDOTest
commitAndSync(transaction, remoteTransaction);
assertNull(remoteObject.getAttribute());
}
+
+ public void testAllTypesSetAndUnset() throws Exception
+ {
+ CDOSession session = openSession();
+ CDOTransaction transaction = session.openTransaction();
+ CDOResource resource = transaction.createResource(getResourcePath("/res"));
+
+ // Create an object and set all attributes to non-default values
+ UnsettableAttributes localObject = getModel6Factory().createUnsettableAttributes();
+ localObject.setAttrBigDecimal(new BigDecimal("4711.1234"));
+ localObject.setAttrBigInteger(new BigInteger("4711"));
+ localObject.setAttrBoolean(true);
+ localObject.setAttrBooleanObject(true);
+ localObject.setAttrByte((byte)47);
+ localObject.setAttrByteObject((byte)47);
+ localObject.setAttrByteArray(new byte[] { 4, 7, 1, 1 });
+ localObject.setAttrChar('4');
+ localObject.setAttrCharacterObject('4');
+ localObject.setAttrDate(new Date(4711));
+ localObject.setAttrDouble(4711.1234);
+ localObject.setAttrDoubleObject(4711.1234);
+ localObject.setAttrFloat(4711.1234f);
+ localObject.setAttrFloatObject(4711.1234f);
+ localObject.setAttrInt(4711);
+ localObject.setAttrIntegerObject(4711);
+ localObject.setAttrJavaClass(getClass());
+ localObject.setAttrJavaObject(new int[] { 4, 7, 1, 1 });
+ localObject.setAttrLong(4711L);
+ localObject.setAttrLongObject(4711L);
+ localObject.setAttrShort((short)4711);
+ localObject.setAttrShortObject((short)4711);
+ localObject.setAttrString("4711");
+ resource.getContents().add(localObject);
+ transaction.commit();
+
+ CDOTransaction remoteTransaction = openSession().openTransaction();
+ UnsettableAttributes remoteObject = remoteTransaction.getObject(localObject);
+ assertEquals(localObject.getAttrBigDecimal(), remoteObject.getAttrBigDecimal());
+ assertEquals(localObject.getAttrBigInteger(), remoteObject.getAttrBigInteger());
+ assertEquals(localObject.isAttrBoolean(), remoteObject.isAttrBoolean());
+ assertEquals(localObject.getAttrBooleanObject(), remoteObject.getAttrBooleanObject());
+ assertEquals(localObject.getAttrByte(), remoteObject.getAttrByte());
+ assertEquals(localObject.getAttrByteObject(), remoteObject.getAttrByteObject());
+ assertEquals(true, Arrays.equals(localObject.getAttrByteArray(), remoteObject.getAttrByteArray()));
+ assertEquals(localObject.getAttrChar(), remoteObject.getAttrChar());
+ assertEquals(localObject.getAttrCharacterObject(), remoteObject.getAttrCharacterObject());
+ assertEquals(localObject.getAttrDate(), remoteObject.getAttrDate());
+ assertEquals(localObject.getAttrDouble(), remoteObject.getAttrDouble());
+ assertEquals(localObject.getAttrDoubleObject(), remoteObject.getAttrDoubleObject());
+ assertEquals(localObject.getAttrFloat(), remoteObject.getAttrFloat());
+ assertEquals(localObject.getAttrFloatObject(), remoteObject.getAttrFloatObject());
+ assertEquals(localObject.getAttrInt(), remoteObject.getAttrInt());
+ assertEquals(localObject.getAttrIntegerObject(), remoteObject.getAttrIntegerObject());
+ assertEquals(localObject.getAttrJavaClass(), remoteObject.getAttrJavaClass());
+ assertEquals(true, Arrays.equals((int[])localObject.getAttrJavaObject(), (int[])remoteObject.getAttrJavaObject()));
+ assertEquals(localObject.getAttrLong(), remoteObject.getAttrLong());
+ assertEquals(localObject.getAttrLongObject(), remoteObject.getAttrLongObject());
+ assertEquals(localObject.getAttrShort(), remoteObject.getAttrShort());
+ assertEquals(localObject.getAttrShortObject(), remoteObject.getAttrShortObject());
+ assertEquals(localObject.getAttrString(), remoteObject.getAttrString());
+
+ assertEquals(localObject.isSetAttrBigDecimal(), remoteObject.isSetAttrBigDecimal());
+ assertEquals(localObject.isSetAttrBigInteger(), remoteObject.isSetAttrBigInteger());
+ assertEquals(localObject.isSetAttrBoolean(), remoteObject.isSetAttrBoolean());
+ assertEquals(localObject.isSetAttrBooleanObject(), remoteObject.isSetAttrBooleanObject());
+ assertEquals(localObject.isSetAttrByte(), remoteObject.isSetAttrByte());
+ assertEquals(localObject.isSetAttrByteObject(), remoteObject.isSetAttrByteObject());
+ assertEquals(localObject.isSetAttrByteArray(), remoteObject.isSetAttrByteArray());
+ assertEquals(localObject.isSetAttrChar(), remoteObject.isSetAttrChar());
+ assertEquals(localObject.isSetAttrCharacterObject(), remoteObject.isSetAttrCharacterObject());
+ assertEquals(localObject.isSetAttrDate(), remoteObject.isSetAttrDate());
+ assertEquals(localObject.isSetAttrDouble(), remoteObject.isSetAttrDouble());
+ assertEquals(localObject.isSetAttrDoubleObject(), remoteObject.isSetAttrDoubleObject());
+ assertEquals(localObject.isSetAttrFloat(), remoteObject.isSetAttrFloat());
+ assertEquals(localObject.isSetAttrFloatObject(), remoteObject.isSetAttrFloatObject());
+ assertEquals(localObject.isSetAttrInt(), remoteObject.isSetAttrInt());
+ assertEquals(localObject.isSetAttrIntegerObject(), remoteObject.isSetAttrIntegerObject());
+ assertEquals(localObject.isSetAttrJavaClass(), remoteObject.isSetAttrJavaClass());
+ assertEquals(localObject.isSetAttrJavaObject(), remoteObject.isSetAttrJavaObject());
+ assertEquals(localObject.isSetAttrLong(), remoteObject.isSetAttrLong());
+ assertEquals(localObject.isSetAttrLongObject(), remoteObject.isSetAttrLongObject());
+ assertEquals(localObject.isSetAttrShort(), remoteObject.isSetAttrShort());
+ assertEquals(localObject.isSetAttrShortObject(), remoteObject.isSetAttrShortObject());
+ assertEquals(localObject.isSetAttrString(), remoteObject.isSetAttrString());
+
+ // Unset all attributes
+ localObject.unsetAttrBigDecimal();
+ localObject.unsetAttrBigInteger();
+ localObject.unsetAttrBoolean();
+ localObject.unsetAttrBooleanObject();
+ localObject.unsetAttrByte();
+ localObject.unsetAttrByteObject();
+ localObject.unsetAttrByteArray();
+ localObject.unsetAttrChar();
+ localObject.unsetAttrCharacterObject();
+ localObject.unsetAttrDate();
+ localObject.unsetAttrDouble();
+ localObject.unsetAttrDoubleObject();
+ localObject.unsetAttrFloat();
+ localObject.unsetAttrFloatObject();
+ localObject.unsetAttrInt();
+ localObject.unsetAttrIntegerObject();
+ localObject.unsetAttrJavaClass();
+ localObject.unsetAttrJavaObject();
+ localObject.unsetAttrLong();
+ localObject.unsetAttrLongObject();
+ localObject.unsetAttrShort();
+ localObject.unsetAttrShortObject();
+ localObject.unsetAttrString();
+
+ commitAndSync(transaction, remoteTransaction);
+ assertEquals(localObject.getAttrBigDecimal(), remoteObject.getAttrBigDecimal());
+ assertEquals(localObject.getAttrBigInteger(), remoteObject.getAttrBigInteger());
+ assertEquals(localObject.isAttrBoolean(), remoteObject.isAttrBoolean());
+ assertEquals(localObject.getAttrBooleanObject(), remoteObject.getAttrBooleanObject());
+ assertEquals(localObject.getAttrByte(), remoteObject.getAttrByte());
+ assertEquals(localObject.getAttrByteObject(), remoteObject.getAttrByteObject());
+ assertEquals(true, Arrays.equals(localObject.getAttrByteArray(), remoteObject.getAttrByteArray()));
+ assertEquals(localObject.getAttrChar(), remoteObject.getAttrChar());
+ assertEquals(localObject.getAttrCharacterObject(), remoteObject.getAttrCharacterObject());
+ assertEquals(localObject.getAttrDate(), remoteObject.getAttrDate());
+ assertEquals(localObject.getAttrDouble(), remoteObject.getAttrDouble());
+ assertEquals(localObject.getAttrDoubleObject(), remoteObject.getAttrDoubleObject());
+ assertEquals(localObject.getAttrFloat(), remoteObject.getAttrFloat());
+ assertEquals(localObject.getAttrFloatObject(), remoteObject.getAttrFloatObject());
+ assertEquals(localObject.getAttrInt(), remoteObject.getAttrInt());
+ assertEquals(localObject.getAttrIntegerObject(), remoteObject.getAttrIntegerObject());
+ assertEquals(localObject.getAttrJavaClass(), remoteObject.getAttrJavaClass());
+ assertEquals(true, Arrays.equals((int[])localObject.getAttrJavaObject(), (int[])remoteObject.getAttrJavaObject()));
+ assertEquals(localObject.getAttrLong(), remoteObject.getAttrLong());
+ assertEquals(localObject.getAttrLongObject(), remoteObject.getAttrLongObject());
+ assertEquals(localObject.getAttrShort(), remoteObject.getAttrShort());
+ assertEquals(localObject.getAttrShortObject(), remoteObject.getAttrShortObject());
+ assertEquals(localObject.getAttrString(), remoteObject.getAttrString());
+
+ assertEquals(localObject.isSetAttrBigDecimal(), remoteObject.isSetAttrBigDecimal());
+ assertEquals(localObject.isSetAttrBigInteger(), remoteObject.isSetAttrBigInteger());
+ assertEquals(localObject.isSetAttrBoolean(), remoteObject.isSetAttrBoolean());
+ assertEquals(localObject.isSetAttrBooleanObject(), remoteObject.isSetAttrBooleanObject());
+ assertEquals(localObject.isSetAttrByte(), remoteObject.isSetAttrByte());
+ assertEquals(localObject.isSetAttrByteObject(), remoteObject.isSetAttrByteObject());
+ assertEquals(localObject.isSetAttrByteArray(), remoteObject.isSetAttrByteArray());
+ assertEquals(localObject.isSetAttrChar(), remoteObject.isSetAttrChar());
+ assertEquals(localObject.isSetAttrCharacterObject(), remoteObject.isSetAttrCharacterObject());
+ assertEquals(localObject.isSetAttrDate(), remoteObject.isSetAttrDate());
+ assertEquals(localObject.isSetAttrDouble(), remoteObject.isSetAttrDouble());
+ assertEquals(localObject.isSetAttrDoubleObject(), remoteObject.isSetAttrDoubleObject());
+ assertEquals(localObject.isSetAttrFloat(), remoteObject.isSetAttrFloat());
+ assertEquals(localObject.isSetAttrFloatObject(), remoteObject.isSetAttrFloatObject());
+ assertEquals(localObject.isSetAttrInt(), remoteObject.isSetAttrInt());
+ assertEquals(localObject.isSetAttrIntegerObject(), remoteObject.isSetAttrIntegerObject());
+ assertEquals(localObject.isSetAttrJavaClass(), remoteObject.isSetAttrJavaClass());
+ assertEquals(localObject.isSetAttrJavaObject(), remoteObject.isSetAttrJavaObject());
+ assertEquals(localObject.isSetAttrLong(), remoteObject.isSetAttrLong());
+ assertEquals(localObject.isSetAttrLongObject(), remoteObject.isSetAttrLongObject());
+ assertEquals(localObject.isSetAttrShort(), remoteObject.isSetAttrShort());
+ assertEquals(localObject.isSetAttrShortObject(), remoteObject.isSetAttrShortObject());
+ assertEquals(localObject.isSetAttrString(), remoteObject.isSetAttrString());
+ }
+
+ public void testAllTypesSetAndDefault() throws Exception
+ {
+ CDOSession session = openSession();
+ CDOTransaction transaction = session.openTransaction();
+ CDOResource resource = transaction.createResource(getResourcePath("/res"));
+
+ // Create an object and set all attributes to non-default values
+ UnsettableAttributes localObject = getModel6Factory().createUnsettableAttributes();
+ localObject.setAttrBigDecimal(new BigDecimal("4711.1234"));
+ localObject.setAttrBigInteger(new BigInteger("4711"));
+ localObject.setAttrBoolean(true);
+ localObject.setAttrBooleanObject(true);
+ localObject.setAttrByte((byte)47);
+ localObject.setAttrByteObject((byte)47);
+ localObject.setAttrByteArray(new byte[] { 4, 7, 1, 1 });
+ localObject.setAttrChar('4');
+ localObject.setAttrCharacterObject('4');
+ localObject.setAttrDate(new Date(4711));
+ localObject.setAttrDouble(4711.1234);
+ localObject.setAttrDoubleObject(4711.1234);
+ localObject.setAttrFloat(4711.1234f);
+ localObject.setAttrFloatObject(4711.1234f);
+ localObject.setAttrInt(4711);
+ localObject.setAttrIntegerObject(4711);
+ localObject.setAttrJavaClass(getClass());
+ localObject.setAttrJavaObject(new int[] { 4, 7, 1, 1 });
+ localObject.setAttrLong(4711L);
+ localObject.setAttrLongObject(4711L);
+ localObject.setAttrShort((short)4711);
+ localObject.setAttrShortObject((short)4711);
+ localObject.setAttrString("4711");
+ resource.getContents().add(localObject);
+ transaction.commit();
+
+ CDOTransaction remoteTransaction = openSession().openTransaction();
+ UnsettableAttributes remoteObject = remoteTransaction.getObject(localObject);
+ assertEquals(localObject.getAttrBigDecimal(), remoteObject.getAttrBigDecimal());
+ assertEquals(localObject.getAttrBigInteger(), remoteObject.getAttrBigInteger());
+ assertEquals(localObject.isAttrBoolean(), remoteObject.isAttrBoolean());
+ assertEquals(localObject.getAttrBooleanObject(), remoteObject.getAttrBooleanObject());
+ assertEquals(localObject.getAttrByte(), remoteObject.getAttrByte());
+ assertEquals(localObject.getAttrByteObject(), remoteObject.getAttrByteObject());
+ assertEquals(true, Arrays.equals(localObject.getAttrByteArray(), remoteObject.getAttrByteArray()));
+ assertEquals(localObject.getAttrChar(), remoteObject.getAttrChar());
+ assertEquals(localObject.getAttrCharacterObject(), remoteObject.getAttrCharacterObject());
+ assertEquals(localObject.getAttrDate(), remoteObject.getAttrDate());
+ assertEquals(localObject.getAttrDouble(), remoteObject.getAttrDouble());
+ assertEquals(localObject.getAttrDoubleObject(), remoteObject.getAttrDoubleObject());
+ assertEquals(localObject.getAttrFloat(), remoteObject.getAttrFloat());
+ assertEquals(localObject.getAttrFloatObject(), remoteObject.getAttrFloatObject());
+ assertEquals(localObject.getAttrInt(), remoteObject.getAttrInt());
+ assertEquals(localObject.getAttrIntegerObject(), remoteObject.getAttrIntegerObject());
+ assertEquals(localObject.getAttrJavaClass(), remoteObject.getAttrJavaClass());
+ assertEquals(true, Arrays.equals((int[])localObject.getAttrJavaObject(), (int[])remoteObject.getAttrJavaObject()));
+ assertEquals(localObject.getAttrLong(), remoteObject.getAttrLong());
+ assertEquals(localObject.getAttrLongObject(), remoteObject.getAttrLongObject());
+ assertEquals(localObject.getAttrShort(), remoteObject.getAttrShort());
+ assertEquals(localObject.getAttrShortObject(), remoteObject.getAttrShortObject());
+ assertEquals(localObject.getAttrString(), remoteObject.getAttrString());
+
+ assertEquals(localObject.isSetAttrBigDecimal(), remoteObject.isSetAttrBigDecimal());
+ assertEquals(localObject.isSetAttrBigInteger(), remoteObject.isSetAttrBigInteger());
+ assertEquals(localObject.isSetAttrBoolean(), remoteObject.isSetAttrBoolean());
+ assertEquals(localObject.isSetAttrBooleanObject(), remoteObject.isSetAttrBooleanObject());
+ assertEquals(localObject.isSetAttrByte(), remoteObject.isSetAttrByte());
+ assertEquals(localObject.isSetAttrByteObject(), remoteObject.isSetAttrByteObject());
+ assertEquals(localObject.isSetAttrByteArray(), remoteObject.isSetAttrByteArray());
+ assertEquals(localObject.isSetAttrChar(), remoteObject.isSetAttrChar());
+ assertEquals(localObject.isSetAttrCharacterObject(), remoteObject.isSetAttrCharacterObject());
+ assertEquals(localObject.isSetAttrDate(), remoteObject.isSetAttrDate());
+ assertEquals(localObject.isSetAttrDouble(), remoteObject.isSetAttrDouble());
+ assertEquals(localObject.isSetAttrDoubleObject(), remoteObject.isSetAttrDoubleObject());
+ assertEquals(localObject.isSetAttrFloat(), remoteObject.isSetAttrFloat());
+ assertEquals(localObject.isSetAttrFloatObject(), remoteObject.isSetAttrFloatObject());
+ assertEquals(localObject.isSetAttrInt(), remoteObject.isSetAttrInt());
+ assertEquals(localObject.isSetAttrIntegerObject(), remoteObject.isSetAttrIntegerObject());
+ assertEquals(localObject.isSetAttrJavaClass(), remoteObject.isSetAttrJavaClass());
+ assertEquals(localObject.isSetAttrJavaObject(), remoteObject.isSetAttrJavaObject());
+ assertEquals(localObject.isSetAttrLong(), remoteObject.isSetAttrLong());
+ assertEquals(localObject.isSetAttrLongObject(), remoteObject.isSetAttrLongObject());
+ assertEquals(localObject.isSetAttrShort(), remoteObject.isSetAttrShort());
+ assertEquals(localObject.isSetAttrShortObject(), remoteObject.isSetAttrShortObject());
+ assertEquals(localObject.isSetAttrString(), remoteObject.isSetAttrString());
+
+ // Set all attributes to default values
+ localObject.setAttrBigDecimal(null);
+ localObject.setAttrBigInteger(null);
+ localObject.setAttrBoolean(false);
+ localObject.setAttrBooleanObject(false);
+ localObject.setAttrByte((byte)0);
+ localObject.setAttrByteObject(null);
+ localObject.setAttrByteArray(null);
+ localObject.setAttrChar('0');
+ localObject.setAttrCharacterObject(null);
+ localObject.setAttrDate(null);
+ localObject.setAttrDouble(0.0);
+ localObject.setAttrDoubleObject(null);
+ localObject.setAttrFloat(0.0f);
+ localObject.setAttrFloatObject(null);
+ localObject.setAttrInt(0);
+ localObject.setAttrIntegerObject(null);
+ localObject.setAttrJavaClass(null);
+ localObject.setAttrJavaObject(null);
+ localObject.setAttrLong(0L);
+ localObject.setAttrLongObject(null);
+ localObject.setAttrShort((short)0);
+ localObject.setAttrShortObject(null);
+ localObject.setAttrString(null);
+
+ commitAndSync(transaction, remoteTransaction);
+ assertEquals(localObject.getAttrBigDecimal(), remoteObject.getAttrBigDecimal());
+ assertEquals(localObject.getAttrBigInteger(), remoteObject.getAttrBigInteger());
+ assertEquals(localObject.isAttrBoolean(), remoteObject.isAttrBoolean());
+ assertEquals(localObject.getAttrBooleanObject(), remoteObject.getAttrBooleanObject());
+ assertEquals(localObject.getAttrByte(), remoteObject.getAttrByte());
+ assertEquals(localObject.getAttrByteObject(), remoteObject.getAttrByteObject());
+ assertEquals(true, Arrays.equals(localObject.getAttrByteArray(), remoteObject.getAttrByteArray()));
+ assertEquals(localObject.getAttrChar(), remoteObject.getAttrChar());
+ assertEquals(localObject.getAttrCharacterObject(), remoteObject.getAttrCharacterObject());
+ assertEquals(localObject.getAttrDate(), remoteObject.getAttrDate());
+ assertEquals(localObject.getAttrDouble(), remoteObject.getAttrDouble());
+ assertEquals(localObject.getAttrDoubleObject(), remoteObject.getAttrDoubleObject());
+ assertEquals(localObject.getAttrFloat(), remoteObject.getAttrFloat());
+ assertEquals(localObject.getAttrFloatObject(), remoteObject.getAttrFloatObject());
+ assertEquals(localObject.getAttrInt(), remoteObject.getAttrInt());
+ assertEquals(localObject.getAttrIntegerObject(), remoteObject.getAttrIntegerObject());
+ assertEquals(localObject.getAttrJavaClass(), remoteObject.getAttrJavaClass());
+ assertEquals(true, Arrays.equals((int[])localObject.getAttrJavaObject(), (int[])remoteObject.getAttrJavaObject()));
+ assertEquals(localObject.getAttrLong(), remoteObject.getAttrLong());
+ assertEquals(localObject.getAttrLongObject(), remoteObject.getAttrLongObject());
+ assertEquals(localObject.getAttrShort(), remoteObject.getAttrShort());
+ assertEquals(localObject.getAttrShortObject(), remoteObject.getAttrShortObject());
+ assertEquals(localObject.getAttrString(), remoteObject.getAttrString());
+
+ assertEquals(localObject.isSetAttrBigDecimal(), remoteObject.isSetAttrBigDecimal());
+ assertEquals(localObject.isSetAttrBigInteger(), remoteObject.isSetAttrBigInteger());
+ assertEquals(localObject.isSetAttrBoolean(), remoteObject.isSetAttrBoolean());
+ assertEquals(localObject.isSetAttrBooleanObject(), remoteObject.isSetAttrBooleanObject());
+ assertEquals(localObject.isSetAttrByte(), remoteObject.isSetAttrByte());
+ assertEquals(localObject.isSetAttrByteObject(), remoteObject.isSetAttrByteObject());
+ assertEquals(localObject.isSetAttrByteArray(), remoteObject.isSetAttrByteArray());
+ assertEquals(localObject.isSetAttrChar(), remoteObject.isSetAttrChar());
+ assertEquals(localObject.isSetAttrCharacterObject(), remoteObject.isSetAttrCharacterObject());
+ assertEquals(localObject.isSetAttrDate(), remoteObject.isSetAttrDate());
+ assertEquals(localObject.isSetAttrDouble(), remoteObject.isSetAttrDouble());
+ assertEquals(localObject.isSetAttrDoubleObject(), remoteObject.isSetAttrDoubleObject());
+ assertEquals(localObject.isSetAttrFloat(), remoteObject.isSetAttrFloat());
+ assertEquals(localObject.isSetAttrFloatObject(), remoteObject.isSetAttrFloatObject());
+ assertEquals(localObject.isSetAttrInt(), remoteObject.isSetAttrInt());
+ assertEquals(localObject.isSetAttrIntegerObject(), remoteObject.isSetAttrIntegerObject());
+ assertEquals(localObject.isSetAttrJavaClass(), remoteObject.isSetAttrJavaClass());
+ assertEquals(localObject.isSetAttrJavaObject(), remoteObject.isSetAttrJavaObject());
+ assertEquals(localObject.isSetAttrLong(), remoteObject.isSetAttrLong());
+ assertEquals(localObject.isSetAttrLongObject(), remoteObject.isSetAttrLongObject());
+ assertEquals(localObject.isSetAttrShort(), remoteObject.isSetAttrShort());
+ assertEquals(localObject.isSetAttrShortObject(), remoteObject.isSetAttrShortObject());
+ assertEquals(localObject.isSetAttrString(), remoteObject.isSetAttrString());
+ }
}

Back to the top