Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-12-03 04:26:47 -0500
committerMartin Taal2012-12-03 04:26:47 -0500
commite07f3301da128e693c785134ca8aa1972ff78a1d (patch)
tree8c74fe6ca8d31d0bba3201df2f4ab7adabca06a8 /generator/org.eclipse.emf.texo.orm
parenta82d5dd9c4fb58c00eb26853a198bdebd35cb213 (diff)
downloadorg.eclipse.emf.texo-e07f3301da128e693c785134ca8aa1972ff78a1d.tar.gz
org.eclipse.emf.texo-e07f3301da128e693c785134ca8aa1972ff78a1d.tar.xz
org.eclipse.emf.texo-e07f3301da128e693c785134ca8aa1972ff78a1d.zip
Repair column defaults
Diffstat (limited to 'generator/org.eclipse.emf.texo.orm')
-rw-r--r--generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel7
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/model/eclipselink_orm.xsd6
-rw-r--r--generator/org.eclipse.emf.texo.orm/model/orm.ecore6
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/Column.java9
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/BasicImpl.java2604
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ColumnImpl.java6
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ElementCollectionImpl.java4151
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ManyToOneImpl.java2722
-rw-r--r--generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/MultitenantImpl.java323
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/OneToOneImpl.java3253
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/TransientImpl.java172
-rw-r--r--generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/orm.ecore13
12 files changed, 5973 insertions, 7299 deletions
diff --git a/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel b/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel
index 4700e065..05e00d91 100644
--- a/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel
+++ b/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.texo.orm/src"
- modelPluginID="org.eclipse.emf.texo.orm" modelName="Eclipselink_orm" rootExtendsInterface="org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotation"
+<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.texo.orm/src" modelPluginID="org.eclipse.emf.texo.orm"
+ modelName="Eclipselink_orm" rootExtendsInterface="org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotation"
rootExtendsClass="org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotationImpl" importerID="org.eclipse.xsd.ecore.importer"
complianceLevel="5.0" copyrightFields="false">
<foreignModel>eclipselink_orm.xsd</foreignModel>
diff --git a/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.xsd b/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.xsd
index 5c06f34b..cff22e54 100755
--- a/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.xsd
+++ b/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.xsd
@@ -1483,9 +1483,9 @@
</xsd:annotation>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="unique" type="xsd:boolean"/>
- <xsd:attribute name="nullable" type="xsd:boolean"/>
- <xsd:attribute name="insertable" type="xsd:boolean"/>
- <xsd:attribute name="updatable" type="xsd:boolean"/>
+ <xsd:attribute name="nullable" type="xsd:boolean" default="true"/>
+ <xsd:attribute name="insertable" type="xsd:boolean" default="true"/>
+ <xsd:attribute name="updatable" type="xsd:boolean" default="true"/>
<xsd:attribute name="column-definition" type="xsd:string"/>
<xsd:attribute name="table" type="xsd:string"/>
<xsd:attribute name="length" type="xsd:int"/>
diff --git a/generator/org.eclipse.emf.texo.orm/model/orm.ecore b/generator/org.eclipse.emf.texo.orm/model/orm.ecore
index 1d34e3c8..628a7c9d 100644
--- a/generator/org.eclipse.emf.texo.orm/model/orm.ecore
+++ b/generator/org.eclipse.emf.texo.orm/model/orm.ecore
@@ -1280,7 +1280,7 @@
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="insertable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
+ defaultValueLiteral="true" unsettable="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="attribute"/>
<details key="name" value="insertable"/>
@@ -1300,7 +1300,7 @@
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nullable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
+ defaultValueLiteral="true" unsettable="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="attribute"/>
<details key="name" value="nullable"/>
@@ -1334,7 +1334,7 @@
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="updatable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
+ defaultValueLiteral="true" unsettable="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="attribute"/>
<details key="name" value="updatable"/>
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/Column.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/Column.java
index 94fe89e7..1a77070a 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/Column.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/Column.java
@@ -82,6 +82,7 @@ public interface Column extends BaseOrmAnnotation {
/**
* Returns the value of the '<em><b>Insertable</b></em>' attribute.
+ * The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Insertable</em>' attribute isn't clear, there really should be more of a description
@@ -93,7 +94,7 @@ public interface Column extends BaseOrmAnnotation {
* @see #unsetInsertable()
* @see #setInsertable(boolean)
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getColumn_Insertable()
- * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * @model default="true" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* extendedMetaData="kind='attribute' name='insertable'"
* @generated
*/
@@ -208,6 +209,7 @@ public interface Column extends BaseOrmAnnotation {
/**
* Returns the value of the '<em><b>Nullable</b></em>' attribute.
+ * The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Nullable</em>' attribute isn't clear, there really should be more of a description
@@ -219,7 +221,7 @@ public interface Column extends BaseOrmAnnotation {
* @see #unsetNullable()
* @see #setNullable(boolean)
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getColumn_Nullable()
- * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * @model default="true" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* extendedMetaData="kind='attribute' name='nullable'"
* @generated
*/
@@ -435,6 +437,7 @@ public interface Column extends BaseOrmAnnotation {
/**
* Returns the value of the '<em><b>Updatable</b></em>' attribute.
+ * The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Updatable</em>' attribute isn't clear, there really should be more of a description
@@ -446,7 +449,7 @@ public interface Column extends BaseOrmAnnotation {
* @see #unsetUpdatable()
* @see #setUpdatable(boolean)
* @see org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage#getColumn_Updatable()
- * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * @model default="true" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* extendedMetaData="kind='attribute' name='updatable'"
* @generated
*/
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/BasicImpl.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/BasicImpl.java
index fe9e8c4b..68cb58d1 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/BasicImpl.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/BasicImpl.java
@@ -47,56 +47,53 @@ import org.eclipse.emf.texo.orm.annotator.ORMJavaAnnotationGenerator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getColumn <em>Column</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getIndex <em>Index</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getGeneratedValue <em>Generated Value</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getLob <em>Lob</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getTemporal <em>Temporal</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getEnumerated <em>Enumerated</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getConvert <em>Convert</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getConverter <em>Converter</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getTypeConverter <em>Type Converter</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getObjectTypeConverter <em>Object Type
- * Converter</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getStructConverter <em>Struct Converter
- * </em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getTableGenerator <em>Table Generator</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getSequenceGenerator <em>Sequence Generator
- * </em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getAccessMethods <em>Access Methods</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getReturnInsert <em>Return Insert</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getReturnUpdate <em>Return Update</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getAccess <em>Access</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getAttributeType <em>Attribute Type</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getFetch <em>Fetch</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#isMutable <em>Mutable</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#isOptional <em>Optional</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getColumn <em>Column</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getIndex <em>Index</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getGeneratedValue <em>Generated Value</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getLob <em>Lob</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getTemporal <em>Temporal</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getEnumerated <em>Enumerated</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getConvert <em>Convert</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getConverter <em>Converter</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getTypeConverter <em>Type Converter</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getObjectTypeConverter <em>Object Type Converter</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getStructConverter <em>Struct Converter</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getTableGenerator <em>Table Generator</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getSequenceGenerator <em>Sequence Generator</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getAccessMethods <em>Access Methods</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getReturnInsert <em>Return Insert</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getReturnUpdate <em>Return Update</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getAccess <em>Access</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getAttributeType <em>Attribute Type</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getFetch <em>Fetch</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#isMutable <em>Mutable</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.BasicImpl#isOptional <em>Optional</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
/**
- * The cached value of the '{@link #getColumn() <em>Column</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getColumn() <em>Column</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getColumn()
- * @generated
- * @ordered
- */
+ * @see #getColumn()
+ * @generated
+ * @ordered
+ */
protected Column column;
/**
- * The cached value of the '{@link #getIndex() <em>Index</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getIndex() <em>Index</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getIndex()
- * @generated
- * @ordered
- */
+ * @see #getIndex()
+ * @generated
+ * @ordered
+ */
protected Index index;
/**
@@ -110,83 +107,83 @@ public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
protected GeneratedValue generatedValue;
/**
- * The cached value of the '{@link #getLob() <em>Lob</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getLob() <em>Lob</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getLob()
- * @generated
- * @ordered
- */
+ * @see #getLob()
+ * @generated
+ * @ordered
+ */
protected Lob lob;
/**
- * The default value of the '{@link #getTemporal() <em>Temporal</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getTemporal() <em>Temporal</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getTemporal()
- * @generated
- * @ordered
- */
+ * @see #getTemporal()
+ * @generated
+ * @ordered
+ */
protected static final TemporalType TEMPORAL_EDEFAULT = null;
/**
- * The cached value of the '{@link #getTemporal() <em>Temporal</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getTemporal() <em>Temporal</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getTemporal()
- * @generated
- * @ordered
- */
+ * @see #getTemporal()
+ * @generated
+ * @ordered
+ */
protected TemporalType temporal = TEMPORAL_EDEFAULT;
/**
- * The default value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getEnumerated()
- * @generated
- * @ordered
- */
+ * @see #getEnumerated()
+ * @generated
+ * @ordered
+ */
protected static final EnumType ENUMERATED_EDEFAULT = null;
/**
- * The cached value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getEnumerated()
- * @generated
- * @ordered
- */
+ * @see #getEnumerated()
+ * @generated
+ * @ordered
+ */
protected EnumType enumerated = ENUMERATED_EDEFAULT;
/**
- * The default value of the '{@link #getConvert() <em>Convert</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getConvert() <em>Convert</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getConvert()
- * @generated
- * @ordered
- */
+ * @see #getConvert()
+ * @generated
+ * @ordered
+ */
protected static final String CONVERT_EDEFAULT = null;
/**
- * The cached value of the '{@link #getConvert() <em>Convert</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getConvert() <em>Convert</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getConvert()
- * @generated
- * @ordered
- */
+ * @see #getConvert()
+ * @generated
+ * @ordered
+ */
protected String convert = CONVERT_EDEFAULT;
/**
- * The cached value of the '{@link #getConverter() <em>Converter</em>}' containment reference. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getConverter() <em>Converter</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getConverter()
- * @generated
- * @ordered
- */
+ * @see #getConverter()
+ * @generated
+ * @ordered
+ */
protected Converter converter;
/**
@@ -200,13 +197,12 @@ public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
protected TypeConverter typeConverter;
/**
- * The cached value of the '{@link #getObjectTypeConverter() <em>Object Type Converter</em>}' containment reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getObjectTypeConverter()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getObjectTypeConverter() <em>Object Type Converter</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getObjectTypeConverter()
+ * @generated
+ * @ordered
+ */
protected ObjectTypeConverter objectTypeConverter;
/**
@@ -240,13 +236,13 @@ public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
protected SequenceGenerator sequenceGenerator;
/**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. <!-- begin-user-doc
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getProperty()
- * @generated
- * @ordered
- */
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
protected EList<Property> property;
/**
@@ -280,13 +276,13 @@ public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
protected EmptyType returnUpdate;
/**
- * The default value of the '{@link #getAccess() <em>Access</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getAccess() <em>Access</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getAccess()
- * @generated
- * @ordered
- */
+ * @see #getAccess()
+ * @generated
+ * @ordered
+ */
protected static final AccessType ACCESS_EDEFAULT = AccessType.PROPERTY;
/**
@@ -300,31 +296,31 @@ public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
protected AccessType access = ACCESS_EDEFAULT;
/**
- * This is true if the Access attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Access attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean accessESet;
/**
- * The default value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. <!-- begin-user-doc -->
+ * The default value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getAttributeType()
- * @generated
- * @ordered
- */
+ * @see #getAttributeType()
+ * @generated
+ * @ordered
+ */
protected static final String ATTRIBUTE_TYPE_EDEFAULT = null;
/**
- * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getAttributeType()
- * @generated
- * @ordered
- */
+ * @see #getAttributeType()
+ * @generated
+ * @ordered
+ */
protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT;
/**
@@ -348,39 +344,39 @@ public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
protected FetchType fetch = FETCH_EDEFAULT;
/**
- * This is true if the Fetch attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Fetch attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean fetchESet;
/**
- * The default value of the '{@link #isMutable() <em>Mutable</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #isMutable() <em>Mutable</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #isMutable()
- * @generated
- * @ordered
- */
+ * @see #isMutable()
+ * @generated
+ * @ordered
+ */
protected static final boolean MUTABLE_EDEFAULT = false;
/**
- * The cached value of the '{@link #isMutable() <em>Mutable</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #isMutable() <em>Mutable</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #isMutable()
- * @generated
- * @ordered
- */
+ * @see #isMutable()
+ * @generated
+ * @ordered
+ */
protected boolean mutable = MUTABLE_EDEFAULT;
/**
- * This is true if the Mutable attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Mutable attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean mutableESet;
/**
@@ -394,1461 +390,1199 @@ public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
protected static final String NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
protected String name = NAME_EDEFAULT;
/**
- * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #isOptional()
- * @generated
- * @ordered
- */
+ * @see #isOptional()
+ * @generated
+ * @ordered
+ */
protected static final boolean OPTIONAL_EDEFAULT = false;
/**
- * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #isOptional()
- * @generated
- * @ordered
- */
+ * @see #isOptional()
+ * @generated
+ * @ordered
+ */
protected boolean optional = OPTIONAL_EDEFAULT;
/**
- * This is true if the Optional attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Optional attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean optionalESet;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected BasicImpl() {
- super();
- }
+ super();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EClass eStaticClass() {
- return OrmPackage.eINSTANCE.getBasic();
- }
+ return OrmPackage.eINSTANCE.getBasic();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Column getColumn() {
- return column;
- }
+ return column;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetColumn(Column newColumn, NotificationChain msgs) {
- Column oldColumn = column;
- column = newColumn;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__COLUMN,
- oldColumn, newColumn);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Column oldColumn = column;
+ column = newColumn;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__COLUMN, oldColumn, newColumn);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setColumn(Column newColumn) {
- if (newColumn != column) {
- NotificationChain msgs = null;
- if (column != null) {
- msgs = ((InternalEObject) column).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__COLUMN, null,
- msgs);
- }
- if (newColumn != null) {
- msgs = ((InternalEObject) newColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__COLUMN, null,
- msgs);
- }
- msgs = basicSetColumn(newColumn, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__COLUMN, newColumn, newColumn));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newColumn != column) {
+ NotificationChain msgs = null;
+ if (column != null)
+ msgs = ((InternalEObject)column).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__COLUMN, null, msgs);
+ if (newColumn != null)
+ msgs = ((InternalEObject)newColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__COLUMN, null, msgs);
+ msgs = basicSetColumn(newColumn, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__COLUMN, newColumn, newColumn));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Index getIndex() {
- return index;
- }
+ return index;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetIndex(Index newIndex, NotificationChain msgs) {
- Index oldIndex = index;
- index = newIndex;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__INDEX, oldIndex,
- newIndex);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Index oldIndex = index;
+ index = newIndex;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__INDEX, oldIndex, newIndex);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setIndex(Index newIndex) {
- if (newIndex != index) {
- NotificationChain msgs = null;
- if (index != null) {
- msgs = ((InternalEObject) index).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__INDEX, null,
- msgs);
- }
- if (newIndex != null) {
- msgs = ((InternalEObject) newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__INDEX, null,
- msgs);
- }
- msgs = basicSetIndex(newIndex, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__INDEX, newIndex, newIndex));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newIndex != index) {
+ NotificationChain msgs = null;
+ if (index != null)
+ msgs = ((InternalEObject)index).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__INDEX, null, msgs);
+ if (newIndex != null)
+ msgs = ((InternalEObject)newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__INDEX, null, msgs);
+ msgs = basicSetIndex(newIndex, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__INDEX, newIndex, newIndex));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public GeneratedValue getGeneratedValue() {
- return generatedValue;
- }
+ return generatedValue;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetGeneratedValue(GeneratedValue newGeneratedValue, NotificationChain msgs) {
- GeneratedValue oldGeneratedValue = generatedValue;
- generatedValue = newGeneratedValue;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__GENERATED_VALUE,
- oldGeneratedValue, newGeneratedValue);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ GeneratedValue oldGeneratedValue = generatedValue;
+ generatedValue = newGeneratedValue;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__GENERATED_VALUE, oldGeneratedValue, newGeneratedValue);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setGeneratedValue(GeneratedValue newGeneratedValue) {
- if (newGeneratedValue != generatedValue) {
- NotificationChain msgs = null;
- if (generatedValue != null) {
- msgs = ((InternalEObject) generatedValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__GENERATED_VALUE, null, msgs);
- }
- if (newGeneratedValue != null) {
- msgs = ((InternalEObject) newGeneratedValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__GENERATED_VALUE, null, msgs);
- }
- msgs = basicSetGeneratedValue(newGeneratedValue, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__GENERATED_VALUE, newGeneratedValue,
- newGeneratedValue));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newGeneratedValue != generatedValue) {
+ NotificationChain msgs = null;
+ if (generatedValue != null)
+ msgs = ((InternalEObject)generatedValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__GENERATED_VALUE, null, msgs);
+ if (newGeneratedValue != null)
+ msgs = ((InternalEObject)newGeneratedValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__GENERATED_VALUE, null, msgs);
+ msgs = basicSetGeneratedValue(newGeneratedValue, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__GENERATED_VALUE, newGeneratedValue, newGeneratedValue));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Lob getLob() {
- return lob;
- }
+ return lob;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetLob(Lob newLob, NotificationChain msgs) {
- Lob oldLob = lob;
- lob = newLob;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__LOB, oldLob,
- newLob);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Lob oldLob = lob;
+ lob = newLob;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__LOB, oldLob, newLob);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setLob(Lob newLob) {
- if (newLob != lob) {
- NotificationChain msgs = null;
- if (lob != null) {
- msgs = ((InternalEObject) lob).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__LOB, null, msgs);
- }
- if (newLob != null) {
- msgs = ((InternalEObject) newLob).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__LOB, null, msgs);
- }
- msgs = basicSetLob(newLob, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__LOB, newLob, newLob));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newLob != lob) {
+ NotificationChain msgs = null;
+ if (lob != null)
+ msgs = ((InternalEObject)lob).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__LOB, null, msgs);
+ if (newLob != null)
+ msgs = ((InternalEObject)newLob).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__LOB, null, msgs);
+ msgs = basicSetLob(newLob, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__LOB, newLob, newLob));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public TemporalType getTemporal() {
- return temporal;
- }
+ return temporal;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setTemporal(TemporalType newTemporal) {
- TemporalType oldTemporal = temporal;
- temporal = newTemporal;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TEMPORAL, oldTemporal, temporal));
- }
- }
+ TemporalType oldTemporal = temporal;
+ temporal = newTemporal;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TEMPORAL, oldTemporal, temporal));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EnumType getEnumerated() {
- return enumerated;
- }
+ return enumerated;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setEnumerated(EnumType newEnumerated) {
- EnumType oldEnumerated = enumerated;
- enumerated = newEnumerated;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ENUMERATED, oldEnumerated, enumerated));
- }
- }
+ EnumType oldEnumerated = enumerated;
+ enumerated = newEnumerated;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ENUMERATED, oldEnumerated, enumerated));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getConvert() {
- return convert;
- }
+ return convert;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setConvert(String newConvert) {
- String oldConvert = convert;
- convert = newConvert;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__CONVERT, oldConvert, convert));
- }
- }
+ String oldConvert = convert;
+ convert = newConvert;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__CONVERT, oldConvert, convert));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Converter getConverter() {
- return converter;
- }
+ return converter;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetConverter(Converter newConverter, NotificationChain msgs) {
- Converter oldConverter = converter;
- converter = newConverter;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__CONVERTER,
- oldConverter, newConverter);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Converter oldConverter = converter;
+ converter = newConverter;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__CONVERTER, oldConverter, newConverter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setConverter(Converter newConverter) {
- if (newConverter != converter) {
- NotificationChain msgs = null;
- if (converter != null) {
- msgs = ((InternalEObject) converter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__CONVERTER,
- null, msgs);
- }
- if (newConverter != null) {
- msgs = ((InternalEObject) newConverter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__CONVERTER,
- null, msgs);
- }
- msgs = basicSetConverter(newConverter, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__CONVERTER, newConverter, newConverter));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newConverter != converter) {
+ NotificationChain msgs = null;
+ if (converter != null)
+ msgs = ((InternalEObject)converter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__CONVERTER, null, msgs);
+ if (newConverter != null)
+ msgs = ((InternalEObject)newConverter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__CONVERTER, null, msgs);
+ msgs = basicSetConverter(newConverter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__CONVERTER, newConverter, newConverter));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public TypeConverter getTypeConverter() {
- return typeConverter;
- }
+ return typeConverter;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetTypeConverter(TypeConverter newTypeConverter, NotificationChain msgs) {
- TypeConverter oldTypeConverter = typeConverter;
- typeConverter = newTypeConverter;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TYPE_CONVERTER,
- oldTypeConverter, newTypeConverter);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ TypeConverter oldTypeConverter = typeConverter;
+ typeConverter = newTypeConverter;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TYPE_CONVERTER, oldTypeConverter, newTypeConverter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setTypeConverter(TypeConverter newTypeConverter) {
- if (newTypeConverter != typeConverter) {
- NotificationChain msgs = null;
- if (typeConverter != null) {
- msgs = ((InternalEObject) typeConverter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__TYPE_CONVERTER, null, msgs);
- }
- if (newTypeConverter != null) {
- msgs = ((InternalEObject) newTypeConverter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__TYPE_CONVERTER, null, msgs);
- }
- msgs = basicSetTypeConverter(newTypeConverter, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TYPE_CONVERTER, newTypeConverter,
- newTypeConverter));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newTypeConverter != typeConverter) {
+ NotificationChain msgs = null;
+ if (typeConverter != null)
+ msgs = ((InternalEObject)typeConverter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__TYPE_CONVERTER, null, msgs);
+ if (newTypeConverter != null)
+ msgs = ((InternalEObject)newTypeConverter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__TYPE_CONVERTER, null, msgs);
+ msgs = basicSetTypeConverter(newTypeConverter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TYPE_CONVERTER, newTypeConverter, newTypeConverter));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ObjectTypeConverter getObjectTypeConverter() {
- return objectTypeConverter;
- }
+ return objectTypeConverter;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetObjectTypeConverter(ObjectTypeConverter newObjectTypeConverter,
NotificationChain msgs) {
- ObjectTypeConverter oldObjectTypeConverter = objectTypeConverter;
- objectTypeConverter = newObjectTypeConverter;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.BASIC__OBJECT_TYPE_CONVERTER, oldObjectTypeConverter, newObjectTypeConverter);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ ObjectTypeConverter oldObjectTypeConverter = objectTypeConverter;
+ objectTypeConverter = newObjectTypeConverter;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__OBJECT_TYPE_CONVERTER, oldObjectTypeConverter, newObjectTypeConverter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setObjectTypeConverter(ObjectTypeConverter newObjectTypeConverter) {
- if (newObjectTypeConverter != objectTypeConverter) {
- NotificationChain msgs = null;
- if (objectTypeConverter != null) {
- msgs = ((InternalEObject) objectTypeConverter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__OBJECT_TYPE_CONVERTER, null, msgs);
- }
- if (newObjectTypeConverter != null) {
- msgs = ((InternalEObject) newObjectTypeConverter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__OBJECT_TYPE_CONVERTER, null, msgs);
- }
- msgs = basicSetObjectTypeConverter(newObjectTypeConverter, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__OBJECT_TYPE_CONVERTER,
- newObjectTypeConverter, newObjectTypeConverter));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newObjectTypeConverter != objectTypeConverter) {
+ NotificationChain msgs = null;
+ if (objectTypeConverter != null)
+ msgs = ((InternalEObject)objectTypeConverter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__OBJECT_TYPE_CONVERTER, null, msgs);
+ if (newObjectTypeConverter != null)
+ msgs = ((InternalEObject)newObjectTypeConverter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__OBJECT_TYPE_CONVERTER, null, msgs);
+ msgs = basicSetObjectTypeConverter(newObjectTypeConverter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__OBJECT_TYPE_CONVERTER, newObjectTypeConverter, newObjectTypeConverter));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public StructConverter getStructConverter() {
- return structConverter;
- }
+ return structConverter;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetStructConverter(StructConverter newStructConverter, NotificationChain msgs) {
- StructConverter oldStructConverter = structConverter;
- structConverter = newStructConverter;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.BASIC__STRUCT_CONVERTER, oldStructConverter, newStructConverter);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ StructConverter oldStructConverter = structConverter;
+ structConverter = newStructConverter;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__STRUCT_CONVERTER, oldStructConverter, newStructConverter);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setStructConverter(StructConverter newStructConverter) {
- if (newStructConverter != structConverter) {
- NotificationChain msgs = null;
- if (structConverter != null) {
- msgs = ((InternalEObject) structConverter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__STRUCT_CONVERTER, null, msgs);
- }
- if (newStructConverter != null) {
- msgs = ((InternalEObject) newStructConverter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__STRUCT_CONVERTER, null, msgs);
- }
- msgs = basicSetStructConverter(newStructConverter, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__STRUCT_CONVERTER, newStructConverter,
- newStructConverter));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newStructConverter != structConverter) {
+ NotificationChain msgs = null;
+ if (structConverter != null)
+ msgs = ((InternalEObject)structConverter).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__STRUCT_CONVERTER, null, msgs);
+ if (newStructConverter != null)
+ msgs = ((InternalEObject)newStructConverter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__STRUCT_CONVERTER, null, msgs);
+ msgs = basicSetStructConverter(newStructConverter, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__STRUCT_CONVERTER, newStructConverter, newStructConverter));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public TableGenerator getTableGenerator() {
- return tableGenerator;
- }
+ return tableGenerator;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetTableGenerator(TableGenerator newTableGenerator, NotificationChain msgs) {
- TableGenerator oldTableGenerator = tableGenerator;
- tableGenerator = newTableGenerator;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TABLE_GENERATOR,
- oldTableGenerator, newTableGenerator);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ TableGenerator oldTableGenerator = tableGenerator;
+ tableGenerator = newTableGenerator;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TABLE_GENERATOR, oldTableGenerator, newTableGenerator);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setTableGenerator(TableGenerator newTableGenerator) {
- if (newTableGenerator != tableGenerator) {
- NotificationChain msgs = null;
- if (tableGenerator != null) {
- msgs = ((InternalEObject) tableGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__TABLE_GENERATOR, null, msgs);
- }
- if (newTableGenerator != null) {
- msgs = ((InternalEObject) newTableGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__TABLE_GENERATOR, null, msgs);
- }
- msgs = basicSetTableGenerator(newTableGenerator, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TABLE_GENERATOR, newTableGenerator,
- newTableGenerator));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newTableGenerator != tableGenerator) {
+ NotificationChain msgs = null;
+ if (tableGenerator != null)
+ msgs = ((InternalEObject)tableGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__TABLE_GENERATOR, null, msgs);
+ if (newTableGenerator != null)
+ msgs = ((InternalEObject)newTableGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__TABLE_GENERATOR, null, msgs);
+ msgs = basicSetTableGenerator(newTableGenerator, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__TABLE_GENERATOR, newTableGenerator, newTableGenerator));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public SequenceGenerator getSequenceGenerator() {
- return sequenceGenerator;
- }
+ return sequenceGenerator;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetSequenceGenerator(SequenceGenerator newSequenceGenerator, NotificationChain msgs) {
- SequenceGenerator oldSequenceGenerator = sequenceGenerator;
- sequenceGenerator = newSequenceGenerator;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.BASIC__SEQUENCE_GENERATOR, oldSequenceGenerator, newSequenceGenerator);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ SequenceGenerator oldSequenceGenerator = sequenceGenerator;
+ sequenceGenerator = newSequenceGenerator;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__SEQUENCE_GENERATOR, oldSequenceGenerator, newSequenceGenerator);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setSequenceGenerator(SequenceGenerator newSequenceGenerator) {
- if (newSequenceGenerator != sequenceGenerator) {
- NotificationChain msgs = null;
- if (sequenceGenerator != null) {
- msgs = ((InternalEObject) sequenceGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__SEQUENCE_GENERATOR, null, msgs);
- }
- if (newSequenceGenerator != null) {
- msgs = ((InternalEObject) newSequenceGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__SEQUENCE_GENERATOR, null, msgs);
- }
- msgs = basicSetSequenceGenerator(newSequenceGenerator, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__SEQUENCE_GENERATOR, newSequenceGenerator,
- newSequenceGenerator));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newSequenceGenerator != sequenceGenerator) {
+ NotificationChain msgs = null;
+ if (sequenceGenerator != null)
+ msgs = ((InternalEObject)sequenceGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__SEQUENCE_GENERATOR, null, msgs);
+ if (newSequenceGenerator != null)
+ msgs = ((InternalEObject)newSequenceGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__SEQUENCE_GENERATOR, null, msgs);
+ msgs = basicSetSequenceGenerator(newSequenceGenerator, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__SEQUENCE_GENERATOR, newSequenceGenerator, newSequenceGenerator));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<Property> getProperty() {
- if (property == null) {
- property = new EObjectContainmentEList<Property>(Property.class, this, OrmPackage.BASIC__PROPERTY);
- }
- return property;
- }
+ if (property == null) {
+ property = new EObjectContainmentEList<Property>(Property.class, this, OrmPackage.BASIC__PROPERTY);
+ }
+ return property;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public AccessMethods getAccessMethods() {
- return accessMethods;
- }
+ return accessMethods;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetAccessMethods(AccessMethods newAccessMethods, NotificationChain msgs) {
- AccessMethods oldAccessMethods = accessMethods;
- accessMethods = newAccessMethods;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ACCESS_METHODS,
- oldAccessMethods, newAccessMethods);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessMethods oldAccessMethods = accessMethods;
+ accessMethods = newAccessMethods;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ACCESS_METHODS, oldAccessMethods, newAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAccessMethods(AccessMethods newAccessMethods) {
- if (newAccessMethods != accessMethods) {
- NotificationChain msgs = null;
- if (accessMethods != null) {
- msgs = ((InternalEObject) accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__ACCESS_METHODS, null, msgs);
- }
- if (newAccessMethods != null) {
- msgs = ((InternalEObject) newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__ACCESS_METHODS, null, msgs);
- }
- msgs = basicSetAccessMethods(newAccessMethods, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ACCESS_METHODS, newAccessMethods,
- newAccessMethods));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newAccessMethods != accessMethods) {
+ NotificationChain msgs = null;
+ if (accessMethods != null)
+ msgs = ((InternalEObject)accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__ACCESS_METHODS, null, msgs);
+ if (newAccessMethods != null)
+ msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__ACCESS_METHODS, null, msgs);
+ msgs = basicSetAccessMethods(newAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ACCESS_METHODS, newAccessMethods, newAccessMethods));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ReturnInsert getReturnInsert() {
- return returnInsert;
- }
+ return returnInsert;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetReturnInsert(ReturnInsert newReturnInsert, NotificationChain msgs) {
- ReturnInsert oldReturnInsert = returnInsert;
- returnInsert = newReturnInsert;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__RETURN_INSERT,
- oldReturnInsert, newReturnInsert);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ ReturnInsert oldReturnInsert = returnInsert;
+ returnInsert = newReturnInsert;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__RETURN_INSERT, oldReturnInsert, newReturnInsert);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setReturnInsert(ReturnInsert newReturnInsert) {
- if (newReturnInsert != returnInsert) {
- NotificationChain msgs = null;
- if (returnInsert != null) {
- msgs = ((InternalEObject) returnInsert).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__RETURN_INSERT, null, msgs);
- }
- if (newReturnInsert != null) {
- msgs = ((InternalEObject) newReturnInsert).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__RETURN_INSERT, null, msgs);
- }
- msgs = basicSetReturnInsert(newReturnInsert, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__RETURN_INSERT, newReturnInsert,
- newReturnInsert));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newReturnInsert != returnInsert) {
+ NotificationChain msgs = null;
+ if (returnInsert != null)
+ msgs = ((InternalEObject)returnInsert).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__RETURN_INSERT, null, msgs);
+ if (newReturnInsert != null)
+ msgs = ((InternalEObject)newReturnInsert).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__RETURN_INSERT, null, msgs);
+ msgs = basicSetReturnInsert(newReturnInsert, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__RETURN_INSERT, newReturnInsert, newReturnInsert));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EmptyType getReturnUpdate() {
- return returnUpdate;
- }
+ return returnUpdate;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetReturnUpdate(EmptyType newReturnUpdate, NotificationChain msgs) {
- EmptyType oldReturnUpdate = returnUpdate;
- returnUpdate = newReturnUpdate;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__RETURN_UPDATE,
- oldReturnUpdate, newReturnUpdate);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ EmptyType oldReturnUpdate = returnUpdate;
+ returnUpdate = newReturnUpdate;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__RETURN_UPDATE, oldReturnUpdate, newReturnUpdate);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setReturnUpdate(EmptyType newReturnUpdate) {
- if (newReturnUpdate != returnUpdate) {
- NotificationChain msgs = null;
- if (returnUpdate != null) {
- msgs = ((InternalEObject) returnUpdate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__RETURN_UPDATE, null, msgs);
- }
- if (newReturnUpdate != null) {
- msgs = ((InternalEObject) newReturnUpdate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.BASIC__RETURN_UPDATE, null, msgs);
- }
- msgs = basicSetReturnUpdate(newReturnUpdate, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__RETURN_UPDATE, newReturnUpdate,
- newReturnUpdate));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newReturnUpdate != returnUpdate) {
+ NotificationChain msgs = null;
+ if (returnUpdate != null)
+ msgs = ((InternalEObject)returnUpdate).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__RETURN_UPDATE, null, msgs);
+ if (newReturnUpdate != null)
+ msgs = ((InternalEObject)newReturnUpdate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.BASIC__RETURN_UPDATE, null, msgs);
+ msgs = basicSetReturnUpdate(newReturnUpdate, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__RETURN_UPDATE, newReturnUpdate, newReturnUpdate));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public AccessType getAccess() {
- return access;
- }
+ return access;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAccess(AccessType newAccess) {
- AccessType oldAccess = access;
- access = newAccess == null ? ACCESS_EDEFAULT : newAccess;
- boolean oldAccessESet = accessESet;
- accessESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ACCESS, oldAccess, access, !oldAccessESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessType oldAccess = access;
+ access = newAccess == null ? ACCESS_EDEFAULT : newAccess;
+ boolean oldAccessESet = accessESet;
+ accessESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ACCESS, oldAccess, access, !oldAccessESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetAccess() {
- AccessType oldAccess = access;
- boolean oldAccessESet = accessESet;
- access = ACCESS_EDEFAULT;
- accessESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.BASIC__ACCESS, oldAccess, ACCESS_EDEFAULT,
- oldAccessESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessType oldAccess = access;
+ boolean oldAccessESet = accessESet;
+ access = ACCESS_EDEFAULT;
+ accessESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.BASIC__ACCESS, oldAccess, ACCESS_EDEFAULT, oldAccessESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetAccess() {
- return accessESet;
- }
+ return accessESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getAttributeType() {
- return attributeType;
- }
+ return attributeType;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAttributeType(String newAttributeType) {
- String oldAttributeType = attributeType;
- attributeType = newAttributeType;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ATTRIBUTE_TYPE, oldAttributeType,
- attributeType));
- }
- }
+ String oldAttributeType = attributeType;
+ attributeType = newAttributeType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__ATTRIBUTE_TYPE, oldAttributeType, attributeType));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public FetchType getFetch() {
- return fetch;
- }
+ return fetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setFetch(FetchType newFetch) {
- FetchType oldFetch = fetch;
- fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
- boolean oldFetchESet = fetchESet;
- fetchESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__FETCH, oldFetch, fetch, !oldFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ FetchType oldFetch = fetch;
+ fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
+ boolean oldFetchESet = fetchESet;
+ fetchESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__FETCH, oldFetch, fetch, !oldFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetFetch() {
- FetchType oldFetch = fetch;
- boolean oldFetchESet = fetchESet;
- fetch = FETCH_EDEFAULT;
- fetchESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.BASIC__FETCH, oldFetch, FETCH_EDEFAULT,
- oldFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ FetchType oldFetch = fetch;
+ boolean oldFetchESet = fetchESet;
+ fetch = FETCH_EDEFAULT;
+ fetchESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.BASIC__FETCH, oldFetch, FETCH_EDEFAULT, oldFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetFetch() {
- return fetchESet;
- }
+ return fetchESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isMutable() {
- return mutable;
- }
+ return mutable;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMutable(boolean newMutable) {
- boolean oldMutable = mutable;
- mutable = newMutable;
- boolean oldMutableESet = mutableESet;
- mutableESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__MUTABLE, oldMutable, mutable,
- !oldMutableESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldMutable = mutable;
+ mutable = newMutable;
+ boolean oldMutableESet = mutableESet;
+ mutableESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__MUTABLE, oldMutable, mutable, !oldMutableESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetMutable() {
- boolean oldMutable = mutable;
- boolean oldMutableESet = mutableESet;
- mutable = MUTABLE_EDEFAULT;
- mutableESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.BASIC__MUTABLE, oldMutable, MUTABLE_EDEFAULT,
- oldMutableESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldMutable = mutable;
+ boolean oldMutableESet = mutableESet;
+ mutable = MUTABLE_EDEFAULT;
+ mutableESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.BASIC__MUTABLE, oldMutable, MUTABLE_EDEFAULT, oldMutableESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetMutable() {
- return mutableESet;
- }
+ return mutableESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getName() {
- return name;
- }
+ return name;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__NAME, oldName, name));
- }
- }
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__NAME, oldName, name));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isOptional() {
- return optional;
- }
+ return optional;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setOptional(boolean newOptional) {
- boolean oldOptional = optional;
- optional = newOptional;
- boolean oldOptionalESet = optionalESet;
- optionalESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__OPTIONAL, oldOptional, optional,
- !oldOptionalESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldOptional = optional;
+ optional = newOptional;
+ boolean oldOptionalESet = optionalESet;
+ optionalESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.BASIC__OPTIONAL, oldOptional, optional, !oldOptionalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetOptional() {
- boolean oldOptional = optional;
- boolean oldOptionalESet = optionalESet;
- optional = OPTIONAL_EDEFAULT;
- optionalESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.BASIC__OPTIONAL, oldOptional,
- OPTIONAL_EDEFAULT, oldOptionalESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldOptional = optional;
+ boolean oldOptionalESet = optionalESet;
+ optional = OPTIONAL_EDEFAULT;
+ optionalESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.BASIC__OPTIONAL, oldOptional, OPTIONAL_EDEFAULT, oldOptionalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetOptional() {
- return optionalESet;
- }
+ return optionalESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OrmPackage.BASIC__COLUMN:
- return basicSetColumn(null, msgs);
- case OrmPackage.BASIC__INDEX:
- return basicSetIndex(null, msgs);
- case OrmPackage.BASIC__GENERATED_VALUE:
- return basicSetGeneratedValue(null, msgs);
- case OrmPackage.BASIC__LOB:
- return basicSetLob(null, msgs);
- case OrmPackage.BASIC__CONVERTER:
- return basicSetConverter(null, msgs);
- case OrmPackage.BASIC__TYPE_CONVERTER:
- return basicSetTypeConverter(null, msgs);
- case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
- return basicSetObjectTypeConverter(null, msgs);
- case OrmPackage.BASIC__STRUCT_CONVERTER:
- return basicSetStructConverter(null, msgs);
- case OrmPackage.BASIC__TABLE_GENERATOR:
- return basicSetTableGenerator(null, msgs);
- case OrmPackage.BASIC__SEQUENCE_GENERATOR:
- return basicSetSequenceGenerator(null, msgs);
- case OrmPackage.BASIC__PROPERTY:
- return ((InternalEList<?>) getProperty()).basicRemove(otherEnd, msgs);
- case OrmPackage.BASIC__ACCESS_METHODS:
- return basicSetAccessMethods(null, msgs);
- case OrmPackage.BASIC__RETURN_INSERT:
- return basicSetReturnInsert(null, msgs);
- case OrmPackage.BASIC__RETURN_UPDATE:
- return basicSetReturnUpdate(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.BASIC__COLUMN:
+ return basicSetColumn(null, msgs);
+ case OrmPackage.BASIC__INDEX:
+ return basicSetIndex(null, msgs);
+ case OrmPackage.BASIC__GENERATED_VALUE:
+ return basicSetGeneratedValue(null, msgs);
+ case OrmPackage.BASIC__LOB:
+ return basicSetLob(null, msgs);
+ case OrmPackage.BASIC__CONVERTER:
+ return basicSetConverter(null, msgs);
+ case OrmPackage.BASIC__TYPE_CONVERTER:
+ return basicSetTypeConverter(null, msgs);
+ case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
+ return basicSetObjectTypeConverter(null, msgs);
+ case OrmPackage.BASIC__STRUCT_CONVERTER:
+ return basicSetStructConverter(null, msgs);
+ case OrmPackage.BASIC__TABLE_GENERATOR:
+ return basicSetTableGenerator(null, msgs);
+ case OrmPackage.BASIC__SEQUENCE_GENERATOR:
+ return basicSetSequenceGenerator(null, msgs);
+ case OrmPackage.BASIC__PROPERTY:
+ return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs);
+ case OrmPackage.BASIC__ACCESS_METHODS:
+ return basicSetAccessMethods(null, msgs);
+ case OrmPackage.BASIC__RETURN_INSERT:
+ return basicSetReturnInsert(null, msgs);
+ case OrmPackage.BASIC__RETURN_UPDATE:
+ return basicSetReturnUpdate(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OrmPackage.BASIC__COLUMN:
- return getColumn();
- case OrmPackage.BASIC__INDEX:
- return getIndex();
- case OrmPackage.BASIC__GENERATED_VALUE:
- return getGeneratedValue();
- case OrmPackage.BASIC__LOB:
- return getLob();
- case OrmPackage.BASIC__TEMPORAL:
- return getTemporal();
- case OrmPackage.BASIC__ENUMERATED:
- return getEnumerated();
- case OrmPackage.BASIC__CONVERT:
- return getConvert();
- case OrmPackage.BASIC__CONVERTER:
- return getConverter();
- case OrmPackage.BASIC__TYPE_CONVERTER:
- return getTypeConverter();
- case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
- return getObjectTypeConverter();
- case OrmPackage.BASIC__STRUCT_CONVERTER:
- return getStructConverter();
- case OrmPackage.BASIC__TABLE_GENERATOR:
- return getTableGenerator();
- case OrmPackage.BASIC__SEQUENCE_GENERATOR:
- return getSequenceGenerator();
- case OrmPackage.BASIC__PROPERTY:
- return getProperty();
- case OrmPackage.BASIC__ACCESS_METHODS:
- return getAccessMethods();
- case OrmPackage.BASIC__RETURN_INSERT:
- return getReturnInsert();
- case OrmPackage.BASIC__RETURN_UPDATE:
- return getReturnUpdate();
- case OrmPackage.BASIC__ACCESS:
- return getAccess();
- case OrmPackage.BASIC__ATTRIBUTE_TYPE:
- return getAttributeType();
- case OrmPackage.BASIC__FETCH:
- return getFetch();
- case OrmPackage.BASIC__MUTABLE:
- return isMutable();
- case OrmPackage.BASIC__NAME:
- return getName();
- case OrmPackage.BASIC__OPTIONAL:
- return isOptional();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.BASIC__COLUMN:
+ return getColumn();
+ case OrmPackage.BASIC__INDEX:
+ return getIndex();
+ case OrmPackage.BASIC__GENERATED_VALUE:
+ return getGeneratedValue();
+ case OrmPackage.BASIC__LOB:
+ return getLob();
+ case OrmPackage.BASIC__TEMPORAL:
+ return getTemporal();
+ case OrmPackage.BASIC__ENUMERATED:
+ return getEnumerated();
+ case OrmPackage.BASIC__CONVERT:
+ return getConvert();
+ case OrmPackage.BASIC__CONVERTER:
+ return getConverter();
+ case OrmPackage.BASIC__TYPE_CONVERTER:
+ return getTypeConverter();
+ case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
+ return getObjectTypeConverter();
+ case OrmPackage.BASIC__STRUCT_CONVERTER:
+ return getStructConverter();
+ case OrmPackage.BASIC__TABLE_GENERATOR:
+ return getTableGenerator();
+ case OrmPackage.BASIC__SEQUENCE_GENERATOR:
+ return getSequenceGenerator();
+ case OrmPackage.BASIC__PROPERTY:
+ return getProperty();
+ case OrmPackage.BASIC__ACCESS_METHODS:
+ return getAccessMethods();
+ case OrmPackage.BASIC__RETURN_INSERT:
+ return getReturnInsert();
+ case OrmPackage.BASIC__RETURN_UPDATE:
+ return getReturnUpdate();
+ case OrmPackage.BASIC__ACCESS:
+ return getAccess();
+ case OrmPackage.BASIC__ATTRIBUTE_TYPE:
+ return getAttributeType();
+ case OrmPackage.BASIC__FETCH:
+ return getFetch();
+ case OrmPackage.BASIC__MUTABLE:
+ return isMutable();
+ case OrmPackage.BASIC__NAME:
+ return getName();
+ case OrmPackage.BASIC__OPTIONAL:
+ return isOptional();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OrmPackage.BASIC__COLUMN:
- setColumn((Column) newValue);
- return;
- case OrmPackage.BASIC__INDEX:
- setIndex((Index) newValue);
- return;
- case OrmPackage.BASIC__GENERATED_VALUE:
- setGeneratedValue((GeneratedValue) newValue);
- return;
- case OrmPackage.BASIC__LOB:
- setLob((Lob) newValue);
- return;
- case OrmPackage.BASIC__TEMPORAL:
- setTemporal((TemporalType) newValue);
- return;
- case OrmPackage.BASIC__ENUMERATED:
- setEnumerated((EnumType) newValue);
- return;
- case OrmPackage.BASIC__CONVERT:
- setConvert((String) newValue);
- return;
- case OrmPackage.BASIC__CONVERTER:
- setConverter((Converter) newValue);
- return;
- case OrmPackage.BASIC__TYPE_CONVERTER:
- setTypeConverter((TypeConverter) newValue);
- return;
- case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
- setObjectTypeConverter((ObjectTypeConverter) newValue);
- return;
- case OrmPackage.BASIC__STRUCT_CONVERTER:
- setStructConverter((StructConverter) newValue);
- return;
- case OrmPackage.BASIC__TABLE_GENERATOR:
- setTableGenerator((TableGenerator) newValue);
- return;
- case OrmPackage.BASIC__SEQUENCE_GENERATOR:
- setSequenceGenerator((SequenceGenerator) newValue);
- return;
- case OrmPackage.BASIC__PROPERTY:
- getProperty().clear();
- getProperty().addAll((Collection<? extends Property>) newValue);
- return;
- case OrmPackage.BASIC__ACCESS_METHODS:
- setAccessMethods((AccessMethods) newValue);
- return;
- case OrmPackage.BASIC__RETURN_INSERT:
- setReturnInsert((ReturnInsert) newValue);
- return;
- case OrmPackage.BASIC__RETURN_UPDATE:
- setReturnUpdate((EmptyType) newValue);
- return;
- case OrmPackage.BASIC__ACCESS:
- setAccess((AccessType) newValue);
- return;
- case OrmPackage.BASIC__ATTRIBUTE_TYPE:
- setAttributeType((String) newValue);
- return;
- case OrmPackage.BASIC__FETCH:
- setFetch((FetchType) newValue);
- return;
- case OrmPackage.BASIC__MUTABLE:
- setMutable((Boolean) newValue);
- return;
- case OrmPackage.BASIC__NAME:
- setName((String) newValue);
- return;
- case OrmPackage.BASIC__OPTIONAL:
- setOptional((Boolean) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.BASIC__COLUMN:
+ setColumn((Column)newValue);
+ return;
+ case OrmPackage.BASIC__INDEX:
+ setIndex((Index)newValue);
+ return;
+ case OrmPackage.BASIC__GENERATED_VALUE:
+ setGeneratedValue((GeneratedValue)newValue);
+ return;
+ case OrmPackage.BASIC__LOB:
+ setLob((Lob)newValue);
+ return;
+ case OrmPackage.BASIC__TEMPORAL:
+ setTemporal((TemporalType)newValue);
+ return;
+ case OrmPackage.BASIC__ENUMERATED:
+ setEnumerated((EnumType)newValue);
+ return;
+ case OrmPackage.BASIC__CONVERT:
+ setConvert((String)newValue);
+ return;
+ case OrmPackage.BASIC__CONVERTER:
+ setConverter((Converter)newValue);
+ return;
+ case OrmPackage.BASIC__TYPE_CONVERTER:
+ setTypeConverter((TypeConverter)newValue);
+ return;
+ case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
+ setObjectTypeConverter((ObjectTypeConverter)newValue);
+ return;
+ case OrmPackage.BASIC__STRUCT_CONVERTER:
+ setStructConverter((StructConverter)newValue);
+ return;
+ case OrmPackage.BASIC__TABLE_GENERATOR:
+ setTableGenerator((TableGenerator)newValue);
+ return;
+ case OrmPackage.BASIC__SEQUENCE_GENERATOR:
+ setSequenceGenerator((SequenceGenerator)newValue);
+ return;
+ case OrmPackage.BASIC__PROPERTY:
+ getProperty().clear();
+ getProperty().addAll((Collection<? extends Property>)newValue);
+ return;
+ case OrmPackage.BASIC__ACCESS_METHODS:
+ setAccessMethods((AccessMethods)newValue);
+ return;
+ case OrmPackage.BASIC__RETURN_INSERT:
+ setReturnInsert((ReturnInsert)newValue);
+ return;
+ case OrmPackage.BASIC__RETURN_UPDATE:
+ setReturnUpdate((EmptyType)newValue);
+ return;
+ case OrmPackage.BASIC__ACCESS:
+ setAccess((AccessType)newValue);
+ return;
+ case OrmPackage.BASIC__ATTRIBUTE_TYPE:
+ setAttributeType((String)newValue);
+ return;
+ case OrmPackage.BASIC__FETCH:
+ setFetch((FetchType)newValue);
+ return;
+ case OrmPackage.BASIC__MUTABLE:
+ setMutable((Boolean)newValue);
+ return;
+ case OrmPackage.BASIC__NAME:
+ setName((String)newValue);
+ return;
+ case OrmPackage.BASIC__OPTIONAL:
+ setOptional((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case OrmPackage.BASIC__COLUMN:
- setColumn((Column) null);
- return;
- case OrmPackage.BASIC__INDEX:
- setIndex((Index) null);
- return;
- case OrmPackage.BASIC__GENERATED_VALUE:
- setGeneratedValue((GeneratedValue) null);
- return;
- case OrmPackage.BASIC__LOB:
- setLob((Lob) null);
- return;
- case OrmPackage.BASIC__TEMPORAL:
- setTemporal(TEMPORAL_EDEFAULT);
- return;
- case OrmPackage.BASIC__ENUMERATED:
- setEnumerated(ENUMERATED_EDEFAULT);
- return;
- case OrmPackage.BASIC__CONVERT:
- setConvert(CONVERT_EDEFAULT);
- return;
- case OrmPackage.BASIC__CONVERTER:
- setConverter((Converter) null);
- return;
- case OrmPackage.BASIC__TYPE_CONVERTER:
- setTypeConverter((TypeConverter) null);
- return;
- case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
- setObjectTypeConverter((ObjectTypeConverter) null);
- return;
- case OrmPackage.BASIC__STRUCT_CONVERTER:
- setStructConverter((StructConverter) null);
- return;
- case OrmPackage.BASIC__TABLE_GENERATOR:
- setTableGenerator((TableGenerator) null);
- return;
- case OrmPackage.BASIC__SEQUENCE_GENERATOR:
- setSequenceGenerator((SequenceGenerator) null);
- return;
- case OrmPackage.BASIC__PROPERTY:
- getProperty().clear();
- return;
- case OrmPackage.BASIC__ACCESS_METHODS:
- setAccessMethods((AccessMethods) null);
- return;
- case OrmPackage.BASIC__RETURN_INSERT:
- setReturnInsert((ReturnInsert) null);
- return;
- case OrmPackage.BASIC__RETURN_UPDATE:
- setReturnUpdate((EmptyType) null);
- return;
- case OrmPackage.BASIC__ACCESS:
- unsetAccess();
- return;
- case OrmPackage.BASIC__ATTRIBUTE_TYPE:
- setAttributeType(ATTRIBUTE_TYPE_EDEFAULT);
- return;
- case OrmPackage.BASIC__FETCH:
- unsetFetch();
- return;
- case OrmPackage.BASIC__MUTABLE:
- unsetMutable();
- return;
- case OrmPackage.BASIC__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OrmPackage.BASIC__OPTIONAL:
- unsetOptional();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.BASIC__COLUMN:
+ setColumn((Column)null);
+ return;
+ case OrmPackage.BASIC__INDEX:
+ setIndex((Index)null);
+ return;
+ case OrmPackage.BASIC__GENERATED_VALUE:
+ setGeneratedValue((GeneratedValue)null);
+ return;
+ case OrmPackage.BASIC__LOB:
+ setLob((Lob)null);
+ return;
+ case OrmPackage.BASIC__TEMPORAL:
+ setTemporal(TEMPORAL_EDEFAULT);
+ return;
+ case OrmPackage.BASIC__ENUMERATED:
+ setEnumerated(ENUMERATED_EDEFAULT);
+ return;
+ case OrmPackage.BASIC__CONVERT:
+ setConvert(CONVERT_EDEFAULT);
+ return;
+ case OrmPackage.BASIC__CONVERTER:
+ setConverter((Converter)null);
+ return;
+ case OrmPackage.BASIC__TYPE_CONVERTER:
+ setTypeConverter((TypeConverter)null);
+ return;
+ case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
+ setObjectTypeConverter((ObjectTypeConverter)null);
+ return;
+ case OrmPackage.BASIC__STRUCT_CONVERTER:
+ setStructConverter((StructConverter)null);
+ return;
+ case OrmPackage.BASIC__TABLE_GENERATOR:
+ setTableGenerator((TableGenerator)null);
+ return;
+ case OrmPackage.BASIC__SEQUENCE_GENERATOR:
+ setSequenceGenerator((SequenceGenerator)null);
+ return;
+ case OrmPackage.BASIC__PROPERTY:
+ getProperty().clear();
+ return;
+ case OrmPackage.BASIC__ACCESS_METHODS:
+ setAccessMethods((AccessMethods)null);
+ return;
+ case OrmPackage.BASIC__RETURN_INSERT:
+ setReturnInsert((ReturnInsert)null);
+ return;
+ case OrmPackage.BASIC__RETURN_UPDATE:
+ setReturnUpdate((EmptyType)null);
+ return;
+ case OrmPackage.BASIC__ACCESS:
+ unsetAccess();
+ return;
+ case OrmPackage.BASIC__ATTRIBUTE_TYPE:
+ setAttributeType(ATTRIBUTE_TYPE_EDEFAULT);
+ return;
+ case OrmPackage.BASIC__FETCH:
+ unsetFetch();
+ return;
+ case OrmPackage.BASIC__MUTABLE:
+ unsetMutable();
+ return;
+ case OrmPackage.BASIC__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OrmPackage.BASIC__OPTIONAL:
+ unsetOptional();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OrmPackage.BASIC__COLUMN:
- return column != null;
- case OrmPackage.BASIC__INDEX:
- return index != null;
- case OrmPackage.BASIC__GENERATED_VALUE:
- return generatedValue != null;
- case OrmPackage.BASIC__LOB:
- return lob != null;
- case OrmPackage.BASIC__TEMPORAL:
- return TEMPORAL_EDEFAULT == null ? temporal != null : !TEMPORAL_EDEFAULT.equals(temporal);
- case OrmPackage.BASIC__ENUMERATED:
- return ENUMERATED_EDEFAULT == null ? enumerated != null : !ENUMERATED_EDEFAULT.equals(enumerated);
- case OrmPackage.BASIC__CONVERT:
- return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert);
- case OrmPackage.BASIC__CONVERTER:
- return converter != null;
- case OrmPackage.BASIC__TYPE_CONVERTER:
- return typeConverter != null;
- case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
- return objectTypeConverter != null;
- case OrmPackage.BASIC__STRUCT_CONVERTER:
- return structConverter != null;
- case OrmPackage.BASIC__TABLE_GENERATOR:
- return tableGenerator != null;
- case OrmPackage.BASIC__SEQUENCE_GENERATOR:
- return sequenceGenerator != null;
- case OrmPackage.BASIC__PROPERTY:
- return property != null && !property.isEmpty();
- case OrmPackage.BASIC__ACCESS_METHODS:
- return accessMethods != null;
- case OrmPackage.BASIC__RETURN_INSERT:
- return returnInsert != null;
- case OrmPackage.BASIC__RETURN_UPDATE:
- return returnUpdate != null;
- case OrmPackage.BASIC__ACCESS:
- return isSetAccess();
- case OrmPackage.BASIC__ATTRIBUTE_TYPE:
- return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType);
- case OrmPackage.BASIC__FETCH:
- return isSetFetch();
- case OrmPackage.BASIC__MUTABLE:
- return isSetMutable();
- case OrmPackage.BASIC__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OrmPackage.BASIC__OPTIONAL:
- return isSetOptional();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.BASIC__COLUMN:
+ return column != null;
+ case OrmPackage.BASIC__INDEX:
+ return index != null;
+ case OrmPackage.BASIC__GENERATED_VALUE:
+ return generatedValue != null;
+ case OrmPackage.BASIC__LOB:
+ return lob != null;
+ case OrmPackage.BASIC__TEMPORAL:
+ return TEMPORAL_EDEFAULT == null ? temporal != null : !TEMPORAL_EDEFAULT.equals(temporal);
+ case OrmPackage.BASIC__ENUMERATED:
+ return ENUMERATED_EDEFAULT == null ? enumerated != null : !ENUMERATED_EDEFAULT.equals(enumerated);
+ case OrmPackage.BASIC__CONVERT:
+ return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert);
+ case OrmPackage.BASIC__CONVERTER:
+ return converter != null;
+ case OrmPackage.BASIC__TYPE_CONVERTER:
+ return typeConverter != null;
+ case OrmPackage.BASIC__OBJECT_TYPE_CONVERTER:
+ return objectTypeConverter != null;
+ case OrmPackage.BASIC__STRUCT_CONVERTER:
+ return structConverter != null;
+ case OrmPackage.BASIC__TABLE_GENERATOR:
+ return tableGenerator != null;
+ case OrmPackage.BASIC__SEQUENCE_GENERATOR:
+ return sequenceGenerator != null;
+ case OrmPackage.BASIC__PROPERTY:
+ return property != null && !property.isEmpty();
+ case OrmPackage.BASIC__ACCESS_METHODS:
+ return accessMethods != null;
+ case OrmPackage.BASIC__RETURN_INSERT:
+ return returnInsert != null;
+ case OrmPackage.BASIC__RETURN_UPDATE:
+ return returnUpdate != null;
+ case OrmPackage.BASIC__ACCESS:
+ return isSetAccess();
+ case OrmPackage.BASIC__ATTRIBUTE_TYPE:
+ return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType);
+ case OrmPackage.BASIC__FETCH:
+ return isSetFetch();
+ case OrmPackage.BASIC__MUTABLE:
+ return isSetMutable();
+ case OrmPackage.BASIC__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OrmPackage.BASIC__OPTIONAL:
+ return isSetOptional();
+ }
+ 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(" (temporal: ");
- result.append(temporal);
- result.append(", enumerated: ");
- result.append(enumerated);
- result.append(", convert: ");
- result.append(convert);
- result.append(", access: ");
- if (accessESet) {
- result.append(access);
- } else {
- result.append("<unset>");
- }
- result.append(", attributeType: ");
- result.append(attributeType);
- result.append(", fetch: ");
- if (fetchESet) {
- result.append(fetch);
- } else {
- result.append("<unset>");
- }
- result.append(", mutable: ");
- if (mutableESet) {
- result.append(mutable);
- } else {
- result.append("<unset>");
- }
- result.append(", name: ");
- result.append(name);
- result.append(", optional: ");
- if (optionalESet) {
- result.append(optional);
- } else {
- result.append("<unset>");
- }
- result.append(')');
- return result.toString();
- }
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (temporal: ");
+ result.append(temporal);
+ result.append(", enumerated: ");
+ result.append(enumerated);
+ result.append(", convert: ");
+ result.append(convert);
+ result.append(", access: ");
+ if (accessESet) result.append(access); else result.append("<unset>");
+ result.append(", attributeType: ");
+ result.append(attributeType);
+ result.append(", fetch: ");
+ if (fetchESet) result.append(fetch); else result.append("<unset>");
+ result.append(", mutable: ");
+ if (mutableESet) result.append(mutable); else result.append("<unset>");
+ result.append(", name: ");
+ result.append(name);
+ result.append(", optional: ");
+ if (optionalESet) result.append(optional); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
@Override
public String getJavaAnnotation(String identifier) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ColumnImpl.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ColumnImpl.java
index 4e13d18d..d4f27de0 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ColumnImpl.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ColumnImpl.java
@@ -66,7 +66,7 @@ public class ColumnImpl extends BaseOrmAnnotationImpl implements Column {
* @generated
* @ordered
*/
- protected static final boolean INSERTABLE_EDEFAULT = false;
+ protected static final boolean INSERTABLE_EDEFAULT = true;
/**
* The cached value of the '{@link #isInsertable() <em>Insertable</em>}' attribute.
@@ -141,7 +141,7 @@ public class ColumnImpl extends BaseOrmAnnotationImpl implements Column {
* @generated
* @ordered
*/
- protected static final boolean NULLABLE_EDEFAULT = false;
+ protected static final boolean NULLABLE_EDEFAULT = true;
/**
* The cached value of the '{@link #isNullable() <em>Nullable</em>}' attribute.
@@ -273,7 +273,7 @@ public class ColumnImpl extends BaseOrmAnnotationImpl implements Column {
* @generated
* @ordered
*/
- protected static final boolean UPDATABLE_EDEFAULT = false;
+ protected static final boolean UPDATABLE_EDEFAULT = true;
/**
* The cached value of the '{@link #isUpdatable() <em>Updatable</em>}' attribute.
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ElementCollectionImpl.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ElementCollectionImpl.java
index 970addeb..e56926a6 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ElementCollectionImpl.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ElementCollectionImpl.java
@@ -119,23 +119,23 @@ import org.eclipse.emf.texo.orm.annotator.ORMJavaAnnotationGenerator;
*/
public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements ElementCollection {
/**
- * The default value of the '{@link #getOrderBy() <em>Order By</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getOrderBy() <em>Order By</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getOrderBy()
- * @generated
- * @ordered
- */
+ * @see #getOrderBy()
+ * @generated
+ * @ordered
+ */
protected static final String ORDER_BY_EDEFAULT = null;
/**
- * The cached value of the '{@link #getOrderBy() <em>Order By</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getOrderBy() <em>Order By</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getOrderBy()
- * @generated
- * @ordered
- */
+ * @see #getOrderBy()
+ * @generated
+ * @ordered
+ */
protected String orderBy = ORDER_BY_EDEFAULT;
/**
@@ -149,13 +149,13 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected OrderColumn orderColumn;
/**
- * The cached value of the '{@link #getMapKey() <em>Map Key</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getMapKey() <em>Map Key</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getMapKey()
- * @generated
- * @ordered
- */
+ * @see #getMapKey()
+ * @generated
+ * @ordered
+ */
protected MapKey mapKey;
/**
@@ -169,23 +169,23 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected MapKeyClass mapKeyClass;
/**
- * The default value of the '{@link #getMapKeyTemporal() <em>Map Key Temporal</em>}' attribute. <!-- begin-user-doc
+ * The default value of the '{@link #getMapKeyTemporal() <em>Map Key Temporal</em>}' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getMapKeyTemporal()
- * @generated
- * @ordered
- */
+ * @see #getMapKeyTemporal()
+ * @generated
+ * @ordered
+ */
protected static final TemporalType MAP_KEY_TEMPORAL_EDEFAULT = null;
/**
- * The cached value of the '{@link #getMapKeyTemporal() <em>Map Key Temporal</em>}' attribute. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getMapKeyTemporal() <em>Map Key Temporal</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getMapKeyTemporal()
- * @generated
- * @ordered
- */
+ * @see #getMapKeyTemporal()
+ * @generated
+ * @ordered
+ */
protected TemporalType mapKeyTemporal = MAP_KEY_TEMPORAL_EDEFAULT;
/**
@@ -199,53 +199,51 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected static final EnumType MAP_KEY_ENUMERATED_EDEFAULT = null;
/**
- * The cached value of the '{@link #getMapKeyEnumerated() <em>Map Key Enumerated</em>}' attribute. <!-- begin-user-doc
+ * The cached value of the '{@link #getMapKeyEnumerated() <em>Map Key Enumerated</em>}' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getMapKeyEnumerated()
- * @generated
- * @ordered
- */
+ * @see #getMapKeyEnumerated()
+ * @generated
+ * @ordered
+ */
protected EnumType mapKeyEnumerated = MAP_KEY_ENUMERATED_EDEFAULT;
/**
- * The default value of the '{@link #getMapKeyConvert() <em>Map Key Convert</em>}' attribute. <!-- begin-user-doc -->
+ * The default value of the '{@link #getMapKeyConvert() <em>Map Key Convert</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getMapKeyConvert()
- * @generated
- * @ordered
- */
+ * @see #getMapKeyConvert()
+ * @generated
+ * @ordered
+ */
protected static final String MAP_KEY_CONVERT_EDEFAULT = null;
/**
- * The cached value of the '{@link #getMapKeyConvert() <em>Map Key Convert</em>}' attribute. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getMapKeyConvert() <em>Map Key Convert</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getMapKeyConvert()
- * @generated
- * @ordered
- */
+ * @see #getMapKeyConvert()
+ * @generated
+ * @ordered
+ */
protected String mapKeyConvert = MAP_KEY_CONVERT_EDEFAULT;
/**
- * The cached value of the '{@link #getMapKeyAttributeOverride() <em>Map Key Attribute Override</em>}' containment
- * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getMapKeyAttributeOverride()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getMapKeyAttributeOverride() <em>Map Key Attribute Override</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getMapKeyAttributeOverride()
+ * @generated
+ * @ordered
+ */
protected EList<AttributeOverride> mapKeyAttributeOverride;
/**
- * The cached value of the '{@link #getMapKeyAssociationOverride() <em>Map Key Association Override</em>}' containment
- * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getMapKeyAssociationOverride()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getMapKeyAssociationOverride() <em>Map Key Association Override</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getMapKeyAssociationOverride()
+ * @generated
+ * @ordered
+ */
protected EList<AssociationOverride> mapKeyAssociationOverride;
/**
@@ -259,123 +257,120 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected MapKeyColumn mapKeyColumn;
/**
- * The cached value of the '{@link #getMapKeyJoinColumn() <em>Map Key Join Column</em>}' containment reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getMapKeyJoinColumn()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getMapKeyJoinColumn() <em>Map Key Join Column</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getMapKeyJoinColumn()
+ * @generated
+ * @ordered
+ */
protected EList<MapKeyJoinColumn> mapKeyJoinColumn;
/**
- * The cached value of the '{@link #getColumn() <em>Column</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getColumn() <em>Column</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getColumn()
- * @generated
- * @ordered
- */
+ * @see #getColumn()
+ * @generated
+ * @ordered
+ */
protected Column column;
/**
- * The default value of the '{@link #getTemporal() <em>Temporal</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getTemporal() <em>Temporal</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getTemporal()
- * @generated
- * @ordered
- */
+ * @see #getTemporal()
+ * @generated
+ * @ordered
+ */
protected static final TemporalType TEMPORAL_EDEFAULT = null;
/**
- * The cached value of the '{@link #getTemporal() <em>Temporal</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getTemporal() <em>Temporal</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getTemporal()
- * @generated
- * @ordered
- */
+ * @see #getTemporal()
+ * @generated
+ * @ordered
+ */
protected TemporalType temporal = TEMPORAL_EDEFAULT;
/**
- * The default value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getEnumerated()
- * @generated
- * @ordered
- */
+ * @see #getEnumerated()
+ * @generated
+ * @ordered
+ */
protected static final EnumType ENUMERATED_EDEFAULT = null;
/**
- * The cached value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getEnumerated()
- * @generated
- * @ordered
- */
+ * @see #getEnumerated()
+ * @generated
+ * @ordered
+ */
protected EnumType enumerated = ENUMERATED_EDEFAULT;
/**
- * The cached value of the '{@link #getLob() <em>Lob</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getLob() <em>Lob</em>}' containment reference.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getLob()
- * @generated
- * @ordered
- */
+ * @see #getLob()
+ * @generated
+ * @ordered
+ */
protected Lob lob;
/**
- * The default value of the '{@link #getConvert() <em>Convert</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getConvert() <em>Convert</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getConvert()
- * @generated
- * @ordered
- */
+ * @see #getConvert()
+ * @generated
+ * @ordered
+ */
protected static final String CONVERT_EDEFAULT = null;
/**
- * The cached value of the '{@link #getConvert() <em>Convert</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getConvert() <em>Convert</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getConvert()
- * @generated
- * @ordered
- */
+ * @see #getConvert()
+ * @generated
+ * @ordered
+ */
protected String convert = CONVERT_EDEFAULT;
/**
- * The cached value of the '{@link #getAttributeOverride() <em>Attribute Override</em>}' containment reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getAttributeOverride()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getAttributeOverride() <em>Attribute Override</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getAttributeOverride()
+ * @generated
+ * @ordered
+ */
protected EList<AttributeOverride> attributeOverride;
/**
- * The cached value of the '{@link #getAssociationOverride() <em>Association Override</em>}' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getAssociationOverride()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getAssociationOverride() <em>Association Override</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getAssociationOverride()
+ * @generated
+ * @ordered
+ */
protected EList<AssociationOverride> associationOverride;
/**
- * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getGroup()
- * @generated
- * @ordered
- */
+ * @see #getGroup()
+ * @generated
+ * @ordered
+ */
protected FeatureMap group;
/**
@@ -389,79 +384,79 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected CollectionTable collectionTable;
/**
- * The default value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute. <!-- begin-user-doc
+ * The default value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #isCascadeOnDelete()
- * @generated
- * @ordered
- */
+ * @see #isCascadeOnDelete()
+ * @generated
+ * @ordered
+ */
protected static final boolean CASCADE_ON_DELETE_EDEFAULT = false;
/**
- * The cached value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute. <!-- begin-user-doc
+ * The cached value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #isCascadeOnDelete()
- * @generated
- * @ordered
- */
+ * @see #isCascadeOnDelete()
+ * @generated
+ * @ordered
+ */
protected boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
/**
- * This is true if the Cascade On Delete attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Cascade On Delete attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean cascadeOnDeleteESet;
/**
- * The default value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getJoinFetch()
- * @generated
- * @ordered
- */
+ * @see #getJoinFetch()
+ * @generated
+ * @ordered
+ */
protected static final JoinFetchType JOIN_FETCH_EDEFAULT = JoinFetchType.INNER;
/**
- * The cached value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getJoinFetch()
- * @generated
- * @ordered
- */
+ * @see #getJoinFetch()
+ * @generated
+ * @ordered
+ */
protected JoinFetchType joinFetch = JOIN_FETCH_EDEFAULT;
/**
- * This is true if the Join Fetch attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Join Fetch attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean joinFetchESet;
/**
- * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference. <!-- begin-user-doc
+ * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getBatchFetch()
- * @generated
- * @ordered
- */
+ * @see #getBatchFetch()
+ * @generated
+ * @ordered
+ */
protected BatchFetch batchFetch;
/**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. <!-- begin-user-doc
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getProperty()
- * @generated
- * @ordered
- */
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
protected EList<Property> property;
/**
@@ -495,23 +490,21 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected Partitioning partitioning;
/**
- * The cached value of the '{@link #getReplicationPartitioning() <em>Replication Partitioning</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getReplicationPartitioning()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getReplicationPartitioning() <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getReplicationPartitioning()
+ * @generated
+ * @ordered
+ */
protected ReplicationPartitioning replicationPartitioning;
/**
- * The cached value of the '{@link #getRoundRobinPartitioning() <em>Round Robin Partitioning</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getRoundRobinPartitioning()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getRoundRobinPartitioning() <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ * @ordered
+ */
protected RoundRobinPartitioning roundRobinPartitioning;
/**
@@ -565,33 +558,33 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected UnionPartitioning unionPartitioning;
/**
- * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
+ * @see #getPartitioned()
+ * @generated
+ * @ordered
+ */
protected static final String PARTITIONED_EDEFAULT = null;
/**
- * The cached value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
+ * @see #getPartitioned()
+ * @generated
+ * @ordered
+ */
protected String partitioned = PARTITIONED_EDEFAULT;
/**
- * The default value of the '{@link #getAccess() <em>Access</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getAccess() <em>Access</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getAccess()
- * @generated
- * @ordered
- */
+ * @see #getAccess()
+ * @generated
+ * @ordered
+ */
protected static final AccessType ACCESS_EDEFAULT = AccessType.PROPERTY;
/**
@@ -605,51 +598,51 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected AccessType access = ACCESS_EDEFAULT;
/**
- * This is true if the Access attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Access attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean accessESet;
/**
- * The default value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. <!-- begin-user-doc -->
+ * The default value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getAttributeType()
- * @generated
- * @ordered
- */
+ * @see #getAttributeType()
+ * @generated
+ * @ordered
+ */
protected static final String ATTRIBUTE_TYPE_EDEFAULT = null;
/**
- * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getAttributeType()
- * @generated
- * @ordered
- */
+ * @see #getAttributeType()
+ * @generated
+ * @ordered
+ */
protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT;
/**
- * The default value of the '{@link #getCompositeMember() <em>Composite Member</em>}' attribute. <!-- begin-user-doc
+ * The default value of the '{@link #getCompositeMember() <em>Composite Member</em>}' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getCompositeMember()
- * @generated
- * @ordered
- */
+ * @see #getCompositeMember()
+ * @generated
+ * @ordered
+ */
protected static final String COMPOSITE_MEMBER_EDEFAULT = null;
/**
- * The cached value of the '{@link #getCompositeMember() <em>Composite Member</em>}' attribute. <!-- begin-user-doc
+ * The cached value of the '{@link #getCompositeMember() <em>Composite Member</em>}' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getCompositeMember()
- * @generated
- * @ordered
- */
+ * @see #getCompositeMember()
+ * @generated
+ * @ordered
+ */
protected String compositeMember = COMPOSITE_MEMBER_EDEFAULT;
/**
@@ -673,11 +666,11 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected FetchType fetch = FETCH_EDEFAULT;
/**
- * This is true if the Fetch attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Fetch attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean fetchESet;
/**
@@ -691,2293 +684,1899 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected static final String NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
protected String name = NAME_EDEFAULT;
/**
- * The default value of the '{@link #getTargetClass() <em>Target Class</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getTargetClass() <em>Target Class</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getTargetClass()
- * @generated
- * @ordered
- */
+ * @see #getTargetClass()
+ * @generated
+ * @ordered
+ */
protected static final String TARGET_CLASS_EDEFAULT = null;
/**
- * The cached value of the '{@link #getTargetClass() <em>Target Class</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getTargetClass() <em>Target Class</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getTargetClass()
- * @generated
- * @ordered
- */
+ * @see #getTargetClass()
+ * @generated
+ * @ordered
+ */
protected String targetClass = TARGET_CLASS_EDEFAULT;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected ElementCollectionImpl() {
- super();
- }
+ super();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EClass eStaticClass() {
- return OrmPackage.eINSTANCE.getElementCollection();
- }
+ return OrmPackage.eINSTANCE.getElementCollection();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getOrderBy() {
- return orderBy;
- }
+ return orderBy;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setOrderBy(String newOrderBy) {
- String oldOrderBy = orderBy;
- orderBy = newOrderBy;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ORDER_BY, oldOrderBy,
- orderBy));
- }
- }
+ String oldOrderBy = orderBy;
+ orderBy = newOrderBy;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ORDER_BY, oldOrderBy, orderBy));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public OrderColumn getOrderColumn() {
- return orderColumn;
- }
+ return orderColumn;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetOrderColumn(OrderColumn newOrderColumn, NotificationChain msgs) {
- OrderColumn oldOrderColumn = orderColumn;
- orderColumn = newOrderColumn;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN, oldOrderColumn, newOrderColumn);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ OrderColumn oldOrderColumn = orderColumn;
+ orderColumn = newOrderColumn;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN, oldOrderColumn, newOrderColumn);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setOrderColumn(OrderColumn newOrderColumn) {
- if (newOrderColumn != orderColumn) {
- NotificationChain msgs = null;
- if (orderColumn != null) {
- msgs = ((InternalEObject) orderColumn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN, null, msgs);
- }
- if (newOrderColumn != null) {
- msgs = ((InternalEObject) newOrderColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN, null, msgs);
- }
- msgs = basicSetOrderColumn(newOrderColumn, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN,
- newOrderColumn, newOrderColumn));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newOrderColumn != orderColumn) {
+ NotificationChain msgs = null;
+ if (orderColumn != null)
+ msgs = ((InternalEObject)orderColumn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN, null, msgs);
+ if (newOrderColumn != null)
+ msgs = ((InternalEObject)newOrderColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN, null, msgs);
+ msgs = basicSetOrderColumn(newOrderColumn, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN, newOrderColumn, newOrderColumn));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public MapKey getMapKey() {
- return mapKey;
- }
+ return mapKey;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetMapKey(MapKey newMapKey, NotificationChain msgs) {
- MapKey oldMapKey = mapKey;
- mapKey = newMapKey;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__MAP_KEY, oldMapKey, newMapKey);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ MapKey oldMapKey = mapKey;
+ mapKey = newMapKey;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY, oldMapKey, newMapKey);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMapKey(MapKey newMapKey) {
- if (newMapKey != mapKey) {
- NotificationChain msgs = null;
- if (mapKey != null) {
- msgs = ((InternalEObject) mapKey).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__MAP_KEY, null, msgs);
- }
- if (newMapKey != null) {
- msgs = ((InternalEObject) newMapKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__MAP_KEY, null, msgs);
- }
- msgs = basicSetMapKey(newMapKey, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY, newMapKey,
- newMapKey));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newMapKey != mapKey) {
+ NotificationChain msgs = null;
+ if (mapKey != null)
+ msgs = ((InternalEObject)mapKey).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__MAP_KEY, null, msgs);
+ if (newMapKey != null)
+ msgs = ((InternalEObject)newMapKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__MAP_KEY, null, msgs);
+ msgs = basicSetMapKey(newMapKey, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY, newMapKey, newMapKey));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public MapKeyClass getMapKeyClass() {
- return mapKeyClass;
- }
+ return mapKeyClass;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetMapKeyClass(MapKeyClass newMapKeyClass, NotificationChain msgs) {
- MapKeyClass oldMapKeyClass = mapKeyClass;
- mapKeyClass = newMapKeyClass;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS, oldMapKeyClass, newMapKeyClass);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ MapKeyClass oldMapKeyClass = mapKeyClass;
+ mapKeyClass = newMapKeyClass;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS, oldMapKeyClass, newMapKeyClass);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMapKeyClass(MapKeyClass newMapKeyClass) {
- if (newMapKeyClass != mapKeyClass) {
- NotificationChain msgs = null;
- if (mapKeyClass != null) {
- msgs = ((InternalEObject) mapKeyClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS, null, msgs);
- }
- if (newMapKeyClass != null) {
- msgs = ((InternalEObject) newMapKeyClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS, null, msgs);
- }
- msgs = basicSetMapKeyClass(newMapKeyClass, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS,
- newMapKeyClass, newMapKeyClass));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newMapKeyClass != mapKeyClass) {
+ NotificationChain msgs = null;
+ if (mapKeyClass != null)
+ msgs = ((InternalEObject)mapKeyClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS, null, msgs);
+ if (newMapKeyClass != null)
+ msgs = ((InternalEObject)newMapKeyClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS, null, msgs);
+ msgs = basicSetMapKeyClass(newMapKeyClass, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS, newMapKeyClass, newMapKeyClass));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public TemporalType getMapKeyTemporal() {
- return mapKeyTemporal;
- }
+ return mapKeyTemporal;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMapKeyTemporal(TemporalType newMapKeyTemporal) {
- TemporalType oldMapKeyTemporal = mapKeyTemporal;
- mapKeyTemporal = newMapKeyTemporal;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL,
- oldMapKeyTemporal, mapKeyTemporal));
- }
- }
+ TemporalType oldMapKeyTemporal = mapKeyTemporal;
+ mapKeyTemporal = newMapKeyTemporal;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL, oldMapKeyTemporal, mapKeyTemporal));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EnumType getMapKeyEnumerated() {
- return mapKeyEnumerated;
- }
+ return mapKeyEnumerated;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMapKeyEnumerated(EnumType newMapKeyEnumerated) {
- EnumType oldMapKeyEnumerated = mapKeyEnumerated;
- mapKeyEnumerated = newMapKeyEnumerated;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED,
- oldMapKeyEnumerated, mapKeyEnumerated));
- }
- }
+ EnumType oldMapKeyEnumerated = mapKeyEnumerated;
+ mapKeyEnumerated = newMapKeyEnumerated;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED, oldMapKeyEnumerated, mapKeyEnumerated));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getMapKeyConvert() {
- return mapKeyConvert;
- }
+ return mapKeyConvert;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMapKeyConvert(String newMapKeyConvert) {
- String oldMapKeyConvert = mapKeyConvert;
- mapKeyConvert = newMapKeyConvert;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT,
- oldMapKeyConvert, mapKeyConvert));
- }
- }
+ String oldMapKeyConvert = mapKeyConvert;
+ mapKeyConvert = newMapKeyConvert;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT, oldMapKeyConvert, mapKeyConvert));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<AttributeOverride> getMapKeyAttributeOverride() {
- if (mapKeyAttributeOverride == null) {
- mapKeyAttributeOverride = new EObjectContainmentEList<AttributeOverride>(AttributeOverride.class, this,
- OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE);
- }
- return mapKeyAttributeOverride;
- }
+ if (mapKeyAttributeOverride == null) {
+ mapKeyAttributeOverride = new EObjectContainmentEList<AttributeOverride>(AttributeOverride.class, this, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE);
+ }
+ return mapKeyAttributeOverride;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<AssociationOverride> getMapKeyAssociationOverride() {
- if (mapKeyAssociationOverride == null) {
- mapKeyAssociationOverride = new EObjectContainmentEList<AssociationOverride>(AssociationOverride.class, this,
- OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE);
- }
- return mapKeyAssociationOverride;
- }
+ if (mapKeyAssociationOverride == null) {
+ mapKeyAssociationOverride = new EObjectContainmentEList<AssociationOverride>(AssociationOverride.class, this, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE);
+ }
+ return mapKeyAssociationOverride;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public MapKeyColumn getMapKeyColumn() {
- return mapKeyColumn;
- }
+ return mapKeyColumn;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetMapKeyColumn(MapKeyColumn newMapKeyColumn, NotificationChain msgs) {
- MapKeyColumn oldMapKeyColumn = mapKeyColumn;
- mapKeyColumn = newMapKeyColumn;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN, oldMapKeyColumn, newMapKeyColumn);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ MapKeyColumn oldMapKeyColumn = mapKeyColumn;
+ mapKeyColumn = newMapKeyColumn;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN, oldMapKeyColumn, newMapKeyColumn);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMapKeyColumn(MapKeyColumn newMapKeyColumn) {
- if (newMapKeyColumn != mapKeyColumn) {
- NotificationChain msgs = null;
- if (mapKeyColumn != null) {
- msgs = ((InternalEObject) mapKeyColumn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN, null, msgs);
- }
- if (newMapKeyColumn != null) {
- msgs = ((InternalEObject) newMapKeyColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN, null, msgs);
- }
- msgs = basicSetMapKeyColumn(newMapKeyColumn, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN,
- newMapKeyColumn, newMapKeyColumn));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newMapKeyColumn != mapKeyColumn) {
+ NotificationChain msgs = null;
+ if (mapKeyColumn != null)
+ msgs = ((InternalEObject)mapKeyColumn).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN, null, msgs);
+ if (newMapKeyColumn != null)
+ msgs = ((InternalEObject)newMapKeyColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN, null, msgs);
+ msgs = basicSetMapKeyColumn(newMapKeyColumn, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN, newMapKeyColumn, newMapKeyColumn));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<MapKeyJoinColumn> getMapKeyJoinColumn() {
- if (mapKeyJoinColumn == null) {
- mapKeyJoinColumn = new EObjectContainmentEList<MapKeyJoinColumn>(MapKeyJoinColumn.class, this,
- OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN);
- }
- return mapKeyJoinColumn;
- }
+ if (mapKeyJoinColumn == null) {
+ mapKeyJoinColumn = new EObjectContainmentEList<MapKeyJoinColumn>(MapKeyJoinColumn.class, this, OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN);
+ }
+ return mapKeyJoinColumn;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Column getColumn() {
- return column;
- }
+ return column;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetColumn(Column newColumn, NotificationChain msgs) {
- Column oldColumn = column;
- column = newColumn;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__COLUMN, oldColumn, newColumn);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Column oldColumn = column;
+ column = newColumn;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__COLUMN, oldColumn, newColumn);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setColumn(Column newColumn) {
- if (newColumn != column) {
- NotificationChain msgs = null;
- if (column != null) {
- msgs = ((InternalEObject) column).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__COLUMN, null, msgs);
- }
- if (newColumn != null) {
- msgs = ((InternalEObject) newColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__COLUMN, null, msgs);
- }
- msgs = basicSetColumn(newColumn, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__COLUMN, newColumn, newColumn));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newColumn != column) {
+ NotificationChain msgs = null;
+ if (column != null)
+ msgs = ((InternalEObject)column).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__COLUMN, null, msgs);
+ if (newColumn != null)
+ msgs = ((InternalEObject)newColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__COLUMN, null, msgs);
+ msgs = basicSetColumn(newColumn, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__COLUMN, newColumn, newColumn));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public TemporalType getTemporal() {
- return temporal;
- }
+ return temporal;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setTemporal(TemporalType newTemporal) {
- TemporalType oldTemporal = temporal;
- temporal = newTemporal;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__TEMPORAL, oldTemporal,
- temporal));
- }
- }
+ TemporalType oldTemporal = temporal;
+ temporal = newTemporal;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__TEMPORAL, oldTemporal, temporal));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EnumType getEnumerated() {
- return enumerated;
- }
+ return enumerated;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setEnumerated(EnumType newEnumerated) {
- EnumType oldEnumerated = enumerated;
- enumerated = newEnumerated;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ENUMERATED, oldEnumerated,
- enumerated));
- }
- }
+ EnumType oldEnumerated = enumerated;
+ enumerated = newEnumerated;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ENUMERATED, oldEnumerated, enumerated));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Lob getLob() {
- return lob;
- }
+ return lob;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetLob(Lob newLob, NotificationChain msgs) {
- Lob oldLob = lob;
- lob = newLob;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__LOB, oldLob, newLob);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Lob oldLob = lob;
+ lob = newLob;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__LOB, oldLob, newLob);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setLob(Lob newLob) {
- if (newLob != lob) {
- NotificationChain msgs = null;
- if (lob != null) {
- msgs = ((InternalEObject) lob).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__LOB, null, msgs);
- }
- if (newLob != null) {
- msgs = ((InternalEObject) newLob).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__LOB, null, msgs);
- }
- msgs = basicSetLob(newLob, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__LOB, newLob, newLob));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newLob != lob) {
+ NotificationChain msgs = null;
+ if (lob != null)
+ msgs = ((InternalEObject)lob).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__LOB, null, msgs);
+ if (newLob != null)
+ msgs = ((InternalEObject)newLob).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__LOB, null, msgs);
+ msgs = basicSetLob(newLob, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__LOB, newLob, newLob));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getConvert() {
- return convert;
- }
+ return convert;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setConvert(String newConvert) {
- String oldConvert = convert;
- convert = newConvert;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__CONVERT, oldConvert, convert));
- }
- }
+ String oldConvert = convert;
+ convert = newConvert;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__CONVERT, oldConvert, convert));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<AttributeOverride> getAttributeOverride() {
- if (attributeOverride == null) {
- attributeOverride = new EObjectContainmentEList<AttributeOverride>(AttributeOverride.class, this,
- OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE);
- }
- return attributeOverride;
- }
+ if (attributeOverride == null) {
+ attributeOverride = new EObjectContainmentEList<AttributeOverride>(AttributeOverride.class, this, OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE);
+ }
+ return attributeOverride;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<AssociationOverride> getAssociationOverride() {
- if (associationOverride == null) {
- associationOverride = new EObjectContainmentEList<AssociationOverride>(AssociationOverride.class, this,
- OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE);
- }
- return associationOverride;
- }
+ if (associationOverride == null) {
+ associationOverride = new EObjectContainmentEList<AssociationOverride>(AssociationOverride.class, this, OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE);
+ }
+ return associationOverride;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public FeatureMap getGroup() {
- if (group == null) {
- group = new BasicFeatureMap(this, OrmPackage.ELEMENT_COLLECTION__GROUP);
- }
- return group;
- }
+ if (group == null) {
+ group = new BasicFeatureMap(this, OrmPackage.ELEMENT_COLLECTION__GROUP);
+ }
+ return group;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<Converter> getConverter() {
- return getGroup().list(OrmPackage.eINSTANCE.getElementCollection_Converter());
- }
+ return getGroup().list(OrmPackage.eINSTANCE.getElementCollection_Converter());
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<TypeConverter> getTypeConverter() {
- return getGroup().list(OrmPackage.eINSTANCE.getElementCollection_TypeConverter());
- }
+ return getGroup().list(OrmPackage.eINSTANCE.getElementCollection_TypeConverter());
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<ObjectTypeConverter> getObjectTypeConverter() {
- return getGroup().list(OrmPackage.eINSTANCE.getElementCollection_ObjectTypeConverter());
- }
+ return getGroup().list(OrmPackage.eINSTANCE.getElementCollection_ObjectTypeConverter());
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<StructConverter> getStructConverter() {
- return getGroup().list(OrmPackage.eINSTANCE.getElementCollection_StructConverter());
- }
+ return getGroup().list(OrmPackage.eINSTANCE.getElementCollection_StructConverter());
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public CollectionTable getCollectionTable() {
- return collectionTable;
- }
+ return collectionTable;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetCollectionTable(CollectionTable newCollectionTable, NotificationChain msgs) {
- CollectionTable oldCollectionTable = collectionTable;
- collectionTable = newCollectionTable;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE, oldCollectionTable, newCollectionTable);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ CollectionTable oldCollectionTable = collectionTable;
+ collectionTable = newCollectionTable;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE, oldCollectionTable, newCollectionTable);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setCollectionTable(CollectionTable newCollectionTable) {
- if (newCollectionTable != collectionTable) {
- NotificationChain msgs = null;
- if (collectionTable != null) {
- msgs = ((InternalEObject) collectionTable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE, null, msgs);
- }
- if (newCollectionTable != null) {
- msgs = ((InternalEObject) newCollectionTable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE, null, msgs);
- }
- msgs = basicSetCollectionTable(newCollectionTable, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE,
- newCollectionTable, newCollectionTable));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newCollectionTable != collectionTable) {
+ NotificationChain msgs = null;
+ if (collectionTable != null)
+ msgs = ((InternalEObject)collectionTable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE, null, msgs);
+ if (newCollectionTable != null)
+ msgs = ((InternalEObject)newCollectionTable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE, null, msgs);
+ msgs = basicSetCollectionTable(newCollectionTable, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE, newCollectionTable, newCollectionTable));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isCascadeOnDelete() {
- return cascadeOnDelete;
- }
+ return cascadeOnDelete;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setCascadeOnDelete(boolean newCascadeOnDelete) {
- boolean oldCascadeOnDelete = cascadeOnDelete;
- cascadeOnDelete = newCascadeOnDelete;
- boolean oldCascadeOnDeleteESet = cascadeOnDeleteESet;
- cascadeOnDeleteESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE,
- oldCascadeOnDelete, cascadeOnDelete, !oldCascadeOnDeleteESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldCascadeOnDelete = cascadeOnDelete;
+ cascadeOnDelete = newCascadeOnDelete;
+ boolean oldCascadeOnDeleteESet = cascadeOnDeleteESet;
+ cascadeOnDeleteESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete, !oldCascadeOnDeleteESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetCascadeOnDelete() {
- boolean oldCascadeOnDelete = cascadeOnDelete;
- boolean oldCascadeOnDeleteESet = cascadeOnDeleteESet;
- cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
- cascadeOnDeleteESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE,
- oldCascadeOnDelete, CASCADE_ON_DELETE_EDEFAULT, oldCascadeOnDeleteESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldCascadeOnDelete = cascadeOnDelete;
+ boolean oldCascadeOnDeleteESet = cascadeOnDeleteESet;
+ cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
+ cascadeOnDeleteESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE, oldCascadeOnDelete, CASCADE_ON_DELETE_EDEFAULT, oldCascadeOnDeleteESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetCascadeOnDelete() {
- return cascadeOnDeleteESet;
- }
+ return cascadeOnDeleteESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public JoinFetchType getJoinFetch() {
- return joinFetch;
- }
+ return joinFetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setJoinFetch(JoinFetchType newJoinFetch) {
- JoinFetchType oldJoinFetch = joinFetch;
- joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch;
- boolean oldJoinFetchESet = joinFetchESet;
- joinFetchESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH, oldJoinFetch,
- joinFetch, !oldJoinFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ JoinFetchType oldJoinFetch = joinFetch;
+ joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch;
+ boolean oldJoinFetchESet = joinFetchESet;
+ joinFetchESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH, oldJoinFetch, joinFetch, !oldJoinFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetJoinFetch() {
- JoinFetchType oldJoinFetch = joinFetch;
- boolean oldJoinFetchESet = joinFetchESet;
- joinFetch = JOIN_FETCH_EDEFAULT;
- joinFetchESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH, oldJoinFetch,
- JOIN_FETCH_EDEFAULT, oldJoinFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ JoinFetchType oldJoinFetch = joinFetch;
+ boolean oldJoinFetchESet = joinFetchESet;
+ joinFetch = JOIN_FETCH_EDEFAULT;
+ joinFetchESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH, oldJoinFetch, JOIN_FETCH_EDEFAULT, oldJoinFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetJoinFetch() {
- return joinFetchESet;
- }
+ return joinFetchESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public BatchFetch getBatchFetch() {
- return batchFetch;
- }
+ return batchFetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetBatchFetch(BatchFetch newBatchFetch, NotificationChain msgs) {
- BatchFetch oldBatchFetch = batchFetch;
- batchFetch = newBatchFetch;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH, oldBatchFetch, newBatchFetch);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ BatchFetch oldBatchFetch = batchFetch;
+ batchFetch = newBatchFetch;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH, oldBatchFetch, newBatchFetch);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setBatchFetch(BatchFetch newBatchFetch) {
- if (newBatchFetch != batchFetch) {
- NotificationChain msgs = null;
- if (batchFetch != null) {
- msgs = ((InternalEObject) batchFetch).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH, null, msgs);
- }
- if (newBatchFetch != null) {
- msgs = ((InternalEObject) newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH, null, msgs);
- }
- msgs = basicSetBatchFetch(newBatchFetch, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH, newBatchFetch,
- newBatchFetch));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newBatchFetch != batchFetch) {
+ NotificationChain msgs = null;
+ if (batchFetch != null)
+ msgs = ((InternalEObject)batchFetch).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH, null, msgs);
+ if (newBatchFetch != null)
+ msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH, null, msgs);
+ msgs = basicSetBatchFetch(newBatchFetch, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH, newBatchFetch, newBatchFetch));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<Property> getProperty() {
- if (property == null) {
- property = new EObjectContainmentEList<Property>(Property.class, this, OrmPackage.ELEMENT_COLLECTION__PROPERTY);
- }
- return property;
- }
+ if (property == null) {
+ property = new EObjectContainmentEList<Property>(Property.class, this, OrmPackage.ELEMENT_COLLECTION__PROPERTY);
+ }
+ return property;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public AccessMethods getAccessMethods() {
- return accessMethods;
- }
+ return accessMethods;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetAccessMethods(AccessMethods newAccessMethods, NotificationChain msgs) {
- AccessMethods oldAccessMethods = accessMethods;
- accessMethods = newAccessMethods;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS, oldAccessMethods, newAccessMethods);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessMethods oldAccessMethods = accessMethods;
+ accessMethods = newAccessMethods;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS, oldAccessMethods, newAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAccessMethods(AccessMethods newAccessMethods) {
- if (newAccessMethods != accessMethods) {
- NotificationChain msgs = null;
- if (accessMethods != null) {
- msgs = ((InternalEObject) accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS, null, msgs);
- }
- if (newAccessMethods != null) {
- msgs = ((InternalEObject) newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS, null, msgs);
- }
- msgs = basicSetAccessMethods(newAccessMethods, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS,
- newAccessMethods, newAccessMethods));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newAccessMethods != accessMethods) {
+ NotificationChain msgs = null;
+ if (accessMethods != null)
+ msgs = ((InternalEObject)accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS, null, msgs);
+ if (newAccessMethods != null)
+ msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS, null, msgs);
+ msgs = basicSetAccessMethods(newAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS, newAccessMethods, newAccessMethods));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EmptyType getNoncacheable() {
- return noncacheable;
- }
+ return noncacheable;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetNoncacheable(EmptyType newNoncacheable, NotificationChain msgs) {
- EmptyType oldNoncacheable = noncacheable;
- noncacheable = newNoncacheable;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE, oldNoncacheable, newNoncacheable);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ EmptyType oldNoncacheable = noncacheable;
+ noncacheable = newNoncacheable;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE, oldNoncacheable, newNoncacheable);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setNoncacheable(EmptyType newNoncacheable) {
- if (newNoncacheable != noncacheable) {
- NotificationChain msgs = null;
- if (noncacheable != null) {
- msgs = ((InternalEObject) noncacheable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE, null, msgs);
- }
- if (newNoncacheable != null) {
- msgs = ((InternalEObject) newNoncacheable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE, null, msgs);
- }
- msgs = basicSetNoncacheable(newNoncacheable, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE,
- newNoncacheable, newNoncacheable));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newNoncacheable != noncacheable) {
+ NotificationChain msgs = null;
+ if (noncacheable != null)
+ msgs = ((InternalEObject)noncacheable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE, null, msgs);
+ if (newNoncacheable != null)
+ msgs = ((InternalEObject)newNoncacheable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE, null, msgs);
+ msgs = basicSetNoncacheable(newNoncacheable, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE, newNoncacheable, newNoncacheable));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Partitioning getPartitioning() {
- return partitioning;
- }
+ return partitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetPartitioning(Partitioning newPartitioning, NotificationChain msgs) {
- Partitioning oldPartitioning = partitioning;
- partitioning = newPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__PARTITIONING, oldPartitioning, newPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Partitioning oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPartitioning(Partitioning newPartitioning) {
- if (newPartitioning != partitioning) {
- NotificationChain msgs = null;
- if (partitioning != null) {
- msgs = ((InternalEObject) partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__PARTITIONING, null, msgs);
- }
- if (newPartitioning != null) {
- msgs = ((InternalEObject) newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__PARTITIONING, null, msgs);
- }
- msgs = basicSetPartitioning(newPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__PARTITIONING,
- newPartitioning, newPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newPartitioning != partitioning) {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ReplicationPartitioning getReplicationPartitioning() {
- return replicationPartitioning;
- }
+ return replicationPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetReplicationPartitioning(ReplicationPartitioning newReplicationPartitioning,
NotificationChain msgs) {
- ReplicationPartitioning oldReplicationPartitioning = replicationPartitioning;
- replicationPartitioning = newReplicationPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING, oldReplicationPartitioning,
- newReplicationPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ ReplicationPartitioning oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setReplicationPartitioning(ReplicationPartitioning newReplicationPartitioning) {
- if (newReplicationPartitioning != replicationPartitioning) {
- NotificationChain msgs = null;
- if (replicationPartitioning != null) {
- msgs = ((InternalEObject) replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING, null, msgs);
- }
- if (newReplicationPartitioning != null) {
- msgs = ((InternalEObject) newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING, null, msgs);
- }
- msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING,
- newReplicationPartitioning, newReplicationPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newReplicationPartitioning != replicationPartitioning) {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING, null, msgs);
+ msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public RoundRobinPartitioning getRoundRobinPartitioning() {
- return roundRobinPartitioning;
- }
+ return roundRobinPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetRoundRobinPartitioning(RoundRobinPartitioning newRoundRobinPartitioning,
NotificationChain msgs) {
- RoundRobinPartitioning oldRoundRobinPartitioning = roundRobinPartitioning;
- roundRobinPartitioning = newRoundRobinPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ RoundRobinPartitioning oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setRoundRobinPartitioning(RoundRobinPartitioning newRoundRobinPartitioning) {
- if (newRoundRobinPartitioning != roundRobinPartitioning) {
- NotificationChain msgs = null;
- if (roundRobinPartitioning != null) {
- msgs = ((InternalEObject) roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, null, msgs);
- }
- if (newRoundRobinPartitioning != null) {
- msgs = ((InternalEObject) newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, null, msgs);
- }
- msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING,
- newRoundRobinPartitioning, newRoundRobinPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newRoundRobinPartitioning != roundRobinPartitioning) {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, null, msgs);
+ msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public PinnedPartitioning getPinnedPartitioning() {
- return pinnedPartitioning;
- }
+ return pinnedPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetPinnedPartitioning(PinnedPartitioning newPinnedPartitioning, NotificationChain msgs) {
- PinnedPartitioning oldPinnedPartitioning = pinnedPartitioning;
- pinnedPartitioning = newPinnedPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ PinnedPartitioning oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPinnedPartitioning(PinnedPartitioning newPinnedPartitioning) {
- if (newPinnedPartitioning != pinnedPartitioning) {
- NotificationChain msgs = null;
- if (pinnedPartitioning != null) {
- msgs = ((InternalEObject) pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING, null, msgs);
- }
- if (newPinnedPartitioning != null) {
- msgs = ((InternalEObject) newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING, null, msgs);
- }
- msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING,
- newPinnedPartitioning, newPinnedPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newPinnedPartitioning != pinnedPartitioning) {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING, null, msgs);
+ msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public RangePartitioning getRangePartitioning() {
- return rangePartitioning;
- }
+ return rangePartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetRangePartitioning(RangePartitioning newRangePartitioning, NotificationChain msgs) {
- RangePartitioning oldRangePartitioning = rangePartitioning;
- rangePartitioning = newRangePartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ RangePartitioning oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setRangePartitioning(RangePartitioning newRangePartitioning) {
- if (newRangePartitioning != rangePartitioning) {
- NotificationChain msgs = null;
- if (rangePartitioning != null) {
- msgs = ((InternalEObject) rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING, null, msgs);
- }
- if (newRangePartitioning != null) {
- msgs = ((InternalEObject) newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING, null, msgs);
- }
- msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING,
- newRangePartitioning, newRangePartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newRangePartitioning != rangePartitioning) {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING, null, msgs);
+ msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ValuePartitioning getValuePartitioning() {
- return valuePartitioning;
- }
+ return valuePartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetValuePartitioning(ValuePartitioning newValuePartitioning, NotificationChain msgs) {
- ValuePartitioning oldValuePartitioning = valuePartitioning;
- valuePartitioning = newValuePartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ ValuePartitioning oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setValuePartitioning(ValuePartitioning newValuePartitioning) {
- if (newValuePartitioning != valuePartitioning) {
- NotificationChain msgs = null;
- if (valuePartitioning != null) {
- msgs = ((InternalEObject) valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING, null, msgs);
- }
- if (newValuePartitioning != null) {
- msgs = ((InternalEObject) newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING, null, msgs);
- }
- msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING,
- newValuePartitioning, newValuePartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newValuePartitioning != valuePartitioning) {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING, null, msgs);
+ msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public HashPartitioning getHashPartitioning() {
- return hashPartitioning;
- }
+ return hashPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetHashPartitioning(HashPartitioning newHashPartitioning, NotificationChain msgs) {
- HashPartitioning oldHashPartitioning = hashPartitioning;
- hashPartitioning = newHashPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ HashPartitioning oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setHashPartitioning(HashPartitioning newHashPartitioning) {
- if (newHashPartitioning != hashPartitioning) {
- NotificationChain msgs = null;
- if (hashPartitioning != null) {
- msgs = ((InternalEObject) hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING, null, msgs);
- }
- if (newHashPartitioning != null) {
- msgs = ((InternalEObject) newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING, null, msgs);
- }
- msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING,
- newHashPartitioning, newHashPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newHashPartitioning != hashPartitioning) {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING, null, msgs);
+ msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public UnionPartitioning getUnionPartitioning() {
- return unionPartitioning;
- }
+ return unionPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetUnionPartitioning(UnionPartitioning newUnionPartitioning, NotificationChain msgs) {
- UnionPartitioning oldUnionPartitioning = unionPartitioning;
- unionPartitioning = newUnionPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ UnionPartitioning oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setUnionPartitioning(UnionPartitioning newUnionPartitioning) {
- if (newUnionPartitioning != unionPartitioning) {
- NotificationChain msgs = null;
- if (unionPartitioning != null) {
- msgs = ((InternalEObject) unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING, null, msgs);
- }
- if (newUnionPartitioning != null) {
- msgs = ((InternalEObject) newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING, null, msgs);
- }
- msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING,
- newUnionPartitioning, newUnionPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newUnionPartitioning != unionPartitioning) {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING, null, msgs);
+ msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getPartitioned() {
- return partitioned;
- }
+ return partitioned;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPartitioned(String newPartitioned) {
- String oldPartitioned = partitioned;
- partitioned = newPartitioned;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__PARTITIONED, oldPartitioned,
- partitioned));
- }
- }
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__PARTITIONED, oldPartitioned, partitioned));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public AccessType getAccess() {
- return access;
- }
+ return access;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAccess(AccessType newAccess) {
- AccessType oldAccess = access;
- access = newAccess == null ? ACCESS_EDEFAULT : newAccess;
- boolean oldAccessESet = accessESet;
- accessESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ACCESS, oldAccess, access,
- !oldAccessESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessType oldAccess = access;
+ access = newAccess == null ? ACCESS_EDEFAULT : newAccess;
+ boolean oldAccessESet = accessESet;
+ accessESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ACCESS, oldAccess, access, !oldAccessESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetAccess() {
- AccessType oldAccess = access;
- boolean oldAccessESet = accessESet;
- access = ACCESS_EDEFAULT;
- accessESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ELEMENT_COLLECTION__ACCESS, oldAccess,
- ACCESS_EDEFAULT, oldAccessESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessType oldAccess = access;
+ boolean oldAccessESet = accessESet;
+ access = ACCESS_EDEFAULT;
+ accessESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ELEMENT_COLLECTION__ACCESS, oldAccess, ACCESS_EDEFAULT, oldAccessESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetAccess() {
- return accessESet;
- }
+ return accessESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getAttributeType() {
- return attributeType;
- }
+ return attributeType;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAttributeType(String newAttributeType) {
- String oldAttributeType = attributeType;
- attributeType = newAttributeType;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE,
- oldAttributeType, attributeType));
- }
- }
+ String oldAttributeType = attributeType;
+ attributeType = newAttributeType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getCompositeMember() {
- return compositeMember;
- }
+ return compositeMember;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setCompositeMember(String newCompositeMember) {
- String oldCompositeMember = compositeMember;
- compositeMember = newCompositeMember;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER,
- oldCompositeMember, compositeMember));
- }
- }
+ String oldCompositeMember = compositeMember;
+ compositeMember = newCompositeMember;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER, oldCompositeMember, compositeMember));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public FetchType getFetch() {
- return fetch;
- }
+ return fetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setFetch(FetchType newFetch) {
- FetchType oldFetch = fetch;
- fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
- boolean oldFetchESet = fetchESet;
- fetchESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__FETCH, oldFetch, fetch,
- !oldFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ FetchType oldFetch = fetch;
+ fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
+ boolean oldFetchESet = fetchESet;
+ fetchESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__FETCH, oldFetch, fetch, !oldFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetFetch() {
- FetchType oldFetch = fetch;
- boolean oldFetchESet = fetchESet;
- fetch = FETCH_EDEFAULT;
- fetchESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ELEMENT_COLLECTION__FETCH, oldFetch,
- FETCH_EDEFAULT, oldFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ FetchType oldFetch = fetch;
+ boolean oldFetchESet = fetchESet;
+ fetch = FETCH_EDEFAULT;
+ fetchESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ELEMENT_COLLECTION__FETCH, oldFetch, FETCH_EDEFAULT, oldFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetFetch() {
- return fetchESet;
- }
+ return fetchESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getName() {
- return name;
- }
+ return name;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__NAME, oldName, name));
- }
- }
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__NAME, oldName, name));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getTargetClass() {
- return targetClass;
- }
+ return targetClass;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setTargetClass(String newTargetClass) {
- String oldTargetClass = targetClass;
- targetClass = newTargetClass;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS,
- oldTargetClass, targetClass));
- }
- }
+ String oldTargetClass = targetClass;
+ targetClass = newTargetClass;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS, oldTargetClass, targetClass));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
- return basicSetOrderColumn(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
- return basicSetMapKey(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
- return basicSetMapKeyClass(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
- return ((InternalEList<?>) getMapKeyAttributeOverride()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
- return ((InternalEList<?>) getMapKeyAssociationOverride()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
- return basicSetMapKeyColumn(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
- return ((InternalEList<?>) getMapKeyJoinColumn()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__COLUMN:
- return basicSetColumn(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__LOB:
- return basicSetLob(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
- return ((InternalEList<?>) getAttributeOverride()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
- return ((InternalEList<?>) getAssociationOverride()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__GROUP:
- return ((InternalEList<?>) getGroup()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
- return ((InternalEList<?>) getConverter()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
- return ((InternalEList<?>) getTypeConverter()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
- return ((InternalEList<?>) getObjectTypeConverter()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
- return ((InternalEList<?>) getStructConverter()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
- return basicSetCollectionTable(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
- return basicSetBatchFetch(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
- return ((InternalEList<?>) getProperty()).basicRemove(otherEnd, msgs);
- case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
- return basicSetAccessMethods(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
- return basicSetNoncacheable(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
- return basicSetPartitioning(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
- return basicSetReplicationPartitioning(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
- return basicSetRoundRobinPartitioning(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
- return basicSetPinnedPartitioning(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
- return basicSetRangePartitioning(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
- return basicSetValuePartitioning(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
- return basicSetHashPartitioning(null, msgs);
- case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
- return basicSetUnionPartitioning(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
+ return basicSetOrderColumn(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
+ return basicSetMapKey(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
+ return basicSetMapKeyClass(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
+ return ((InternalEList<?>)getMapKeyAttributeOverride()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
+ return ((InternalEList<?>)getMapKeyAssociationOverride()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
+ return basicSetMapKeyColumn(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
+ return ((InternalEList<?>)getMapKeyJoinColumn()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__COLUMN:
+ return basicSetColumn(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__LOB:
+ return basicSetLob(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
+ return ((InternalEList<?>)getAttributeOverride()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
+ return ((InternalEList<?>)getAssociationOverride()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
+ return ((InternalEList<?>)getConverter()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
+ return ((InternalEList<?>)getTypeConverter()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
+ return ((InternalEList<?>)getObjectTypeConverter()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
+ return ((InternalEList<?>)getStructConverter()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
+ return basicSetCollectionTable(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
+ return basicSetBatchFetch(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
+ return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
+ return basicSetAccessMethods(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
+ return basicSetNoncacheable(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OrmPackage.ELEMENT_COLLECTION__ORDER_BY:
- return getOrderBy();
- case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
- return getOrderColumn();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
- return getMapKey();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
- return getMapKeyClass();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL:
- return getMapKeyTemporal();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED:
- return getMapKeyEnumerated();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT:
- return getMapKeyConvert();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
- return getMapKeyAttributeOverride();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
- return getMapKeyAssociationOverride();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
- return getMapKeyColumn();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
- return getMapKeyJoinColumn();
- case OrmPackage.ELEMENT_COLLECTION__COLUMN:
- return getColumn();
- case OrmPackage.ELEMENT_COLLECTION__TEMPORAL:
- return getTemporal();
- case OrmPackage.ELEMENT_COLLECTION__ENUMERATED:
- return getEnumerated();
- case OrmPackage.ELEMENT_COLLECTION__LOB:
- return getLob();
- case OrmPackage.ELEMENT_COLLECTION__CONVERT:
- return getConvert();
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
- return getAttributeOverride();
- case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
- return getAssociationOverride();
- case OrmPackage.ELEMENT_COLLECTION__GROUP:
- if (coreType) {
- return getGroup();
- }
- return ((FeatureMap.Internal) getGroup()).getWrapper();
- case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
- return getConverter();
- case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
- return getTypeConverter();
- case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
- return getObjectTypeConverter();
- case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
- return getStructConverter();
- case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
- return getCollectionTable();
- case OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE:
- return isCascadeOnDelete();
- case OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH:
- return getJoinFetch();
- case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
- return getBatchFetch();
- case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
- return getProperty();
- case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
- return getAccessMethods();
- case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
- return getNoncacheable();
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
- return getPartitioning();
- case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
- return getReplicationPartitioning();
- case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
- return getRoundRobinPartitioning();
- case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
- return getPinnedPartitioning();
- case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
- return getRangePartitioning();
- case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
- return getValuePartitioning();
- case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
- return getHashPartitioning();
- case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
- return getUnionPartitioning();
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONED:
- return getPartitioned();
- case OrmPackage.ELEMENT_COLLECTION__ACCESS:
- return getAccess();
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
- return getAttributeType();
- case OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER:
- return getCompositeMember();
- case OrmPackage.ELEMENT_COLLECTION__FETCH:
- return getFetch();
- case OrmPackage.ELEMENT_COLLECTION__NAME:
- return getName();
- case OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS:
- return getTargetClass();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_BY:
+ return getOrderBy();
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
+ return getOrderColumn();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
+ return getMapKey();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
+ return getMapKeyClass();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL:
+ return getMapKeyTemporal();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED:
+ return getMapKeyEnumerated();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT:
+ return getMapKeyConvert();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
+ return getMapKeyAttributeOverride();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
+ return getMapKeyAssociationOverride();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
+ return getMapKeyColumn();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
+ return getMapKeyJoinColumn();
+ case OrmPackage.ELEMENT_COLLECTION__COLUMN:
+ return getColumn();
+ case OrmPackage.ELEMENT_COLLECTION__TEMPORAL:
+ return getTemporal();
+ case OrmPackage.ELEMENT_COLLECTION__ENUMERATED:
+ return getEnumerated();
+ case OrmPackage.ELEMENT_COLLECTION__LOB:
+ return getLob();
+ case OrmPackage.ELEMENT_COLLECTION__CONVERT:
+ return getConvert();
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
+ return getAttributeOverride();
+ case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
+ return getAssociationOverride();
+ case OrmPackage.ELEMENT_COLLECTION__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
+ case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
+ return getConverter();
+ case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
+ return getTypeConverter();
+ case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
+ return getObjectTypeConverter();
+ case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
+ return getStructConverter();
+ case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
+ return getCollectionTable();
+ case OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE:
+ return isCascadeOnDelete();
+ case OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH:
+ return getJoinFetch();
+ case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
+ return getBatchFetch();
+ case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
+ return getProperty();
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
+ return getAccessMethods();
+ case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
+ return getNoncacheable();
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
+ return getPartitioning();
+ case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONED:
+ return getPartitioned();
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS:
+ return getAccess();
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
+ return getAttributeType();
+ case OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER:
+ return getCompositeMember();
+ case OrmPackage.ELEMENT_COLLECTION__FETCH:
+ return getFetch();
+ case OrmPackage.ELEMENT_COLLECTION__NAME:
+ return getName();
+ case OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS:
+ return getTargetClass();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OrmPackage.ELEMENT_COLLECTION__ORDER_BY:
- setOrderBy((String) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
- setOrderColumn((OrderColumn) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
- setMapKey((MapKey) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
- setMapKeyClass((MapKeyClass) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL:
- setMapKeyTemporal((TemporalType) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED:
- setMapKeyEnumerated((EnumType) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT:
- setMapKeyConvert((String) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
- getMapKeyAttributeOverride().clear();
- getMapKeyAttributeOverride().addAll((Collection<? extends AttributeOverride>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
- getMapKeyAssociationOverride().clear();
- getMapKeyAssociationOverride().addAll((Collection<? extends AssociationOverride>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
- setMapKeyColumn((MapKeyColumn) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
- getMapKeyJoinColumn().clear();
- getMapKeyJoinColumn().addAll((Collection<? extends MapKeyJoinColumn>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__COLUMN:
- setColumn((Column) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__TEMPORAL:
- setTemporal((TemporalType) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ENUMERATED:
- setEnumerated((EnumType) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__LOB:
- setLob((Lob) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__CONVERT:
- setConvert((String) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
- getAttributeOverride().clear();
- getAttributeOverride().addAll((Collection<? extends AttributeOverride>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
- getAssociationOverride().clear();
- getAssociationOverride().addAll((Collection<? extends AssociationOverride>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__GROUP:
- ((FeatureMap.Internal) getGroup()).set(newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
- getConverter().clear();
- getConverter().addAll((Collection<? extends Converter>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
- getTypeConverter().clear();
- getTypeConverter().addAll((Collection<? extends TypeConverter>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
- getObjectTypeConverter().clear();
- getObjectTypeConverter().addAll((Collection<? extends ObjectTypeConverter>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
- getStructConverter().clear();
- getStructConverter().addAll((Collection<? extends StructConverter>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
- setCollectionTable((CollectionTable) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE:
- setCascadeOnDelete((Boolean) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH:
- setJoinFetch((JoinFetchType) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
- setBatchFetch((BatchFetch) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
- getProperty().clear();
- getProperty().addAll((Collection<? extends Property>) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
- setAccessMethods((AccessMethods) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
- setNoncacheable((EmptyType) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
- setPartitioning((Partitioning) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
- setReplicationPartitioning((ReplicationPartitioning) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
- setRoundRobinPartitioning((RoundRobinPartitioning) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
- setPinnedPartitioning((PinnedPartitioning) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
- setRangePartitioning((RangePartitioning) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
- setValuePartitioning((ValuePartitioning) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
- setHashPartitioning((HashPartitioning) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
- setUnionPartitioning((UnionPartitioning) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONED:
- setPartitioned((String) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ACCESS:
- setAccess((AccessType) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
- setAttributeType((String) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER:
- setCompositeMember((String) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__FETCH:
- setFetch((FetchType) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__NAME:
- setName((String) newValue);
- return;
- case OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS:
- setTargetClass((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_BY:
+ setOrderBy((String)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
+ setOrderColumn((OrderColumn)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
+ setMapKey((MapKey)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
+ setMapKeyClass((MapKeyClass)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL:
+ setMapKeyTemporal((TemporalType)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED:
+ setMapKeyEnumerated((EnumType)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT:
+ setMapKeyConvert((String)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
+ getMapKeyAttributeOverride().clear();
+ getMapKeyAttributeOverride().addAll((Collection<? extends AttributeOverride>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
+ getMapKeyAssociationOverride().clear();
+ getMapKeyAssociationOverride().addAll((Collection<? extends AssociationOverride>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
+ setMapKeyColumn((MapKeyColumn)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
+ getMapKeyJoinColumn().clear();
+ getMapKeyJoinColumn().addAll((Collection<? extends MapKeyJoinColumn>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__COLUMN:
+ setColumn((Column)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__TEMPORAL:
+ setTemporal((TemporalType)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ENUMERATED:
+ setEnumerated((EnumType)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__LOB:
+ setLob((Lob)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__CONVERT:
+ setConvert((String)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
+ getAttributeOverride().clear();
+ getAttributeOverride().addAll((Collection<? extends AttributeOverride>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
+ getAssociationOverride().clear();
+ getAssociationOverride().addAll((Collection<? extends AssociationOverride>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
+ getConverter().clear();
+ getConverter().addAll((Collection<? extends Converter>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
+ getTypeConverter().clear();
+ getTypeConverter().addAll((Collection<? extends TypeConverter>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
+ getObjectTypeConverter().clear();
+ getObjectTypeConverter().addAll((Collection<? extends ObjectTypeConverter>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
+ getStructConverter().clear();
+ getStructConverter().addAll((Collection<? extends StructConverter>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
+ setCollectionTable((CollectionTable)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE:
+ setCascadeOnDelete((Boolean)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH:
+ setJoinFetch((JoinFetchType)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
+ setBatchFetch((BatchFetch)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
+ getProperty().clear();
+ getProperty().addAll((Collection<? extends Property>)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
+ setAccessMethods((AccessMethods)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
+ setNoncacheable((EmptyType)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
+ setPartitioning((Partitioning)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((ReplicationPartitioning)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((RoundRobinPartitioning)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ setPinnedPartitioning((PinnedPartitioning)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ setRangePartitioning((RangePartitioning)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ setValuePartitioning((ValuePartitioning)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
+ setHashPartitioning((HashPartitioning)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
+ setUnionPartitioning((UnionPartitioning)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS:
+ setAccess((AccessType)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
+ setAttributeType((String)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER:
+ setCompositeMember((String)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__FETCH:
+ setFetch((FetchType)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__NAME:
+ setName((String)newValue);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS:
+ setTargetClass((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case OrmPackage.ELEMENT_COLLECTION__ORDER_BY:
- setOrderBy(ORDER_BY_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
- setOrderColumn((OrderColumn) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
- setMapKey((MapKey) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
- setMapKeyClass((MapKeyClass) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL:
- setMapKeyTemporal(MAP_KEY_TEMPORAL_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED:
- setMapKeyEnumerated(MAP_KEY_ENUMERATED_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT:
- setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
- getMapKeyAttributeOverride().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
- getMapKeyAssociationOverride().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
- setMapKeyColumn((MapKeyColumn) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
- getMapKeyJoinColumn().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__COLUMN:
- setColumn((Column) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__TEMPORAL:
- setTemporal(TEMPORAL_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ENUMERATED:
- setEnumerated(ENUMERATED_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__LOB:
- setLob((Lob) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__CONVERT:
- setConvert(CONVERT_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
- getAttributeOverride().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
- getAssociationOverride().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__GROUP:
- getGroup().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
- getConverter().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
- getTypeConverter().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
- getObjectTypeConverter().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
- getStructConverter().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
- setCollectionTable((CollectionTable) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE:
- unsetCascadeOnDelete();
- return;
- case OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH:
- unsetJoinFetch();
- return;
- case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
- setBatchFetch((BatchFetch) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
- getProperty().clear();
- return;
- case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
- setAccessMethods((AccessMethods) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
- setNoncacheable((EmptyType) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
- setPartitioning((Partitioning) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
- setReplicationPartitioning((ReplicationPartitioning) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
- setRoundRobinPartitioning((RoundRobinPartitioning) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
- setPinnedPartitioning((PinnedPartitioning) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
- setRangePartitioning((RangePartitioning) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
- setValuePartitioning((ValuePartitioning) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
- setHashPartitioning((HashPartitioning) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
- setUnionPartitioning((UnionPartitioning) null);
- return;
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONED:
- setPartitioned(PARTITIONED_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__ACCESS:
- unsetAccess();
- return;
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
- setAttributeType(ATTRIBUTE_TYPE_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER:
- setCompositeMember(COMPOSITE_MEMBER_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__FETCH:
- unsetFetch();
- return;
- case OrmPackage.ELEMENT_COLLECTION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS:
- setTargetClass(TARGET_CLASS_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_BY:
+ setOrderBy(ORDER_BY_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
+ setOrderColumn((OrderColumn)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
+ setMapKey((MapKey)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
+ setMapKeyClass((MapKeyClass)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL:
+ setMapKeyTemporal(MAP_KEY_TEMPORAL_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED:
+ setMapKeyEnumerated(MAP_KEY_ENUMERATED_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT:
+ setMapKeyConvert(MAP_KEY_CONVERT_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
+ getMapKeyAttributeOverride().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
+ getMapKeyAssociationOverride().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
+ setMapKeyColumn((MapKeyColumn)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
+ getMapKeyJoinColumn().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__COLUMN:
+ setColumn((Column)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__TEMPORAL:
+ setTemporal(TEMPORAL_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ENUMERATED:
+ setEnumerated(ENUMERATED_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__LOB:
+ setLob((Lob)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__CONVERT:
+ setConvert(CONVERT_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
+ getAttributeOverride().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
+ getAssociationOverride().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__GROUP:
+ getGroup().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
+ getConverter().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
+ getTypeConverter().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
+ getObjectTypeConverter().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
+ getStructConverter().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
+ setCollectionTable((CollectionTable)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE:
+ unsetCascadeOnDelete();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH:
+ unsetJoinFetch();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
+ setBatchFetch((BatchFetch)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
+ getProperty().clear();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
+ setAccessMethods((AccessMethods)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
+ setNoncacheable((EmptyType)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
+ setPartitioning((Partitioning)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((ReplicationPartitioning)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((RoundRobinPartitioning)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ setPinnedPartitioning((PinnedPartitioning)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ setRangePartitioning((RangePartitioning)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ setValuePartitioning((ValuePartitioning)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
+ setHashPartitioning((HashPartitioning)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
+ setUnionPartitioning((UnionPartitioning)null);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS:
+ unsetAccess();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
+ setAttributeType(ATTRIBUTE_TYPE_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER:
+ setCompositeMember(COMPOSITE_MEMBER_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__FETCH:
+ unsetFetch();
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS:
+ setTargetClass(TARGET_CLASS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OrmPackage.ELEMENT_COLLECTION__ORDER_BY:
- return ORDER_BY_EDEFAULT == null ? orderBy != null : !ORDER_BY_EDEFAULT.equals(orderBy);
- case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
- return orderColumn != null;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
- return mapKey != null;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
- return mapKeyClass != null;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL:
- return MAP_KEY_TEMPORAL_EDEFAULT == null ? mapKeyTemporal != null : !MAP_KEY_TEMPORAL_EDEFAULT
- .equals(mapKeyTemporal);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED:
- return MAP_KEY_ENUMERATED_EDEFAULT == null ? mapKeyEnumerated != null : !MAP_KEY_ENUMERATED_EDEFAULT
- .equals(mapKeyEnumerated);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT:
- return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert);
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
- return mapKeyAttributeOverride != null && !mapKeyAttributeOverride.isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
- return mapKeyAssociationOverride != null && !mapKeyAssociationOverride.isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
- return mapKeyColumn != null;
- case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
- return mapKeyJoinColumn != null && !mapKeyJoinColumn.isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__COLUMN:
- return column != null;
- case OrmPackage.ELEMENT_COLLECTION__TEMPORAL:
- return TEMPORAL_EDEFAULT == null ? temporal != null : !TEMPORAL_EDEFAULT.equals(temporal);
- case OrmPackage.ELEMENT_COLLECTION__ENUMERATED:
- return ENUMERATED_EDEFAULT == null ? enumerated != null : !ENUMERATED_EDEFAULT.equals(enumerated);
- case OrmPackage.ELEMENT_COLLECTION__LOB:
- return lob != null;
- case OrmPackage.ELEMENT_COLLECTION__CONVERT:
- return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert);
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
- return attributeOverride != null && !attributeOverride.isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
- return associationOverride != null && !associationOverride.isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__GROUP:
- return group != null && !group.isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
- return !getConverter().isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
- return !getTypeConverter().isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
- return !getObjectTypeConverter().isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
- return !getStructConverter().isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
- return collectionTable != null;
- case OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE:
- return isSetCascadeOnDelete();
- case OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH:
- return isSetJoinFetch();
- case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
- return batchFetch != null;
- case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
- return property != null && !property.isEmpty();
- case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
- return accessMethods != null;
- case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
- return noncacheable != null;
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
- return partitioning != null;
- case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
- return replicationPartitioning != null;
- case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
- return roundRobinPartitioning != null;
- case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
- return pinnedPartitioning != null;
- case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
- return rangePartitioning != null;
- case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
- return valuePartitioning != null;
- case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
- return hashPartitioning != null;
- case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
- return unionPartitioning != null;
- case OrmPackage.ELEMENT_COLLECTION__PARTITIONED:
- return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
- case OrmPackage.ELEMENT_COLLECTION__ACCESS:
- return isSetAccess();
- case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
- return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType);
- case OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER:
- return COMPOSITE_MEMBER_EDEFAULT == null ? compositeMember != null : !COMPOSITE_MEMBER_EDEFAULT
- .equals(compositeMember);
- case OrmPackage.ELEMENT_COLLECTION__FETCH:
- return isSetFetch();
- case OrmPackage.ELEMENT_COLLECTION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS:
- return TARGET_CLASS_EDEFAULT == null ? targetClass != null : !TARGET_CLASS_EDEFAULT.equals(targetClass);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_BY:
+ return ORDER_BY_EDEFAULT == null ? orderBy != null : !ORDER_BY_EDEFAULT.equals(orderBy);
+ case OrmPackage.ELEMENT_COLLECTION__ORDER_COLUMN:
+ return orderColumn != null;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY:
+ return mapKey != null;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CLASS:
+ return mapKeyClass != null;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_TEMPORAL:
+ return MAP_KEY_TEMPORAL_EDEFAULT == null ? mapKeyTemporal != null : !MAP_KEY_TEMPORAL_EDEFAULT.equals(mapKeyTemporal);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ENUMERATED:
+ return MAP_KEY_ENUMERATED_EDEFAULT == null ? mapKeyEnumerated != null : !MAP_KEY_ENUMERATED_EDEFAULT.equals(mapKeyEnumerated);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_CONVERT:
+ return MAP_KEY_CONVERT_EDEFAULT == null ? mapKeyConvert != null : !MAP_KEY_CONVERT_EDEFAULT.equals(mapKeyConvert);
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ATTRIBUTE_OVERRIDE:
+ return mapKeyAttributeOverride != null && !mapKeyAttributeOverride.isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_ASSOCIATION_OVERRIDE:
+ return mapKeyAssociationOverride != null && !mapKeyAssociationOverride.isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_COLUMN:
+ return mapKeyColumn != null;
+ case OrmPackage.ELEMENT_COLLECTION__MAP_KEY_JOIN_COLUMN:
+ return mapKeyJoinColumn != null && !mapKeyJoinColumn.isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__COLUMN:
+ return column != null;
+ case OrmPackage.ELEMENT_COLLECTION__TEMPORAL:
+ return TEMPORAL_EDEFAULT == null ? temporal != null : !TEMPORAL_EDEFAULT.equals(temporal);
+ case OrmPackage.ELEMENT_COLLECTION__ENUMERATED:
+ return ENUMERATED_EDEFAULT == null ? enumerated != null : !ENUMERATED_EDEFAULT.equals(enumerated);
+ case OrmPackage.ELEMENT_COLLECTION__LOB:
+ return lob != null;
+ case OrmPackage.ELEMENT_COLLECTION__CONVERT:
+ return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert);
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_OVERRIDE:
+ return attributeOverride != null && !attributeOverride.isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__ASSOCIATION_OVERRIDE:
+ return associationOverride != null && !associationOverride.isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__GROUP:
+ return group != null && !group.isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__CONVERTER:
+ return !getConverter().isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__TYPE_CONVERTER:
+ return !getTypeConverter().isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__OBJECT_TYPE_CONVERTER:
+ return !getObjectTypeConverter().isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__STRUCT_CONVERTER:
+ return !getStructConverter().isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__COLLECTION_TABLE:
+ return collectionTable != null;
+ case OrmPackage.ELEMENT_COLLECTION__CASCADE_ON_DELETE:
+ return isSetCascadeOnDelete();
+ case OrmPackage.ELEMENT_COLLECTION__JOIN_FETCH:
+ return isSetJoinFetch();
+ case OrmPackage.ELEMENT_COLLECTION__BATCH_FETCH:
+ return batchFetch != null;
+ case OrmPackage.ELEMENT_COLLECTION__PROPERTY:
+ return property != null && !property.isEmpty();
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS_METHODS:
+ return accessMethods != null;
+ case OrmPackage.ELEMENT_COLLECTION__NONCACHEABLE:
+ return noncacheable != null;
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONING:
+ return partitioning != null;
+ case OrmPackage.ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case OrmPackage.ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case OrmPackage.ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case OrmPackage.ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case OrmPackage.ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case OrmPackage.ELEMENT_COLLECTION__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case OrmPackage.ELEMENT_COLLECTION__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case OrmPackage.ELEMENT_COLLECTION__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
+ case OrmPackage.ELEMENT_COLLECTION__ACCESS:
+ return isSetAccess();
+ case OrmPackage.ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
+ return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType);
+ case OrmPackage.ELEMENT_COLLECTION__COMPOSITE_MEMBER:
+ return COMPOSITE_MEMBER_EDEFAULT == null ? compositeMember != null : !COMPOSITE_MEMBER_EDEFAULT.equals(compositeMember);
+ case OrmPackage.ELEMENT_COLLECTION__FETCH:
+ return isSetFetch();
+ case OrmPackage.ELEMENT_COLLECTION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OrmPackage.ELEMENT_COLLECTION__TARGET_CLASS:
+ return TARGET_CLASS_EDEFAULT == null ? targetClass != null : !TARGET_CLASS_EDEFAULT.equals(targetClass);
+ }
+ 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(" (orderBy: ");
- result.append(orderBy);
- result.append(", mapKeyTemporal: ");
- result.append(mapKeyTemporal);
- result.append(", mapKeyEnumerated: ");
- result.append(mapKeyEnumerated);
- result.append(", mapKeyConvert: ");
- result.append(mapKeyConvert);
- result.append(", temporal: ");
- result.append(temporal);
- result.append(", enumerated: ");
- result.append(enumerated);
- result.append(", convert: ");
- result.append(convert);
- result.append(", group: ");
- result.append(group);
- result.append(", cascadeOnDelete: ");
- if (cascadeOnDeleteESet) {
- result.append(cascadeOnDelete);
- } else {
- result.append("<unset>");
- }
- result.append(", joinFetch: ");
- if (joinFetchESet) {
- result.append(joinFetch);
- } else {
- result.append("<unset>");
- }
- result.append(", partitioned: ");
- result.append(partitioned);
- result.append(", access: ");
- if (accessESet) {
- result.append(access);
- } else {
- result.append("<unset>");
- }
- result.append(", attributeType: ");
- result.append(attributeType);
- result.append(", compositeMember: ");
- result.append(compositeMember);
- result.append(", fetch: ");
- if (fetchESet) {
- result.append(fetch);
- } else {
- result.append("<unset>");
- }
- result.append(", name: ");
- result.append(name);
- result.append(", targetClass: ");
- result.append(targetClass);
- result.append(')');
- return result.toString();
- }
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (orderBy: ");
+ result.append(orderBy);
+ result.append(", mapKeyTemporal: ");
+ result.append(mapKeyTemporal);
+ result.append(", mapKeyEnumerated: ");
+ result.append(mapKeyEnumerated);
+ result.append(", mapKeyConvert: ");
+ result.append(mapKeyConvert);
+ result.append(", temporal: ");
+ result.append(temporal);
+ result.append(", enumerated: ");
+ result.append(enumerated);
+ result.append(", convert: ");
+ result.append(convert);
+ result.append(", group: ");
+ result.append(group);
+ result.append(", cascadeOnDelete: ");
+ if (cascadeOnDeleteESet) result.append(cascadeOnDelete); else result.append("<unset>");
+ result.append(", joinFetch: ");
+ if (joinFetchESet) result.append(joinFetch); else result.append("<unset>");
+ result.append(", partitioned: ");
+ result.append(partitioned);
+ result.append(", access: ");
+ if (accessESet) result.append(access); else result.append("<unset>");
+ result.append(", attributeType: ");
+ result.append(attributeType);
+ result.append(", compositeMember: ");
+ result.append(compositeMember);
+ result.append(", fetch: ");
+ if (fetchESet) result.append(fetch); else result.append("<unset>");
+ result.append(", name: ");
+ result.append(name);
+ result.append(", targetClass: ");
+ result.append(targetClass);
+ result.append(')');
+ return result.toString();
+ }
@Override
public String getJavaAnnotation(String identifier) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ManyToOneImpl.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ManyToOneImpl.java
index ab7f0131..4a6be6f3 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ManyToOneImpl.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ManyToOneImpl.java
@@ -47,41 +47,33 @@ import org.eclipse.emf.texo.orm.annotator.ORMJavaAnnotationGenerator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getJoinColumn <em>Join Column</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getJoinTable <em>Join Table</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getCascade <em>Cascade</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getJoinFetch <em>Join Fetch</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getBatchFetch <em>Batch Fetch</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getAccessMethods <em>Access Methods
- * </em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getNoncacheable <em>Noncacheable</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getPartitioning <em>Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getReplicationPartitioning <em>
- * Replication Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getRoundRobinPartitioning <em>Round
- * Robin Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getPinnedPartitioning <em>Pinned
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getRangePartitioning <em>Range
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getValuePartitioning <em>Value
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getHashPartitioning <em>Hash
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getUnionPartitioning <em>Union
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getPartitioned <em>Partitioned</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getAccess <em>Access</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getFetch <em>Fetch</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#isId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getMapsId <em>Maps Id</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#isOptional <em>Optional</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getTargetEntity <em>Target Entity</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getJoinColumn <em>Join Column</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getJoinTable <em>Join Table</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getCascade <em>Cascade</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getJoinFetch <em>Join Fetch</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getBatchFetch <em>Batch Fetch</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getAccessMethods <em>Access Methods</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getNoncacheable <em>Noncacheable</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getPartitioning <em>Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getReplicationPartitioning <em>Replication Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getPinnedPartitioning <em>Pinned Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getRangePartitioning <em>Range Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getValuePartitioning <em>Value Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getHashPartitioning <em>Hash Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getUnionPartitioning <em>Union Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getPartitioned <em>Partitioned</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getAccess <em>Access</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getFetch <em>Fetch</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#isId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getMapsId <em>Maps Id</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#isOptional <em>Optional</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.ManyToOneImpl#getTargetEntity <em>Target Entity</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ManyToOneImpl extends BaseOrmAnnotationImpl implements ManyToOne {
@@ -96,71 +88,71 @@ public class ManyToOneImpl extends BaseOrmAnnotationImpl implements ManyToOne {
protected EList<JoinColumn> joinColumn;
/**
- * The cached value of the '{@link #getJoinTable() <em>Join Table</em>}' containment reference. <!-- begin-user-doc
+ * The cached value of the '{@link #getJoinTable() <em>Join Table</em>}' containment reference.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getJoinTable()
- * @generated
- * @ordered
- */
+ * @see #getJoinTable()
+ * @generated
+ * @ordered
+ */
protected JoinTable joinTable;
/**
- * The cached value of the '{@link #getCascade() <em>Cascade</em>}' containment reference. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getCascade() <em>Cascade</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getCascade()
- * @generated
- * @ordered
- */
+ * @see #getCascade()
+ * @generated
+ * @ordered
+ */
protected CascadeType cascade;
/**
- * The default value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getJoinFetch()
- * @generated
- * @ordered
- */
+ * @see #getJoinFetch()
+ * @generated
+ * @ordered
+ */
protected static final JoinFetchType JOIN_FETCH_EDEFAULT = JoinFetchType.INNER;
/**
- * The cached value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getJoinFetch()
- * @generated
- * @ordered
- */
+ * @see #getJoinFetch()
+ * @generated
+ * @ordered
+ */
protected JoinFetchType joinFetch = JOIN_FETCH_EDEFAULT;
/**
- * This is true if the Join Fetch attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Join Fetch attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean joinFetchESet;
/**
- * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference. <!-- begin-user-doc
+ * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getBatchFetch()
- * @generated
- * @ordered
- */
+ * @see #getBatchFetch()
+ * @generated
+ * @ordered
+ */
protected BatchFetch batchFetch;
/**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. <!-- begin-user-doc
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getProperty()
- * @generated
- * @ordered
- */
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
protected EList<Property> property;
/**
@@ -194,23 +186,21 @@ public class ManyToOneImpl extends BaseOrmAnnotationImpl implements ManyToOne {
protected Partitioning partitioning;
/**
- * The cached value of the '{@link #getReplicationPartitioning() <em>Replication Partitioning</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getReplicationPartitioning()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getReplicationPartitioning() <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getReplicationPartitioning()
+ * @generated
+ * @ordered
+ */
protected ReplicationPartitioning replicationPartitioning;
/**
- * The cached value of the '{@link #getRoundRobinPartitioning() <em>Round Robin Partitioning</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getRoundRobinPartitioning()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getRoundRobinPartitioning() <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ * @ordered
+ */
protected RoundRobinPartitioning roundRobinPartitioning;
/**
@@ -264,33 +254,33 @@ public class ManyToOneImpl extends BaseOrmAnnotationImpl implements ManyToOne {
protected UnionPartitioning unionPartitioning;
/**
- * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
+ * @see #getPartitioned()
+ * @generated
+ * @ordered
+ */
protected static final String PARTITIONED_EDEFAULT = null;
/**
- * The cached value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
+ * @see #getPartitioned()
+ * @generated
+ * @ordered
+ */
protected String partitioned = PARTITIONED_EDEFAULT;
/**
- * The default value of the '{@link #getAccess() <em>Access</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getAccess() <em>Access</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getAccess()
- * @generated
- * @ordered
- */
+ * @see #getAccess()
+ * @generated
+ * @ordered
+ */
protected static final AccessType ACCESS_EDEFAULT = AccessType.PROPERTY;
/**
@@ -304,11 +294,11 @@ public class ManyToOneImpl extends BaseOrmAnnotationImpl implements ManyToOne {
protected AccessType access = ACCESS_EDEFAULT;
/**
- * This is true if the Access attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Access attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean accessESet;
/**
@@ -332,57 +322,57 @@ public class ManyToOneImpl extends BaseOrmAnnotationImpl implements ManyToOne {
protected FetchType fetch = FETCH_EDEFAULT;
/**
- * This is true if the Fetch attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Fetch attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean fetchESet;
/**
- * The default value of the '{@link #isId() <em>Id</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isId()
- * @generated
- * @ordered
- */
+ * The default value of the '{@link #isId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #isId()
+ * @generated
+ * @ordered
+ */
protected static final boolean ID_EDEFAULT = false;
/**
- * The cached value of the '{@link #isId() <em>Id</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isId()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #isId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #isId()
+ * @generated
+ * @ordered
+ */
protected boolean id = ID_EDEFAULT;
/**
- * This is true if the Id attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Id attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean idESet;
/**
- * The default value of the '{@link #getMapsId() <em>Maps Id</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getMapsId() <em>Maps Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getMapsId()
- * @generated
- * @ordered
- */
+ * @see #getMapsId()
+ * @generated
+ * @ordered
+ */
protected static final String MAPS_ID_EDEFAULT = null;
/**
- * The cached value of the '{@link #getMapsId() <em>Maps Id</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getMapsId() <em>Maps Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getMapsId()
- * @generated
- * @ordered
- */
+ * @see #getMapsId()
+ * @generated
+ * @ordered
+ */
protected String mapsId = MAPS_ID_EDEFAULT;
/**
@@ -396,1545 +386,1267 @@ public class ManyToOneImpl extends BaseOrmAnnotationImpl implements ManyToOne {
protected static final String NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
protected String name = NAME_EDEFAULT;
/**
- * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #isOptional()
- * @generated
- * @ordered
- */
+ * @see #isOptional()
+ * @generated
+ * @ordered
+ */
protected static final boolean OPTIONAL_EDEFAULT = false;
/**
- * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #isOptional()
- * @generated
- * @ordered
- */
+ * @see #isOptional()
+ * @generated
+ * @ordered
+ */
protected boolean optional = OPTIONAL_EDEFAULT;
/**
- * This is true if the Optional attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Optional attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean optionalESet;
/**
- * The default value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute. <!-- begin-user-doc -->
+ * The default value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getTargetEntity()
- * @generated
- * @ordered
- */
+ * @see #getTargetEntity()
+ * @generated
+ * @ordered
+ */
protected static final String TARGET_ENTITY_EDEFAULT = null;
/**
- * The cached value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getTargetEntity()
- * @generated
- * @ordered
- */
+ * @see #getTargetEntity()
+ * @generated
+ * @ordered
+ */
protected String targetEntity = TARGET_ENTITY_EDEFAULT;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected ManyToOneImpl() {
- super();
- }
+ super();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EClass eStaticClass() {
- return OrmPackage.eINSTANCE.getManyToOne();
- }
+ return OrmPackage.eINSTANCE.getManyToOne();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<JoinColumn> getJoinColumn() {
- if (joinColumn == null) {
- joinColumn = new EObjectContainmentEList<JoinColumn>(JoinColumn.class, this, OrmPackage.MANY_TO_ONE__JOIN_COLUMN);
- }
- return joinColumn;
- }
+ if (joinColumn == null) {
+ joinColumn = new EObjectContainmentEList<JoinColumn>(JoinColumn.class, this, OrmPackage.MANY_TO_ONE__JOIN_COLUMN);
+ }
+ return joinColumn;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public JoinTable getJoinTable() {
- return joinTable;
- }
+ return joinTable;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetJoinTable(JoinTable newJoinTable, NotificationChain msgs) {
- JoinTable oldJoinTable = joinTable;
- joinTable = newJoinTable;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__JOIN_TABLE, oldJoinTable, newJoinTable);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ JoinTable oldJoinTable = joinTable;
+ joinTable = newJoinTable;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__JOIN_TABLE, oldJoinTable, newJoinTable);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setJoinTable(JoinTable newJoinTable) {
- if (newJoinTable != joinTable) {
- NotificationChain msgs = null;
- if (joinTable != null) {
- msgs = ((InternalEObject) joinTable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__JOIN_TABLE, null, msgs);
- }
- if (newJoinTable != null) {
- msgs = ((InternalEObject) newJoinTable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__JOIN_TABLE, null, msgs);
- }
- msgs = basicSetJoinTable(newJoinTable, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__JOIN_TABLE, newJoinTable,
- newJoinTable));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newJoinTable != joinTable) {
+ NotificationChain msgs = null;
+ if (joinTable != null)
+ msgs = ((InternalEObject)joinTable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__JOIN_TABLE, null, msgs);
+ if (newJoinTable != null)
+ msgs = ((InternalEObject)newJoinTable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__JOIN_TABLE, null, msgs);
+ msgs = basicSetJoinTable(newJoinTable, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__JOIN_TABLE, newJoinTable, newJoinTable));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public CascadeType getCascade() {
- return cascade;
- }
+ return cascade;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetCascade(CascadeType newCascade, NotificationChain msgs) {
- CascadeType oldCascade = cascade;
- cascade = newCascade;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__CASCADE,
- oldCascade, newCascade);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ CascadeType oldCascade = cascade;
+ cascade = newCascade;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__CASCADE, oldCascade, newCascade);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setCascade(CascadeType newCascade) {
- if (newCascade != cascade) {
- NotificationChain msgs = null;
- if (cascade != null) {
- msgs = ((InternalEObject) cascade).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__CASCADE, null, msgs);
- }
- if (newCascade != null) {
- msgs = ((InternalEObject) newCascade).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__CASCADE, null, msgs);
- }
- msgs = basicSetCascade(newCascade, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__CASCADE, newCascade, newCascade));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newCascade != cascade) {
+ NotificationChain msgs = null;
+ if (cascade != null)
+ msgs = ((InternalEObject)cascade).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__CASCADE, null, msgs);
+ if (newCascade != null)
+ msgs = ((InternalEObject)newCascade).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__CASCADE, null, msgs);
+ msgs = basicSetCascade(newCascade, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__CASCADE, newCascade, newCascade));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public JoinFetchType getJoinFetch() {
- return joinFetch;
- }
+ return joinFetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setJoinFetch(JoinFetchType newJoinFetch) {
- JoinFetchType oldJoinFetch = joinFetch;
- joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch;
- boolean oldJoinFetchESet = joinFetchESet;
- joinFetchESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__JOIN_FETCH, oldJoinFetch,
- joinFetch, !oldJoinFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ JoinFetchType oldJoinFetch = joinFetch;
+ joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch;
+ boolean oldJoinFetchESet = joinFetchESet;
+ joinFetchESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__JOIN_FETCH, oldJoinFetch, joinFetch, !oldJoinFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetJoinFetch() {
- JoinFetchType oldJoinFetch = joinFetch;
- boolean oldJoinFetchESet = joinFetchESet;
- joinFetch = JOIN_FETCH_EDEFAULT;
- joinFetchESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__JOIN_FETCH, oldJoinFetch,
- JOIN_FETCH_EDEFAULT, oldJoinFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ JoinFetchType oldJoinFetch = joinFetch;
+ boolean oldJoinFetchESet = joinFetchESet;
+ joinFetch = JOIN_FETCH_EDEFAULT;
+ joinFetchESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__JOIN_FETCH, oldJoinFetch, JOIN_FETCH_EDEFAULT, oldJoinFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetJoinFetch() {
- return joinFetchESet;
- }
+ return joinFetchESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public BatchFetch getBatchFetch() {
- return batchFetch;
- }
+ return batchFetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetBatchFetch(BatchFetch newBatchFetch, NotificationChain msgs) {
- BatchFetch oldBatchFetch = batchFetch;
- batchFetch = newBatchFetch;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__BATCH_FETCH, oldBatchFetch, newBatchFetch);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ BatchFetch oldBatchFetch = batchFetch;
+ batchFetch = newBatchFetch;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__BATCH_FETCH, oldBatchFetch, newBatchFetch);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setBatchFetch(BatchFetch newBatchFetch) {
- if (newBatchFetch != batchFetch) {
- NotificationChain msgs = null;
- if (batchFetch != null) {
- msgs = ((InternalEObject) batchFetch).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__BATCH_FETCH, null, msgs);
- }
- if (newBatchFetch != null) {
- msgs = ((InternalEObject) newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__BATCH_FETCH, null, msgs);
- }
- msgs = basicSetBatchFetch(newBatchFetch, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__BATCH_FETCH, newBatchFetch,
- newBatchFetch));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newBatchFetch != batchFetch) {
+ NotificationChain msgs = null;
+ if (batchFetch != null)
+ msgs = ((InternalEObject)batchFetch).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__BATCH_FETCH, null, msgs);
+ if (newBatchFetch != null)
+ msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__BATCH_FETCH, null, msgs);
+ msgs = basicSetBatchFetch(newBatchFetch, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__BATCH_FETCH, newBatchFetch, newBatchFetch));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<Property> getProperty() {
- if (property == null) {
- property = new EObjectContainmentEList<Property>(Property.class, this, OrmPackage.MANY_TO_ONE__PROPERTY);
- }
- return property;
- }
+ if (property == null) {
+ property = new EObjectContainmentEList<Property>(Property.class, this, OrmPackage.MANY_TO_ONE__PROPERTY);
+ }
+ return property;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public AccessMethods getAccessMethods() {
- return accessMethods;
- }
+ return accessMethods;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetAccessMethods(AccessMethods newAccessMethods, NotificationChain msgs) {
- AccessMethods oldAccessMethods = accessMethods;
- accessMethods = newAccessMethods;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__ACCESS_METHODS, oldAccessMethods, newAccessMethods);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessMethods oldAccessMethods = accessMethods;
+ accessMethods = newAccessMethods;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ACCESS_METHODS, oldAccessMethods, newAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAccessMethods(AccessMethods newAccessMethods) {
- if (newAccessMethods != accessMethods) {
- NotificationChain msgs = null;
- if (accessMethods != null) {
- msgs = ((InternalEObject) accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__ACCESS_METHODS, null, msgs);
- }
- if (newAccessMethods != null) {
- msgs = ((InternalEObject) newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__ACCESS_METHODS, null, msgs);
- }
- msgs = basicSetAccessMethods(newAccessMethods, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ACCESS_METHODS, newAccessMethods,
- newAccessMethods));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newAccessMethods != accessMethods) {
+ NotificationChain msgs = null;
+ if (accessMethods != null)
+ msgs = ((InternalEObject)accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__ACCESS_METHODS, null, msgs);
+ if (newAccessMethods != null)
+ msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__ACCESS_METHODS, null, msgs);
+ msgs = basicSetAccessMethods(newAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ACCESS_METHODS, newAccessMethods, newAccessMethods));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EmptyType getNoncacheable() {
- return noncacheable;
- }
+ return noncacheable;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetNoncacheable(EmptyType newNoncacheable, NotificationChain msgs) {
- EmptyType oldNoncacheable = noncacheable;
- noncacheable = newNoncacheable;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__NONCACHEABLE, oldNoncacheable, newNoncacheable);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ EmptyType oldNoncacheable = noncacheable;
+ noncacheable = newNoncacheable;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__NONCACHEABLE, oldNoncacheable, newNoncacheable);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setNoncacheable(EmptyType newNoncacheable) {
- if (newNoncacheable != noncacheable) {
- NotificationChain msgs = null;
- if (noncacheable != null) {
- msgs = ((InternalEObject) noncacheable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__NONCACHEABLE, null, msgs);
- }
- if (newNoncacheable != null) {
- msgs = ((InternalEObject) newNoncacheable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__NONCACHEABLE, null, msgs);
- }
- msgs = basicSetNoncacheable(newNoncacheable, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__NONCACHEABLE, newNoncacheable,
- newNoncacheable));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newNoncacheable != noncacheable) {
+ NotificationChain msgs = null;
+ if (noncacheable != null)
+ msgs = ((InternalEObject)noncacheable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__NONCACHEABLE, null, msgs);
+ if (newNoncacheable != null)
+ msgs = ((InternalEObject)newNoncacheable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__NONCACHEABLE, null, msgs);
+ msgs = basicSetNoncacheable(newNoncacheable, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__NONCACHEABLE, newNoncacheable, newNoncacheable));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Partitioning getPartitioning() {
- return partitioning;
- }
+ return partitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetPartitioning(Partitioning newPartitioning, NotificationChain msgs) {
- Partitioning oldPartitioning = partitioning;
- partitioning = newPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Partitioning oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPartitioning(Partitioning newPartitioning) {
- if (newPartitioning != partitioning) {
- NotificationChain msgs = null;
- if (partitioning != null) {
- msgs = ((InternalEObject) partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__PARTITIONING, null, msgs);
- }
- if (newPartitioning != null) {
- msgs = ((InternalEObject) newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__PARTITIONING, null, msgs);
- }
- msgs = basicSetPartitioning(newPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__PARTITIONING, newPartitioning,
- newPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newPartitioning != partitioning) {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ReplicationPartitioning getReplicationPartitioning() {
- return replicationPartitioning;
- }
+ return replicationPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetReplicationPartitioning(ReplicationPartitioning newReplicationPartitioning,
NotificationChain msgs) {
- ReplicationPartitioning oldReplicationPartitioning = replicationPartitioning;
- replicationPartitioning = newReplicationPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ ReplicationPartitioning oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setReplicationPartitioning(ReplicationPartitioning newReplicationPartitioning) {
- if (newReplicationPartitioning != replicationPartitioning) {
- NotificationChain msgs = null;
- if (replicationPartitioning != null) {
- msgs = ((InternalEObject) replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
- }
- if (newReplicationPartitioning != null) {
- msgs = ((InternalEObject) newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
- }
- msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING,
- newReplicationPartitioning, newReplicationPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newReplicationPartitioning != replicationPartitioning) {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
+ msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public RoundRobinPartitioning getRoundRobinPartitioning() {
- return roundRobinPartitioning;
- }
+ return roundRobinPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetRoundRobinPartitioning(RoundRobinPartitioning newRoundRobinPartitioning,
NotificationChain msgs) {
- RoundRobinPartitioning oldRoundRobinPartitioning = roundRobinPartitioning;
- roundRobinPartitioning = newRoundRobinPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ RoundRobinPartitioning oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setRoundRobinPartitioning(RoundRobinPartitioning newRoundRobinPartitioning) {
- if (newRoundRobinPartitioning != roundRobinPartitioning) {
- NotificationChain msgs = null;
- if (roundRobinPartitioning != null) {
- msgs = ((InternalEObject) roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
- }
- if (newRoundRobinPartitioning != null) {
- msgs = ((InternalEObject) newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
- }
- msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING,
- newRoundRobinPartitioning, newRoundRobinPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newRoundRobinPartitioning != roundRobinPartitioning) {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
+ msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public PinnedPartitioning getPinnedPartitioning() {
- return pinnedPartitioning;
- }
+ return pinnedPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetPinnedPartitioning(PinnedPartitioning newPinnedPartitioning, NotificationChain msgs) {
- PinnedPartitioning oldPinnedPartitioning = pinnedPartitioning;
- pinnedPartitioning = newPinnedPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ PinnedPartitioning oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPinnedPartitioning(PinnedPartitioning newPinnedPartitioning) {
- if (newPinnedPartitioning != pinnedPartitioning) {
- NotificationChain msgs = null;
- if (pinnedPartitioning != null) {
- msgs = ((InternalEObject) pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING, null, msgs);
- }
- if (newPinnedPartitioning != null) {
- msgs = ((InternalEObject) newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING, null, msgs);
- }
- msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING,
- newPinnedPartitioning, newPinnedPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newPinnedPartitioning != pinnedPartitioning) {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING, null, msgs);
+ msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public RangePartitioning getRangePartitioning() {
- return rangePartitioning;
- }
+ return rangePartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetRangePartitioning(RangePartitioning newRangePartitioning, NotificationChain msgs) {
- RangePartitioning oldRangePartitioning = rangePartitioning;
- rangePartitioning = newRangePartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ RangePartitioning oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setRangePartitioning(RangePartitioning newRangePartitioning) {
- if (newRangePartitioning != rangePartitioning) {
- NotificationChain msgs = null;
- if (rangePartitioning != null) {
- msgs = ((InternalEObject) rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING, null, msgs);
- }
- if (newRangePartitioning != null) {
- msgs = ((InternalEObject) newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING, null, msgs);
- }
- msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING,
- newRangePartitioning, newRangePartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newRangePartitioning != rangePartitioning) {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING, null, msgs);
+ msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ValuePartitioning getValuePartitioning() {
- return valuePartitioning;
- }
+ return valuePartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetValuePartitioning(ValuePartitioning newValuePartitioning, NotificationChain msgs) {
- ValuePartitioning oldValuePartitioning = valuePartitioning;
- valuePartitioning = newValuePartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ ValuePartitioning oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setValuePartitioning(ValuePartitioning newValuePartitioning) {
- if (newValuePartitioning != valuePartitioning) {
- NotificationChain msgs = null;
- if (valuePartitioning != null) {
- msgs = ((InternalEObject) valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING, null, msgs);
- }
- if (newValuePartitioning != null) {
- msgs = ((InternalEObject) newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING, null, msgs);
- }
- msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING,
- newValuePartitioning, newValuePartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newValuePartitioning != valuePartitioning) {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING, null, msgs);
+ msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public HashPartitioning getHashPartitioning() {
- return hashPartitioning;
- }
+ return hashPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetHashPartitioning(HashPartitioning newHashPartitioning, NotificationChain msgs) {
- HashPartitioning oldHashPartitioning = hashPartitioning;
- hashPartitioning = newHashPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ HashPartitioning oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setHashPartitioning(HashPartitioning newHashPartitioning) {
- if (newHashPartitioning != hashPartitioning) {
- NotificationChain msgs = null;
- if (hashPartitioning != null) {
- msgs = ((InternalEObject) hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__HASH_PARTITIONING, null, msgs);
- }
- if (newHashPartitioning != null) {
- msgs = ((InternalEObject) newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__HASH_PARTITIONING, null, msgs);
- }
- msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__HASH_PARTITIONING,
- newHashPartitioning, newHashPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newHashPartitioning != hashPartitioning) {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__HASH_PARTITIONING, null, msgs);
+ msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public UnionPartitioning getUnionPartitioning() {
- return unionPartitioning;
- }
+ return unionPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetUnionPartitioning(UnionPartitioning newUnionPartitioning, NotificationChain msgs) {
- UnionPartitioning oldUnionPartitioning = unionPartitioning;
- unionPartitioning = newUnionPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.MANY_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ UnionPartitioning oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setUnionPartitioning(UnionPartitioning newUnionPartitioning) {
- if (newUnionPartitioning != unionPartitioning) {
- NotificationChain msgs = null;
- if (unionPartitioning != null) {
- msgs = ((InternalEObject) unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__UNION_PARTITIONING, null, msgs);
- }
- if (newUnionPartitioning != null) {
- msgs = ((InternalEObject) newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.MANY_TO_ONE__UNION_PARTITIONING, null, msgs);
- }
- msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__UNION_PARTITIONING,
- newUnionPartitioning, newUnionPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newUnionPartitioning != unionPartitioning) {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.MANY_TO_ONE__UNION_PARTITIONING, null, msgs);
+ msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getPartitioned() {
- return partitioned;
- }
+ return partitioned;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPartitioned(String newPartitioned) {
- String oldPartitioned = partitioned;
- partitioned = newPartitioned;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__PARTITIONED, oldPartitioned,
- partitioned));
- }
- }
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__PARTITIONED, oldPartitioned, partitioned));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public AccessType getAccess() {
- return access;
- }
+ return access;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAccess(AccessType newAccess) {
- AccessType oldAccess = access;
- access = newAccess == null ? ACCESS_EDEFAULT : newAccess;
- boolean oldAccessESet = accessESet;
- accessESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ACCESS, oldAccess, access,
- !oldAccessESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessType oldAccess = access;
+ access = newAccess == null ? ACCESS_EDEFAULT : newAccess;
+ boolean oldAccessESet = accessESet;
+ accessESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ACCESS, oldAccess, access, !oldAccessESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetAccess() {
- AccessType oldAccess = access;
- boolean oldAccessESet = accessESet;
- access = ACCESS_EDEFAULT;
- accessESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__ACCESS, oldAccess,
- ACCESS_EDEFAULT, oldAccessESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessType oldAccess = access;
+ boolean oldAccessESet = accessESet;
+ access = ACCESS_EDEFAULT;
+ accessESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__ACCESS, oldAccess, ACCESS_EDEFAULT, oldAccessESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetAccess() {
- return accessESet;
- }
+ return accessESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public FetchType getFetch() {
- return fetch;
- }
+ return fetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setFetch(FetchType newFetch) {
- FetchType oldFetch = fetch;
- fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
- boolean oldFetchESet = fetchESet;
- fetchESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__FETCH, oldFetch, fetch,
- !oldFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ FetchType oldFetch = fetch;
+ fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
+ boolean oldFetchESet = fetchESet;
+ fetchESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__FETCH, oldFetch, fetch, !oldFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetFetch() {
- FetchType oldFetch = fetch;
- boolean oldFetchESet = fetchESet;
- fetch = FETCH_EDEFAULT;
- fetchESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__FETCH, oldFetch, FETCH_EDEFAULT,
- oldFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ FetchType oldFetch = fetch;
+ boolean oldFetchESet = fetchESet;
+ fetch = FETCH_EDEFAULT;
+ fetchESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__FETCH, oldFetch, FETCH_EDEFAULT, oldFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetFetch() {
- return fetchESet;
- }
+ return fetchESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isId() {
- return id;
- }
+ return id;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setId(boolean newId) {
- boolean oldId = id;
- id = newId;
- boolean oldIdESet = idESet;
- idESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ID, oldId, id, !oldIdESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldId = id;
+ id = newId;
+ boolean oldIdESet = idESet;
+ idESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__ID, oldId, id, !oldIdESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetId() {
- boolean oldId = id;
- boolean oldIdESet = idESet;
- id = ID_EDEFAULT;
- idESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__ID, oldId, ID_EDEFAULT, oldIdESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldId = id;
+ boolean oldIdESet = idESet;
+ id = ID_EDEFAULT;
+ idESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__ID, oldId, ID_EDEFAULT, oldIdESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetId() {
- return idESet;
- }
+ return idESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getMapsId() {
- return mapsId;
- }
+ return mapsId;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMapsId(String newMapsId) {
- String oldMapsId = mapsId;
- mapsId = newMapsId;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__MAPS_ID, oldMapsId, mapsId));
- }
- }
+ String oldMapsId = mapsId;
+ mapsId = newMapsId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__MAPS_ID, oldMapsId, mapsId));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getName() {
- return name;
- }
+ return name;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__NAME, oldName, name));
- }
- }
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__NAME, oldName, name));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isOptional() {
- return optional;
- }
+ return optional;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setOptional(boolean newOptional) {
- boolean oldOptional = optional;
- optional = newOptional;
- boolean oldOptionalESet = optionalESet;
- optionalESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__OPTIONAL, oldOptional, optional,
- !oldOptionalESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldOptional = optional;
+ optional = newOptional;
+ boolean oldOptionalESet = optionalESet;
+ optionalESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__OPTIONAL, oldOptional, optional, !oldOptionalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetOptional() {
- boolean oldOptional = optional;
- boolean oldOptionalESet = optionalESet;
- optional = OPTIONAL_EDEFAULT;
- optionalESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__OPTIONAL, oldOptional,
- OPTIONAL_EDEFAULT, oldOptionalESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldOptional = optional;
+ boolean oldOptionalESet = optionalESet;
+ optional = OPTIONAL_EDEFAULT;
+ optionalESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MANY_TO_ONE__OPTIONAL, oldOptional, OPTIONAL_EDEFAULT, oldOptionalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetOptional() {
- return optionalESet;
- }
+ return optionalESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getTargetEntity() {
- return targetEntity;
- }
+ return targetEntity;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setTargetEntity(String newTargetEntity) {
- String oldTargetEntity = targetEntity;
- targetEntity = newTargetEntity;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__TARGET_ENTITY, oldTargetEntity,
- targetEntity));
- }
- }
+ String oldTargetEntity = targetEntity;
+ targetEntity = newTargetEntity;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MANY_TO_ONE__TARGET_ENTITY, oldTargetEntity, targetEntity));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
- return ((InternalEList<?>) getJoinColumn()).basicRemove(otherEnd, msgs);
- case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
- return basicSetJoinTable(null, msgs);
- case OrmPackage.MANY_TO_ONE__CASCADE:
- return basicSetCascade(null, msgs);
- case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
- return basicSetBatchFetch(null, msgs);
- case OrmPackage.MANY_TO_ONE__PROPERTY:
- return ((InternalEList<?>) getProperty()).basicRemove(otherEnd, msgs);
- case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
- return basicSetAccessMethods(null, msgs);
- case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
- return basicSetNoncacheable(null, msgs);
- case OrmPackage.MANY_TO_ONE__PARTITIONING:
- return basicSetPartitioning(null, msgs);
- case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
- return basicSetReplicationPartitioning(null, msgs);
- case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
- return basicSetRoundRobinPartitioning(null, msgs);
- case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
- return basicSetPinnedPartitioning(null, msgs);
- case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
- return basicSetRangePartitioning(null, msgs);
- case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
- return basicSetValuePartitioning(null, msgs);
- case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
- return basicSetHashPartitioning(null, msgs);
- case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
- return basicSetUnionPartitioning(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
+ return ((InternalEList<?>)getJoinColumn()).basicRemove(otherEnd, msgs);
+ case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
+ return basicSetJoinTable(null, msgs);
+ case OrmPackage.MANY_TO_ONE__CASCADE:
+ return basicSetCascade(null, msgs);
+ case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
+ return basicSetBatchFetch(null, msgs);
+ case OrmPackage.MANY_TO_ONE__PROPERTY:
+ return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs);
+ case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
+ return basicSetAccessMethods(null, msgs);
+ case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
+ return basicSetNoncacheable(null, msgs);
+ case OrmPackage.MANY_TO_ONE__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
- return getJoinColumn();
- case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
- return getJoinTable();
- case OrmPackage.MANY_TO_ONE__CASCADE:
- return getCascade();
- case OrmPackage.MANY_TO_ONE__JOIN_FETCH:
- return getJoinFetch();
- case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
- return getBatchFetch();
- case OrmPackage.MANY_TO_ONE__PROPERTY:
- return getProperty();
- case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
- return getAccessMethods();
- case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
- return getNoncacheable();
- case OrmPackage.MANY_TO_ONE__PARTITIONING:
- return getPartitioning();
- case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
- return getReplicationPartitioning();
- case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
- return getRoundRobinPartitioning();
- case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
- return getPinnedPartitioning();
- case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
- return getRangePartitioning();
- case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
- return getValuePartitioning();
- case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
- return getHashPartitioning();
- case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
- return getUnionPartitioning();
- case OrmPackage.MANY_TO_ONE__PARTITIONED:
- return getPartitioned();
- case OrmPackage.MANY_TO_ONE__ACCESS:
- return getAccess();
- case OrmPackage.MANY_TO_ONE__FETCH:
- return getFetch();
- case OrmPackage.MANY_TO_ONE__ID:
- return isId();
- case OrmPackage.MANY_TO_ONE__MAPS_ID:
- return getMapsId();
- case OrmPackage.MANY_TO_ONE__NAME:
- return getName();
- case OrmPackage.MANY_TO_ONE__OPTIONAL:
- return isOptional();
- case OrmPackage.MANY_TO_ONE__TARGET_ENTITY:
- return getTargetEntity();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
+ return getJoinColumn();
+ case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
+ return getJoinTable();
+ case OrmPackage.MANY_TO_ONE__CASCADE:
+ return getCascade();
+ case OrmPackage.MANY_TO_ONE__JOIN_FETCH:
+ return getJoinFetch();
+ case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
+ return getBatchFetch();
+ case OrmPackage.MANY_TO_ONE__PROPERTY:
+ return getProperty();
+ case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
+ return getAccessMethods();
+ case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
+ return getNoncacheable();
+ case OrmPackage.MANY_TO_ONE__PARTITIONING:
+ return getPartitioning();
+ case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case OrmPackage.MANY_TO_ONE__PARTITIONED:
+ return getPartitioned();
+ case OrmPackage.MANY_TO_ONE__ACCESS:
+ return getAccess();
+ case OrmPackage.MANY_TO_ONE__FETCH:
+ return getFetch();
+ case OrmPackage.MANY_TO_ONE__ID:
+ return isId();
+ case OrmPackage.MANY_TO_ONE__MAPS_ID:
+ return getMapsId();
+ case OrmPackage.MANY_TO_ONE__NAME:
+ return getName();
+ case OrmPackage.MANY_TO_ONE__OPTIONAL:
+ return isOptional();
+ case OrmPackage.MANY_TO_ONE__TARGET_ENTITY:
+ return getTargetEntity();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
- getJoinColumn().clear();
- getJoinColumn().addAll((Collection<? extends JoinColumn>) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
- setJoinTable((JoinTable) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__CASCADE:
- setCascade((CascadeType) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__JOIN_FETCH:
- setJoinFetch((JoinFetchType) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
- setBatchFetch((BatchFetch) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__PROPERTY:
- getProperty().clear();
- getProperty().addAll((Collection<? extends Property>) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
- setAccessMethods((AccessMethods) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
- setNoncacheable((EmptyType) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__PARTITIONING:
- setPartitioning((Partitioning) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
- setReplicationPartitioning((ReplicationPartitioning) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
- setRoundRobinPartitioning((RoundRobinPartitioning) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
- setPinnedPartitioning((PinnedPartitioning) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
- setRangePartitioning((RangePartitioning) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
- setValuePartitioning((ValuePartitioning) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
- setHashPartitioning((HashPartitioning) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
- setUnionPartitioning((UnionPartitioning) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__PARTITIONED:
- setPartitioned((String) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__ACCESS:
- setAccess((AccessType) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__FETCH:
- setFetch((FetchType) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__ID:
- setId((Boolean) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__MAPS_ID:
- setMapsId((String) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__NAME:
- setName((String) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__OPTIONAL:
- setOptional((Boolean) newValue);
- return;
- case OrmPackage.MANY_TO_ONE__TARGET_ENTITY:
- setTargetEntity((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
+ getJoinColumn().clear();
+ getJoinColumn().addAll((Collection<? extends JoinColumn>)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
+ setJoinTable((JoinTable)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__CASCADE:
+ setCascade((CascadeType)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__JOIN_FETCH:
+ setJoinFetch((JoinFetchType)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
+ setBatchFetch((BatchFetch)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__PROPERTY:
+ getProperty().clear();
+ getProperty().addAll((Collection<? extends Property>)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
+ setAccessMethods((AccessMethods)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
+ setNoncacheable((EmptyType)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__PARTITIONING:
+ setPartitioning((Partitioning)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((ReplicationPartitioning)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((RoundRobinPartitioning)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
+ setPinnedPartitioning((PinnedPartitioning)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
+ setRangePartitioning((RangePartitioning)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
+ setValuePartitioning((ValuePartitioning)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
+ setHashPartitioning((HashPartitioning)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
+ setUnionPartitioning((UnionPartitioning)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__ACCESS:
+ setAccess((AccessType)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__FETCH:
+ setFetch((FetchType)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__ID:
+ setId((Boolean)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__MAPS_ID:
+ setMapsId((String)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__NAME:
+ setName((String)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__OPTIONAL:
+ setOptional((Boolean)newValue);
+ return;
+ case OrmPackage.MANY_TO_ONE__TARGET_ENTITY:
+ setTargetEntity((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
- getJoinColumn().clear();
- return;
- case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
- setJoinTable((JoinTable) null);
- return;
- case OrmPackage.MANY_TO_ONE__CASCADE:
- setCascade((CascadeType) null);
- return;
- case OrmPackage.MANY_TO_ONE__JOIN_FETCH:
- unsetJoinFetch();
- return;
- case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
- setBatchFetch((BatchFetch) null);
- return;
- case OrmPackage.MANY_TO_ONE__PROPERTY:
- getProperty().clear();
- return;
- case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
- setAccessMethods((AccessMethods) null);
- return;
- case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
- setNoncacheable((EmptyType) null);
- return;
- case OrmPackage.MANY_TO_ONE__PARTITIONING:
- setPartitioning((Partitioning) null);
- return;
- case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
- setReplicationPartitioning((ReplicationPartitioning) null);
- return;
- case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
- setRoundRobinPartitioning((RoundRobinPartitioning) null);
- return;
- case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
- setPinnedPartitioning((PinnedPartitioning) null);
- return;
- case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
- setRangePartitioning((RangePartitioning) null);
- return;
- case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
- setValuePartitioning((ValuePartitioning) null);
- return;
- case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
- setHashPartitioning((HashPartitioning) null);
- return;
- case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
- setUnionPartitioning((UnionPartitioning) null);
- return;
- case OrmPackage.MANY_TO_ONE__PARTITIONED:
- setPartitioned(PARTITIONED_EDEFAULT);
- return;
- case OrmPackage.MANY_TO_ONE__ACCESS:
- unsetAccess();
- return;
- case OrmPackage.MANY_TO_ONE__FETCH:
- unsetFetch();
- return;
- case OrmPackage.MANY_TO_ONE__ID:
- unsetId();
- return;
- case OrmPackage.MANY_TO_ONE__MAPS_ID:
- setMapsId(MAPS_ID_EDEFAULT);
- return;
- case OrmPackage.MANY_TO_ONE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OrmPackage.MANY_TO_ONE__OPTIONAL:
- unsetOptional();
- return;
- case OrmPackage.MANY_TO_ONE__TARGET_ENTITY:
- setTargetEntity(TARGET_ENTITY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
+ getJoinColumn().clear();
+ return;
+ case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
+ setJoinTable((JoinTable)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__CASCADE:
+ setCascade((CascadeType)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__JOIN_FETCH:
+ unsetJoinFetch();
+ return;
+ case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
+ setBatchFetch((BatchFetch)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__PROPERTY:
+ getProperty().clear();
+ return;
+ case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
+ setAccessMethods((AccessMethods)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
+ setNoncacheable((EmptyType)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__PARTITIONING:
+ setPartitioning((Partitioning)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((ReplicationPartitioning)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((RoundRobinPartitioning)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
+ setPinnedPartitioning((PinnedPartitioning)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
+ setRangePartitioning((RangePartitioning)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
+ setValuePartitioning((ValuePartitioning)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
+ setHashPartitioning((HashPartitioning)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
+ setUnionPartitioning((UnionPartitioning)null);
+ return;
+ case OrmPackage.MANY_TO_ONE__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
+ case OrmPackage.MANY_TO_ONE__ACCESS:
+ unsetAccess();
+ return;
+ case OrmPackage.MANY_TO_ONE__FETCH:
+ unsetFetch();
+ return;
+ case OrmPackage.MANY_TO_ONE__ID:
+ unsetId();
+ return;
+ case OrmPackage.MANY_TO_ONE__MAPS_ID:
+ setMapsId(MAPS_ID_EDEFAULT);
+ return;
+ case OrmPackage.MANY_TO_ONE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OrmPackage.MANY_TO_ONE__OPTIONAL:
+ unsetOptional();
+ return;
+ case OrmPackage.MANY_TO_ONE__TARGET_ENTITY:
+ setTargetEntity(TARGET_ENTITY_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
- return joinColumn != null && !joinColumn.isEmpty();
- case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
- return joinTable != null;
- case OrmPackage.MANY_TO_ONE__CASCADE:
- return cascade != null;
- case OrmPackage.MANY_TO_ONE__JOIN_FETCH:
- return isSetJoinFetch();
- case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
- return batchFetch != null;
- case OrmPackage.MANY_TO_ONE__PROPERTY:
- return property != null && !property.isEmpty();
- case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
- return accessMethods != null;
- case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
- return noncacheable != null;
- case OrmPackage.MANY_TO_ONE__PARTITIONING:
- return partitioning != null;
- case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
- return replicationPartitioning != null;
- case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
- return roundRobinPartitioning != null;
- case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
- return pinnedPartitioning != null;
- case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
- return rangePartitioning != null;
- case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
- return valuePartitioning != null;
- case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
- return hashPartitioning != null;
- case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
- return unionPartitioning != null;
- case OrmPackage.MANY_TO_ONE__PARTITIONED:
- return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
- case OrmPackage.MANY_TO_ONE__ACCESS:
- return isSetAccess();
- case OrmPackage.MANY_TO_ONE__FETCH:
- return isSetFetch();
- case OrmPackage.MANY_TO_ONE__ID:
- return isSetId();
- case OrmPackage.MANY_TO_ONE__MAPS_ID:
- return MAPS_ID_EDEFAULT == null ? mapsId != null : !MAPS_ID_EDEFAULT.equals(mapsId);
- case OrmPackage.MANY_TO_ONE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OrmPackage.MANY_TO_ONE__OPTIONAL:
- return isSetOptional();
- case OrmPackage.MANY_TO_ONE__TARGET_ENTITY:
- return TARGET_ENTITY_EDEFAULT == null ? targetEntity != null : !TARGET_ENTITY_EDEFAULT.equals(targetEntity);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MANY_TO_ONE__JOIN_COLUMN:
+ return joinColumn != null && !joinColumn.isEmpty();
+ case OrmPackage.MANY_TO_ONE__JOIN_TABLE:
+ return joinTable != null;
+ case OrmPackage.MANY_TO_ONE__CASCADE:
+ return cascade != null;
+ case OrmPackage.MANY_TO_ONE__JOIN_FETCH:
+ return isSetJoinFetch();
+ case OrmPackage.MANY_TO_ONE__BATCH_FETCH:
+ return batchFetch != null;
+ case OrmPackage.MANY_TO_ONE__PROPERTY:
+ return property != null && !property.isEmpty();
+ case OrmPackage.MANY_TO_ONE__ACCESS_METHODS:
+ return accessMethods != null;
+ case OrmPackage.MANY_TO_ONE__NONCACHEABLE:
+ return noncacheable != null;
+ case OrmPackage.MANY_TO_ONE__PARTITIONING:
+ return partitioning != null;
+ case OrmPackage.MANY_TO_ONE__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case OrmPackage.MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case OrmPackage.MANY_TO_ONE__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case OrmPackage.MANY_TO_ONE__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case OrmPackage.MANY_TO_ONE__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case OrmPackage.MANY_TO_ONE__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case OrmPackage.MANY_TO_ONE__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case OrmPackage.MANY_TO_ONE__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
+ case OrmPackage.MANY_TO_ONE__ACCESS:
+ return isSetAccess();
+ case OrmPackage.MANY_TO_ONE__FETCH:
+ return isSetFetch();
+ case OrmPackage.MANY_TO_ONE__ID:
+ return isSetId();
+ case OrmPackage.MANY_TO_ONE__MAPS_ID:
+ return MAPS_ID_EDEFAULT == null ? mapsId != null : !MAPS_ID_EDEFAULT.equals(mapsId);
+ case OrmPackage.MANY_TO_ONE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OrmPackage.MANY_TO_ONE__OPTIONAL:
+ return isSetOptional();
+ case OrmPackage.MANY_TO_ONE__TARGET_ENTITY:
+ return TARGET_ENTITY_EDEFAULT == null ? targetEntity != null : !TARGET_ENTITY_EDEFAULT.equals(targetEntity);
+ }
+ 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(" (joinFetch: ");
- if (joinFetchESet) {
- result.append(joinFetch);
- } else {
- result.append("<unset>");
- }
- result.append(", partitioned: ");
- result.append(partitioned);
- result.append(", access: ");
- if (accessESet) {
- result.append(access);
- } else {
- result.append("<unset>");
- }
- result.append(", fetch: ");
- if (fetchESet) {
- result.append(fetch);
- } else {
- result.append("<unset>");
- }
- result.append(", id: ");
- if (idESet) {
- result.append(id);
- } else {
- result.append("<unset>");
- }
- result.append(", mapsId: ");
- result.append(mapsId);
- result.append(", name: ");
- result.append(name);
- result.append(", optional: ");
- if (optionalESet) {
- result.append(optional);
- } else {
- result.append("<unset>");
- }
- result.append(", targetEntity: ");
- result.append(targetEntity);
- result.append(')');
- return result.toString();
- }
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (joinFetch: ");
+ if (joinFetchESet) result.append(joinFetch); else result.append("<unset>");
+ result.append(", partitioned: ");
+ result.append(partitioned);
+ result.append(", access: ");
+ if (accessESet) result.append(access); else result.append("<unset>");
+ result.append(", fetch: ");
+ if (fetchESet) result.append(fetch); else result.append("<unset>");
+ result.append(", id: ");
+ if (idESet) result.append(id); else result.append("<unset>");
+ result.append(", mapsId: ");
+ result.append(mapsId);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", optional: ");
+ if (optionalESet) result.append(optional); else result.append("<unset>");
+ result.append(", targetEntity: ");
+ result.append(targetEntity);
+ result.append(')');
+ return result.toString();
+ }
@Override
public String getJavaAnnotation(String identifier) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/MultitenantImpl.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/MultitenantImpl.java
index 9eca10e6..d6742210 100644
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/MultitenantImpl.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/MultitenantImpl.java
@@ -31,23 +31,21 @@ import org.eclipse.emf.texo.orm.annotator.ORMJavaAnnotationGenerator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.MultitenantImpl#getTenantDiscriminator <em>Tenant
- * Discriminator</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.MultitenantImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.MultitenantImpl#getTenantDiscriminator <em>Tenant Discriminator</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.MultitenantImpl#getType <em>Type</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class MultitenantImpl extends BaseOrmAnnotationImpl implements Multitenant {
/**
- * The cached value of the '{@link #getTenantDiscriminator() <em>Tenant Discriminator</em>}' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getTenantDiscriminator()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getTenantDiscriminator() <em>Tenant Discriminator</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getTenantDiscriminator()
+ * @generated
+ * @ordered
+ */
protected EList<TenantDiscriminator> tenantDiscriminator;
/**
@@ -61,208 +59,185 @@ public class MultitenantImpl extends BaseOrmAnnotationImpl implements Multitenan
protected static final MultitenantType TYPE_EDEFAULT = MultitenantType.SINGLETABLE;
/**
- * The cached value of the '{@link #getType() <em>Type</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getType()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
protected MultitenantType type = TYPE_EDEFAULT;
/**
- * This is true if the Type attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Type attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean typeESet;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected MultitenantImpl() {
- super();
- }
+ super();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EClass eStaticClass() {
- return OrmPackage.eINSTANCE.getMultitenant();
- }
+ return OrmPackage.eINSTANCE.getMultitenant();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<TenantDiscriminator> getTenantDiscriminator() {
- if (tenantDiscriminator == null) {
- tenantDiscriminator = new EObjectContainmentEList<TenantDiscriminator>(TenantDiscriminator.class, this,
- OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR);
- }
- return tenantDiscriminator;
- }
+ if (tenantDiscriminator == null) {
+ tenantDiscriminator = new EObjectContainmentEList<TenantDiscriminator>(TenantDiscriminator.class, this, OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR);
+ }
+ return tenantDiscriminator;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public MultitenantType getType() {
- return type;
- }
+ return type;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setType(MultitenantType newType) {
- MultitenantType oldType = type;
- type = newType == null ? TYPE_EDEFAULT : newType;
- boolean oldTypeESet = typeESet;
- typeESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MULTITENANT__TYPE, oldType, type, !oldTypeESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ MultitenantType oldType = type;
+ type = newType == null ? TYPE_EDEFAULT : newType;
+ boolean oldTypeESet = typeESet;
+ typeESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.MULTITENANT__TYPE, oldType, type, !oldTypeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetType() {
- MultitenantType oldType = type;
- boolean oldTypeESet = typeESet;
- type = TYPE_EDEFAULT;
- typeESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MULTITENANT__TYPE, oldType, TYPE_EDEFAULT,
- oldTypeESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ MultitenantType oldType = type;
+ boolean oldTypeESet = typeESet;
+ type = TYPE_EDEFAULT;
+ typeESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.MULTITENANT__TYPE, oldType, TYPE_EDEFAULT, oldTypeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetType() {
- return typeESet;
- }
+ return typeESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
- return ((InternalEList<?>) getTenantDiscriminator()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
+ switch (featureID) {
+ case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
+ return ((InternalEList<?>)getTenantDiscriminator()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
- return getTenantDiscriminator();
- case OrmPackage.MULTITENANT__TYPE:
- return getType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
+ return getTenantDiscriminator();
+ case OrmPackage.MULTITENANT__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
- getTenantDiscriminator().clear();
- getTenantDiscriminator().addAll((Collection<? extends TenantDiscriminator>) newValue);
- return;
- case OrmPackage.MULTITENANT__TYPE:
- setType((MultitenantType) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
+ getTenantDiscriminator().clear();
+ getTenantDiscriminator().addAll((Collection<? extends TenantDiscriminator>)newValue);
+ return;
+ case OrmPackage.MULTITENANT__TYPE:
+ setType((MultitenantType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
- getTenantDiscriminator().clear();
- return;
- case OrmPackage.MULTITENANT__TYPE:
- unsetType();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
+ getTenantDiscriminator().clear();
+ return;
+ case OrmPackage.MULTITENANT__TYPE:
+ unsetType();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
- return tenantDiscriminator != null && !tenantDiscriminator.isEmpty();
- case OrmPackage.MULTITENANT__TYPE:
- return isSetType();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.MULTITENANT__TENANT_DISCRIMINATOR:
+ return tenantDiscriminator != null && !tenantDiscriminator.isEmpty();
+ case OrmPackage.MULTITENANT__TYPE:
+ return isSetType();
+ }
+ 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(" (type: ");
- if (typeESet) {
- result.append(type);
- } else {
- result.append("<unset>");
- }
- result.append(')');
- return result.toString();
- }
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (type: ");
+ if (typeESet) result.append(type); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
@Override
public String getJavaAnnotation(String identifier) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/OneToOneImpl.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/OneToOneImpl.java
index e0171fd2..734335c1 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/OneToOneImpl.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/OneToOneImpl.java
@@ -48,59 +48,48 @@ import org.eclipse.emf.texo.orm.annotator.ORMJavaAnnotationGenerator;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPrimaryKeyJoinColumn <em>Primary Key
- * Join Column</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getJoinColumn <em>Join Column</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getJoinTable <em>Join Table</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getCascade <em>Cascade</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#isCascadeOnDelete <em>Cascade On Delete
- * </em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPrivateOwned <em>Private Owned</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getJoinFetch <em>Join Fetch</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getBatchFetch <em>Batch Fetch</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getAccessMethods <em>Access Methods</em>}
- * </li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getNoncacheable <em>Noncacheable</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPartitioning <em>Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getReplicationPartitioning <em>
- * Replication Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getRoundRobinPartitioning <em>Round Robin
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPinnedPartitioning <em>Pinned
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getRangePartitioning <em>Range
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getValuePartitioning <em>Value
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getHashPartitioning <em>Hash Partitioning
- * </em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getUnionPartitioning <em>Union
- * Partitioning</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPartitioned <em>Partitioned</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getAccess <em>Access</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getFetch <em>Fetch</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#isId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getMappedBy <em>Mapped By</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getMapsId <em>Maps Id</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#isOptional <em>Optional</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#isOrphanRemoval <em>Orphan Removal</em>}</li>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getTargetEntity <em>Target Entity</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPrimaryKeyJoinColumn <em>Primary Key Join Column</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getJoinColumn <em>Join Column</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getJoinTable <em>Join Table</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getCascade <em>Cascade</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#isCascadeOnDelete <em>Cascade On Delete</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPrivateOwned <em>Private Owned</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getJoinFetch <em>Join Fetch</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getBatchFetch <em>Batch Fetch</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getAccessMethods <em>Access Methods</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getNoncacheable <em>Noncacheable</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPartitioning <em>Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getReplicationPartitioning <em>Replication Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPinnedPartitioning <em>Pinned Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getRangePartitioning <em>Range Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getValuePartitioning <em>Value Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getHashPartitioning <em>Hash Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getUnionPartitioning <em>Union Partitioning</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getPartitioned <em>Partitioned</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getAccess <em>Access</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getFetch <em>Fetch</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#isId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getMappedBy <em>Mapped By</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getMapsId <em>Maps Id</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#isOptional <em>Optional</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#isOrphanRemoval <em>Orphan Removal</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.OneToOneImpl#getTargetEntity <em>Target Entity</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
/**
- * The cached value of the '{@link #getPrimaryKeyJoinColumn() <em>Primary Key Join Column</em>}' containment reference
- * list. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getPrimaryKeyJoinColumn()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getPrimaryKeyJoinColumn() <em>Primary Key Join Column</em>}' containment reference list.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getPrimaryKeyJoinColumn()
+ * @generated
+ * @ordered
+ */
protected EList<PrimaryKeyJoinColumn> primaryKeyJoinColumn;
/**
@@ -114,51 +103,51 @@ public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
protected EList<JoinColumn> joinColumn;
/**
- * The cached value of the '{@link #getJoinTable() <em>Join Table</em>}' containment reference. <!-- begin-user-doc
+ * The cached value of the '{@link #getJoinTable() <em>Join Table</em>}' containment reference.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getJoinTable()
- * @generated
- * @ordered
- */
+ * @see #getJoinTable()
+ * @generated
+ * @ordered
+ */
protected JoinTable joinTable;
/**
- * The cached value of the '{@link #getCascade() <em>Cascade</em>}' containment reference. <!-- begin-user-doc -->
+ * The cached value of the '{@link #getCascade() <em>Cascade</em>}' containment reference.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getCascade()
- * @generated
- * @ordered
- */
+ * @see #getCascade()
+ * @generated
+ * @ordered
+ */
protected CascadeType cascade;
/**
- * The default value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute. <!-- begin-user-doc
+ * The default value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #isCascadeOnDelete()
- * @generated
- * @ordered
- */
+ * @see #isCascadeOnDelete()
+ * @generated
+ * @ordered
+ */
protected static final boolean CASCADE_ON_DELETE_EDEFAULT = false;
/**
- * The cached value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute. <!-- begin-user-doc
+ * The cached value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #isCascadeOnDelete()
- * @generated
- * @ordered
- */
+ * @see #isCascadeOnDelete()
+ * @generated
+ * @ordered
+ */
protected boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
/**
- * This is true if the Cascade On Delete attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Cascade On Delete attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean cascadeOnDeleteESet;
/**
@@ -172,51 +161,51 @@ public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
protected EmptyType privateOwned;
/**
- * The default value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getJoinFetch()
- * @generated
- * @ordered
- */
+ * @see #getJoinFetch()
+ * @generated
+ * @ordered
+ */
protected static final JoinFetchType JOIN_FETCH_EDEFAULT = JoinFetchType.INNER;
/**
- * The cached value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getJoinFetch()
- * @generated
- * @ordered
- */
+ * @see #getJoinFetch()
+ * @generated
+ * @ordered
+ */
protected JoinFetchType joinFetch = JOIN_FETCH_EDEFAULT;
/**
- * This is true if the Join Fetch attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Join Fetch attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean joinFetchESet;
/**
- * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference. <!-- begin-user-doc
+ * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getBatchFetch()
- * @generated
- * @ordered
- */
+ * @see #getBatchFetch()
+ * @generated
+ * @ordered
+ */
protected BatchFetch batchFetch;
/**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. <!-- begin-user-doc
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- *
- * @see #getProperty()
- * @generated
- * @ordered
- */
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
protected EList<Property> property;
/**
@@ -250,23 +239,21 @@ public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
protected Partitioning partitioning;
/**
- * The cached value of the '{@link #getReplicationPartitioning() <em>Replication Partitioning</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getReplicationPartitioning()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getReplicationPartitioning() <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getReplicationPartitioning()
+ * @generated
+ * @ordered
+ */
protected ReplicationPartitioning replicationPartitioning;
/**
- * The cached value of the '{@link #getRoundRobinPartitioning() <em>Round Robin Partitioning</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getRoundRobinPartitioning()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getRoundRobinPartitioning() <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ * @ordered
+ */
protected RoundRobinPartitioning roundRobinPartitioning;
/**
@@ -320,33 +307,33 @@ public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
protected UnionPartitioning unionPartitioning;
/**
- * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
+ * @see #getPartitioned()
+ * @generated
+ * @ordered
+ */
protected static final String PARTITIONED_EDEFAULT = null;
/**
- * The cached value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
+ * @see #getPartitioned()
+ * @generated
+ * @ordered
+ */
protected String partitioned = PARTITIONED_EDEFAULT;
/**
- * The default value of the '{@link #getAccess() <em>Access</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getAccess() <em>Access</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getAccess()
- * @generated
- * @ordered
- */
+ * @see #getAccess()
+ * @generated
+ * @ordered
+ */
protected static final AccessType ACCESS_EDEFAULT = AccessType.PROPERTY;
/**
@@ -360,11 +347,11 @@ public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
protected AccessType access = ACCESS_EDEFAULT;
/**
- * This is true if the Access attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Access attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean accessESet;
/**
@@ -388,77 +375,77 @@ public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
protected FetchType fetch = FETCH_EDEFAULT;
/**
- * This is true if the Fetch attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Fetch attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean fetchESet;
/**
- * The default value of the '{@link #isId() <em>Id</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isId()
- * @generated
- * @ordered
- */
+ * The default value of the '{@link #isId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #isId()
+ * @generated
+ * @ordered
+ */
protected static final boolean ID_EDEFAULT = false;
/**
- * The cached value of the '{@link #isId() <em>Id</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #isId()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #isId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #isId()
+ * @generated
+ * @ordered
+ */
protected boolean id = ID_EDEFAULT;
/**
- * This is true if the Id attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Id attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean idESet;
/**
- * The default value of the '{@link #getMappedBy() <em>Mapped By</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getMappedBy() <em>Mapped By</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getMappedBy()
- * @generated
- * @ordered
- */
+ * @see #getMappedBy()
+ * @generated
+ * @ordered
+ */
protected static final String MAPPED_BY_EDEFAULT = null;
/**
- * The cached value of the '{@link #getMappedBy() <em>Mapped By</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getMappedBy() <em>Mapped By</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getMappedBy()
- * @generated
- * @ordered
- */
+ * @see #getMappedBy()
+ * @generated
+ * @ordered
+ */
protected String mappedBy = MAPPED_BY_EDEFAULT;
/**
- * The default value of the '{@link #getMapsId() <em>Maps Id</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #getMapsId() <em>Maps Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getMapsId()
- * @generated
- * @ordered
- */
+ * @see #getMapsId()
+ * @generated
+ * @ordered
+ */
protected static final String MAPS_ID_EDEFAULT = null;
/**
- * The cached value of the '{@link #getMapsId() <em>Maps Id</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getMapsId() <em>Maps Id</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getMapsId()
- * @generated
- * @ordered
- */
+ * @see #getMapsId()
+ * @generated
+ * @ordered
+ */
protected String mapsId = MAPS_ID_EDEFAULT;
/**
@@ -472,1832 +459,1510 @@ public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
protected static final String NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
protected String name = NAME_EDEFAULT;
/**
- * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #isOptional()
- * @generated
- * @ordered
- */
+ * @see #isOptional()
+ * @generated
+ * @ordered
+ */
protected static final boolean OPTIONAL_EDEFAULT = false;
/**
- * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #isOptional()
- * @generated
- * @ordered
- */
+ * @see #isOptional()
+ * @generated
+ * @ordered
+ */
protected boolean optional = OPTIONAL_EDEFAULT;
/**
- * This is true if the Optional attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Optional attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean optionalESet;
/**
- * The default value of the '{@link #isOrphanRemoval() <em>Orphan Removal</em>}' attribute. <!-- begin-user-doc -->
+ * The default value of the '{@link #isOrphanRemoval() <em>Orphan Removal</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #isOrphanRemoval()
- * @generated
- * @ordered
- */
+ * @see #isOrphanRemoval()
+ * @generated
+ * @ordered
+ */
protected static final boolean ORPHAN_REMOVAL_EDEFAULT = false;
/**
- * The cached value of the '{@link #isOrphanRemoval() <em>Orphan Removal</em>}' attribute. <!-- begin-user-doc -->
+ * The cached value of the '{@link #isOrphanRemoval() <em>Orphan Removal</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #isOrphanRemoval()
- * @generated
- * @ordered
- */
+ * @see #isOrphanRemoval()
+ * @generated
+ * @ordered
+ */
protected boolean orphanRemoval = ORPHAN_REMOVAL_EDEFAULT;
/**
- * This is true if the Orphan Removal attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
+ * This is true if the Orphan Removal attribute has been set.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
protected boolean orphanRemovalESet;
/**
- * The default value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute. <!-- begin-user-doc -->
+ * The default value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @see #getTargetEntity()
- * @generated
- * @ordered
- */
+ * @see #getTargetEntity()
+ * @generated
+ * @ordered
+ */
protected static final String TARGET_ENTITY_EDEFAULT = null;
/**
- * The cached value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute. <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getTargetEntity() <em>Target Entity</em>}' attribute.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- *
- * @see #getTargetEntity()
- * @generated
- * @ordered
- */
+ * @see #getTargetEntity()
+ * @generated
+ * @ordered
+ */
protected String targetEntity = TARGET_ENTITY_EDEFAULT;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected OneToOneImpl() {
- super();
- }
+ super();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EClass eStaticClass() {
- return OrmPackage.eINSTANCE.getOneToOne();
- }
+ return OrmPackage.eINSTANCE.getOneToOne();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn() {
- if (primaryKeyJoinColumn == null) {
- primaryKeyJoinColumn = new EObjectContainmentEList<PrimaryKeyJoinColumn>(PrimaryKeyJoinColumn.class, this,
- OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN);
- }
- return primaryKeyJoinColumn;
- }
+ if (primaryKeyJoinColumn == null) {
+ primaryKeyJoinColumn = new EObjectContainmentEList<PrimaryKeyJoinColumn>(PrimaryKeyJoinColumn.class, this, OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN);
+ }
+ return primaryKeyJoinColumn;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<JoinColumn> getJoinColumn() {
- if (joinColumn == null) {
- joinColumn = new EObjectContainmentEList<JoinColumn>(JoinColumn.class, this, OrmPackage.ONE_TO_ONE__JOIN_COLUMN);
- }
- return joinColumn;
- }
+ if (joinColumn == null) {
+ joinColumn = new EObjectContainmentEList<JoinColumn>(JoinColumn.class, this, OrmPackage.ONE_TO_ONE__JOIN_COLUMN);
+ }
+ return joinColumn;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public JoinTable getJoinTable() {
- return joinTable;
- }
+ return joinTable;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetJoinTable(JoinTable newJoinTable, NotificationChain msgs) {
- JoinTable oldJoinTable = joinTable;
- joinTable = newJoinTable;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__JOIN_TABLE,
- oldJoinTable, newJoinTable);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ JoinTable oldJoinTable = joinTable;
+ joinTable = newJoinTable;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__JOIN_TABLE, oldJoinTable, newJoinTable);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setJoinTable(JoinTable newJoinTable) {
- if (newJoinTable != joinTable) {
- NotificationChain msgs = null;
- if (joinTable != null) {
- msgs = ((InternalEObject) joinTable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__JOIN_TABLE, null, msgs);
- }
- if (newJoinTable != null) {
- msgs = ((InternalEObject) newJoinTable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__JOIN_TABLE, null, msgs);
- }
- msgs = basicSetJoinTable(newJoinTable, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__JOIN_TABLE, newJoinTable,
- newJoinTable));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newJoinTable != joinTable) {
+ NotificationChain msgs = null;
+ if (joinTable != null)
+ msgs = ((InternalEObject)joinTable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__JOIN_TABLE, null, msgs);
+ if (newJoinTable != null)
+ msgs = ((InternalEObject)newJoinTable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__JOIN_TABLE, null, msgs);
+ msgs = basicSetJoinTable(newJoinTable, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__JOIN_TABLE, newJoinTable, newJoinTable));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public CascadeType getCascade() {
- return cascade;
- }
+ return cascade;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetCascade(CascadeType newCascade, NotificationChain msgs) {
- CascadeType oldCascade = cascade;
- cascade = newCascade;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__CASCADE,
- oldCascade, newCascade);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ CascadeType oldCascade = cascade;
+ cascade = newCascade;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__CASCADE, oldCascade, newCascade);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setCascade(CascadeType newCascade) {
- if (newCascade != cascade) {
- NotificationChain msgs = null;
- if (cascade != null) {
- msgs = ((InternalEObject) cascade).eInverseRemove(this,
- EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__CASCADE, null, msgs);
- }
- if (newCascade != null) {
- msgs = ((InternalEObject) newCascade).eInverseAdd(this,
- EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__CASCADE, null, msgs);
- }
- msgs = basicSetCascade(newCascade, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__CASCADE, newCascade, newCascade));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newCascade != cascade) {
+ NotificationChain msgs = null;
+ if (cascade != null)
+ msgs = ((InternalEObject)cascade).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__CASCADE, null, msgs);
+ if (newCascade != null)
+ msgs = ((InternalEObject)newCascade).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__CASCADE, null, msgs);
+ msgs = basicSetCascade(newCascade, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__CASCADE, newCascade, newCascade));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isCascadeOnDelete() {
- return cascadeOnDelete;
- }
+ return cascadeOnDelete;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setCascadeOnDelete(boolean newCascadeOnDelete) {
- boolean oldCascadeOnDelete = cascadeOnDelete;
- cascadeOnDelete = newCascadeOnDelete;
- boolean oldCascadeOnDeleteESet = cascadeOnDeleteESet;
- cascadeOnDeleteESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE,
- oldCascadeOnDelete, cascadeOnDelete, !oldCascadeOnDeleteESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldCascadeOnDelete = cascadeOnDelete;
+ cascadeOnDelete = newCascadeOnDelete;
+ boolean oldCascadeOnDeleteESet = cascadeOnDeleteESet;
+ cascadeOnDeleteESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete, !oldCascadeOnDeleteESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetCascadeOnDelete() {
- boolean oldCascadeOnDelete = cascadeOnDelete;
- boolean oldCascadeOnDeleteESet = cascadeOnDeleteESet;
- cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
- cascadeOnDeleteESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE,
- oldCascadeOnDelete, CASCADE_ON_DELETE_EDEFAULT, oldCascadeOnDeleteESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldCascadeOnDelete = cascadeOnDelete;
+ boolean oldCascadeOnDeleteESet = cascadeOnDeleteESet;
+ cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
+ cascadeOnDeleteESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE, oldCascadeOnDelete, CASCADE_ON_DELETE_EDEFAULT, oldCascadeOnDeleteESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetCascadeOnDelete() {
- return cascadeOnDeleteESet;
- }
+ return cascadeOnDeleteESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EmptyType getPrivateOwned() {
- return privateOwned;
- }
+ return privateOwned;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetPrivateOwned(EmptyType newPrivateOwned, NotificationChain msgs) {
- EmptyType oldPrivateOwned = privateOwned;
- privateOwned = newPrivateOwned;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__PRIVATE_OWNED, oldPrivateOwned, newPrivateOwned);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ EmptyType oldPrivateOwned = privateOwned;
+ privateOwned = newPrivateOwned;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PRIVATE_OWNED, oldPrivateOwned, newPrivateOwned);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPrivateOwned(EmptyType newPrivateOwned) {
- if (newPrivateOwned != privateOwned) {
- NotificationChain msgs = null;
- if (privateOwned != null) {
- msgs = ((InternalEObject) privateOwned).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__PRIVATE_OWNED, null, msgs);
- }
- if (newPrivateOwned != null) {
- msgs = ((InternalEObject) newPrivateOwned).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__PRIVATE_OWNED, null, msgs);
- }
- msgs = basicSetPrivateOwned(newPrivateOwned, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PRIVATE_OWNED, newPrivateOwned,
- newPrivateOwned));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newPrivateOwned != privateOwned) {
+ NotificationChain msgs = null;
+ if (privateOwned != null)
+ msgs = ((InternalEObject)privateOwned).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__PRIVATE_OWNED, null, msgs);
+ if (newPrivateOwned != null)
+ msgs = ((InternalEObject)newPrivateOwned).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__PRIVATE_OWNED, null, msgs);
+ msgs = basicSetPrivateOwned(newPrivateOwned, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PRIVATE_OWNED, newPrivateOwned, newPrivateOwned));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public JoinFetchType getJoinFetch() {
- return joinFetch;
- }
+ return joinFetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setJoinFetch(JoinFetchType newJoinFetch) {
- JoinFetchType oldJoinFetch = joinFetch;
- joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch;
- boolean oldJoinFetchESet = joinFetchESet;
- joinFetchESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__JOIN_FETCH, oldJoinFetch, joinFetch,
- !oldJoinFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ JoinFetchType oldJoinFetch = joinFetch;
+ joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch;
+ boolean oldJoinFetchESet = joinFetchESet;
+ joinFetchESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__JOIN_FETCH, oldJoinFetch, joinFetch, !oldJoinFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetJoinFetch() {
- JoinFetchType oldJoinFetch = joinFetch;
- boolean oldJoinFetchESet = joinFetchESet;
- joinFetch = JOIN_FETCH_EDEFAULT;
- joinFetchESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__JOIN_FETCH, oldJoinFetch,
- JOIN_FETCH_EDEFAULT, oldJoinFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ JoinFetchType oldJoinFetch = joinFetch;
+ boolean oldJoinFetchESet = joinFetchESet;
+ joinFetch = JOIN_FETCH_EDEFAULT;
+ joinFetchESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__JOIN_FETCH, oldJoinFetch, JOIN_FETCH_EDEFAULT, oldJoinFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetJoinFetch() {
- return joinFetchESet;
- }
+ return joinFetchESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public BatchFetch getBatchFetch() {
- return batchFetch;
- }
+ return batchFetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetBatchFetch(BatchFetch newBatchFetch, NotificationChain msgs) {
- BatchFetch oldBatchFetch = batchFetch;
- batchFetch = newBatchFetch;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__BATCH_FETCH, oldBatchFetch, newBatchFetch);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ BatchFetch oldBatchFetch = batchFetch;
+ batchFetch = newBatchFetch;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__BATCH_FETCH, oldBatchFetch, newBatchFetch);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setBatchFetch(BatchFetch newBatchFetch) {
- if (newBatchFetch != batchFetch) {
- NotificationChain msgs = null;
- if (batchFetch != null) {
- msgs = ((InternalEObject) batchFetch).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__BATCH_FETCH, null, msgs);
- }
- if (newBatchFetch != null) {
- msgs = ((InternalEObject) newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__BATCH_FETCH, null, msgs);
- }
- msgs = basicSetBatchFetch(newBatchFetch, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__BATCH_FETCH, newBatchFetch,
- newBatchFetch));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newBatchFetch != batchFetch) {
+ NotificationChain msgs = null;
+ if (batchFetch != null)
+ msgs = ((InternalEObject)batchFetch).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__BATCH_FETCH, null, msgs);
+ if (newBatchFetch != null)
+ msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__BATCH_FETCH, null, msgs);
+ msgs = basicSetBatchFetch(newBatchFetch, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__BATCH_FETCH, newBatchFetch, newBatchFetch));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EList<Property> getProperty() {
- if (property == null) {
- property = new EObjectContainmentEList<Property>(Property.class, this, OrmPackage.ONE_TO_ONE__PROPERTY);
- }
- return property;
- }
+ if (property == null) {
+ property = new EObjectContainmentEList<Property>(Property.class, this, OrmPackage.ONE_TO_ONE__PROPERTY);
+ }
+ return property;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public AccessMethods getAccessMethods() {
- return accessMethods;
- }
+ return accessMethods;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetAccessMethods(AccessMethods newAccessMethods, NotificationChain msgs) {
- AccessMethods oldAccessMethods = accessMethods;
- accessMethods = newAccessMethods;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__ACCESS_METHODS, oldAccessMethods, newAccessMethods);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessMethods oldAccessMethods = accessMethods;
+ accessMethods = newAccessMethods;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ACCESS_METHODS, oldAccessMethods, newAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAccessMethods(AccessMethods newAccessMethods) {
- if (newAccessMethods != accessMethods) {
- NotificationChain msgs = null;
- if (accessMethods != null) {
- msgs = ((InternalEObject) accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__ACCESS_METHODS, null, msgs);
- }
- if (newAccessMethods != null) {
- msgs = ((InternalEObject) newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__ACCESS_METHODS, null, msgs);
- }
- msgs = basicSetAccessMethods(newAccessMethods, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ACCESS_METHODS, newAccessMethods,
- newAccessMethods));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newAccessMethods != accessMethods) {
+ NotificationChain msgs = null;
+ if (accessMethods != null)
+ msgs = ((InternalEObject)accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__ACCESS_METHODS, null, msgs);
+ if (newAccessMethods != null)
+ msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__ACCESS_METHODS, null, msgs);
+ msgs = basicSetAccessMethods(newAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ACCESS_METHODS, newAccessMethods, newAccessMethods));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public EmptyType getNoncacheable() {
- return noncacheable;
- }
+ return noncacheable;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetNoncacheable(EmptyType newNoncacheable, NotificationChain msgs) {
- EmptyType oldNoncacheable = noncacheable;
- noncacheable = newNoncacheable;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__NONCACHEABLE, oldNoncacheable, newNoncacheable);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ EmptyType oldNoncacheable = noncacheable;
+ noncacheable = newNoncacheable;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__NONCACHEABLE, oldNoncacheable, newNoncacheable);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setNoncacheable(EmptyType newNoncacheable) {
- if (newNoncacheable != noncacheable) {
- NotificationChain msgs = null;
- if (noncacheable != null) {
- msgs = ((InternalEObject) noncacheable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__NONCACHEABLE, null, msgs);
- }
- if (newNoncacheable != null) {
- msgs = ((InternalEObject) newNoncacheable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__NONCACHEABLE, null, msgs);
- }
- msgs = basicSetNoncacheable(newNoncacheable, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__NONCACHEABLE, newNoncacheable,
- newNoncacheable));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newNoncacheable != noncacheable) {
+ NotificationChain msgs = null;
+ if (noncacheable != null)
+ msgs = ((InternalEObject)noncacheable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__NONCACHEABLE, null, msgs);
+ if (newNoncacheable != null)
+ msgs = ((InternalEObject)newNoncacheable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__NONCACHEABLE, null, msgs);
+ msgs = basicSetNoncacheable(newNoncacheable, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__NONCACHEABLE, newNoncacheable, newNoncacheable));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public Partitioning getPartitioning() {
- return partitioning;
- }
+ return partitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetPartitioning(Partitioning newPartitioning, NotificationChain msgs) {
- Partitioning oldPartitioning = partitioning;
- partitioning = newPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ Partitioning oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPartitioning(Partitioning newPartitioning) {
- if (newPartitioning != partitioning) {
- NotificationChain msgs = null;
- if (partitioning != null) {
- msgs = ((InternalEObject) partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__PARTITIONING, null, msgs);
- }
- if (newPartitioning != null) {
- msgs = ((InternalEObject) newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__PARTITIONING, null, msgs);
- }
- msgs = basicSetPartitioning(newPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PARTITIONING, newPartitioning,
- newPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newPartitioning != partitioning) {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ReplicationPartitioning getReplicationPartitioning() {
- return replicationPartitioning;
- }
+ return replicationPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetReplicationPartitioning(ReplicationPartitioning newReplicationPartitioning,
NotificationChain msgs) {
- ReplicationPartitioning oldReplicationPartitioning = replicationPartitioning;
- replicationPartitioning = newReplicationPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ ReplicationPartitioning oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setReplicationPartitioning(ReplicationPartitioning newReplicationPartitioning) {
- if (newReplicationPartitioning != replicationPartitioning) {
- NotificationChain msgs = null;
- if (replicationPartitioning != null) {
- msgs = ((InternalEObject) replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
- }
- if (newReplicationPartitioning != null) {
- msgs = ((InternalEObject) newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
- }
- msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING,
- newReplicationPartitioning, newReplicationPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newReplicationPartitioning != replicationPartitioning) {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
+ msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public RoundRobinPartitioning getRoundRobinPartitioning() {
- return roundRobinPartitioning;
- }
+ return roundRobinPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetRoundRobinPartitioning(RoundRobinPartitioning newRoundRobinPartitioning,
NotificationChain msgs) {
- RoundRobinPartitioning oldRoundRobinPartitioning = roundRobinPartitioning;
- roundRobinPartitioning = newRoundRobinPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ RoundRobinPartitioning oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setRoundRobinPartitioning(RoundRobinPartitioning newRoundRobinPartitioning) {
- if (newRoundRobinPartitioning != roundRobinPartitioning) {
- NotificationChain msgs = null;
- if (roundRobinPartitioning != null) {
- msgs = ((InternalEObject) roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
- }
- if (newRoundRobinPartitioning != null) {
- msgs = ((InternalEObject) newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
- }
- msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING,
- newRoundRobinPartitioning, newRoundRobinPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newRoundRobinPartitioning != roundRobinPartitioning) {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
+ msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public PinnedPartitioning getPinnedPartitioning() {
- return pinnedPartitioning;
- }
+ return pinnedPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetPinnedPartitioning(PinnedPartitioning newPinnedPartitioning, NotificationChain msgs) {
- PinnedPartitioning oldPinnedPartitioning = pinnedPartitioning;
- pinnedPartitioning = newPinnedPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ PinnedPartitioning oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPinnedPartitioning(PinnedPartitioning newPinnedPartitioning) {
- if (newPinnedPartitioning != pinnedPartitioning) {
- NotificationChain msgs = null;
- if (pinnedPartitioning != null) {
- msgs = ((InternalEObject) pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING, null, msgs);
- }
- if (newPinnedPartitioning != null) {
- msgs = ((InternalEObject) newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING, null, msgs);
- }
- msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING,
- newPinnedPartitioning, newPinnedPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newPinnedPartitioning != pinnedPartitioning) {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING, null, msgs);
+ msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public RangePartitioning getRangePartitioning() {
- return rangePartitioning;
- }
+ return rangePartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetRangePartitioning(RangePartitioning newRangePartitioning, NotificationChain msgs) {
- RangePartitioning oldRangePartitioning = rangePartitioning;
- rangePartitioning = newRangePartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ RangePartitioning oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setRangePartitioning(RangePartitioning newRangePartitioning) {
- if (newRangePartitioning != rangePartitioning) {
- NotificationChain msgs = null;
- if (rangePartitioning != null) {
- msgs = ((InternalEObject) rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING, null, msgs);
- }
- if (newRangePartitioning != null) {
- msgs = ((InternalEObject) newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING, null, msgs);
- }
- msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING,
- newRangePartitioning, newRangePartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newRangePartitioning != rangePartitioning) {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING, null, msgs);
+ msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public ValuePartitioning getValuePartitioning() {
- return valuePartitioning;
- }
+ return valuePartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetValuePartitioning(ValuePartitioning newValuePartitioning, NotificationChain msgs) {
- ValuePartitioning oldValuePartitioning = valuePartitioning;
- valuePartitioning = newValuePartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ ValuePartitioning oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setValuePartitioning(ValuePartitioning newValuePartitioning) {
- if (newValuePartitioning != valuePartitioning) {
- NotificationChain msgs = null;
- if (valuePartitioning != null) {
- msgs = ((InternalEObject) valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING, null, msgs);
- }
- if (newValuePartitioning != null) {
- msgs = ((InternalEObject) newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING, null, msgs);
- }
- msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING,
- newValuePartitioning, newValuePartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newValuePartitioning != valuePartitioning) {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING, null, msgs);
+ msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public HashPartitioning getHashPartitioning() {
- return hashPartitioning;
- }
+ return hashPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetHashPartitioning(HashPartitioning newHashPartitioning, NotificationChain msgs) {
- HashPartitioning oldHashPartitioning = hashPartitioning;
- hashPartitioning = newHashPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ HashPartitioning oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setHashPartitioning(HashPartitioning newHashPartitioning) {
- if (newHashPartitioning != hashPartitioning) {
- NotificationChain msgs = null;
- if (hashPartitioning != null) {
- msgs = ((InternalEObject) hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__HASH_PARTITIONING, null, msgs);
- }
- if (newHashPartitioning != null) {
- msgs = ((InternalEObject) newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__HASH_PARTITIONING, null, msgs);
- }
- msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__HASH_PARTITIONING,
- newHashPartitioning, newHashPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newHashPartitioning != hashPartitioning) {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__HASH_PARTITIONING, null, msgs);
+ msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public UnionPartitioning getUnionPartitioning() {
- return unionPartitioning;
- }
+ return unionPartitioning;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public NotificationChain basicSetUnionPartitioning(UnionPartitioning newUnionPartitioning, NotificationChain msgs) {
- UnionPartitioning oldUnionPartitioning = unionPartitioning;
- unionPartitioning = newUnionPartitioning;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
- OrmPackage.ONE_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ UnionPartitioning oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setUnionPartitioning(UnionPartitioning newUnionPartitioning) {
- if (newUnionPartitioning != unionPartitioning) {
- NotificationChain msgs = null;
- if (unionPartitioning != null) {
- msgs = ((InternalEObject) unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__UNION_PARTITIONING, null, msgs);
- }
- if (newUnionPartitioning != null) {
- msgs = ((InternalEObject) newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- - OrmPackage.ONE_TO_ONE__UNION_PARTITIONING, null, msgs);
- }
- msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__UNION_PARTITIONING,
- newUnionPartitioning, newUnionPartitioning));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ if (newUnionPartitioning != unionPartitioning) {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmPackage.ONE_TO_ONE__UNION_PARTITIONING, null, msgs);
+ msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getPartitioned() {
- return partitioned;
- }
+ return partitioned;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setPartitioned(String newPartitioned) {
- String oldPartitioned = partitioned;
- partitioned = newPartitioned;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PARTITIONED, oldPartitioned,
- partitioned));
- }
- }
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__PARTITIONED, oldPartitioned, partitioned));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public AccessType getAccess() {
- return access;
- }
+ return access;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setAccess(AccessType newAccess) {
- AccessType oldAccess = access;
- access = newAccess == null ? ACCESS_EDEFAULT : newAccess;
- boolean oldAccessESet = accessESet;
- accessESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ACCESS, oldAccess, access,
- !oldAccessESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessType oldAccess = access;
+ access = newAccess == null ? ACCESS_EDEFAULT : newAccess;
+ boolean oldAccessESet = accessESet;
+ accessESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ACCESS, oldAccess, access, !oldAccessESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetAccess() {
- AccessType oldAccess = access;
- boolean oldAccessESet = accessESet;
- access = ACCESS_EDEFAULT;
- accessESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__ACCESS, oldAccess,
- ACCESS_EDEFAULT, oldAccessESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ AccessType oldAccess = access;
+ boolean oldAccessESet = accessESet;
+ access = ACCESS_EDEFAULT;
+ accessESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__ACCESS, oldAccess, ACCESS_EDEFAULT, oldAccessESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetAccess() {
- return accessESet;
- }
+ return accessESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public FetchType getFetch() {
- return fetch;
- }
+ return fetch;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setFetch(FetchType newFetch) {
- FetchType oldFetch = fetch;
- fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
- boolean oldFetchESet = fetchESet;
- fetchESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__FETCH, oldFetch, fetch,
- !oldFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ FetchType oldFetch = fetch;
+ fetch = newFetch == null ? FETCH_EDEFAULT : newFetch;
+ boolean oldFetchESet = fetchESet;
+ fetchESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__FETCH, oldFetch, fetch, !oldFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetFetch() {
- FetchType oldFetch = fetch;
- boolean oldFetchESet = fetchESet;
- fetch = FETCH_EDEFAULT;
- fetchESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__FETCH, oldFetch, FETCH_EDEFAULT,
- oldFetchESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ FetchType oldFetch = fetch;
+ boolean oldFetchESet = fetchESet;
+ fetch = FETCH_EDEFAULT;
+ fetchESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__FETCH, oldFetch, FETCH_EDEFAULT, oldFetchESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetFetch() {
- return fetchESet;
- }
+ return fetchESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isId() {
- return id;
- }
+ return id;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setId(boolean newId) {
- boolean oldId = id;
- id = newId;
- boolean oldIdESet = idESet;
- idESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ID, oldId, id, !oldIdESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldId = id;
+ id = newId;
+ boolean oldIdESet = idESet;
+ idESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ID, oldId, id, !oldIdESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetId() {
- boolean oldId = id;
- boolean oldIdESet = idESet;
- id = ID_EDEFAULT;
- idESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__ID, oldId, ID_EDEFAULT, oldIdESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldId = id;
+ boolean oldIdESet = idESet;
+ id = ID_EDEFAULT;
+ idESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__ID, oldId, ID_EDEFAULT, oldIdESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetId() {
- return idESet;
- }
+ return idESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getMappedBy() {
- return mappedBy;
- }
+ return mappedBy;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMappedBy(String newMappedBy) {
- String oldMappedBy = mappedBy;
- mappedBy = newMappedBy;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__MAPPED_BY, oldMappedBy, mappedBy));
- }
- }
+ String oldMappedBy = mappedBy;
+ mappedBy = newMappedBy;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__MAPPED_BY, oldMappedBy, mappedBy));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getMapsId() {
- return mapsId;
- }
+ return mapsId;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setMapsId(String newMapsId) {
- String oldMapsId = mapsId;
- mapsId = newMapsId;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__MAPS_ID, oldMapsId, mapsId));
- }
- }
+ String oldMapsId = mapsId;
+ mapsId = newMapsId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__MAPS_ID, oldMapsId, mapsId));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getName() {
- return name;
- }
+ return name;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__NAME, oldName, name));
- }
- }
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__NAME, oldName, name));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isOptional() {
- return optional;
- }
+ return optional;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setOptional(boolean newOptional) {
- boolean oldOptional = optional;
- optional = newOptional;
- boolean oldOptionalESet = optionalESet;
- optionalESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__OPTIONAL, oldOptional, optional,
- !oldOptionalESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldOptional = optional;
+ optional = newOptional;
+ boolean oldOptionalESet = optionalESet;
+ optionalESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__OPTIONAL, oldOptional, optional, !oldOptionalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetOptional() {
- boolean oldOptional = optional;
- boolean oldOptionalESet = optionalESet;
- optional = OPTIONAL_EDEFAULT;
- optionalESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__OPTIONAL, oldOptional,
- OPTIONAL_EDEFAULT, oldOptionalESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldOptional = optional;
+ boolean oldOptionalESet = optionalESet;
+ optional = OPTIONAL_EDEFAULT;
+ optionalESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__OPTIONAL, oldOptional, OPTIONAL_EDEFAULT, oldOptionalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetOptional() {
- return optionalESet;
- }
+ return optionalESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isOrphanRemoval() {
- return orphanRemoval;
- }
+ return orphanRemoval;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setOrphanRemoval(boolean newOrphanRemoval) {
- boolean oldOrphanRemoval = orphanRemoval;
- orphanRemoval = newOrphanRemoval;
- boolean oldOrphanRemovalESet = orphanRemovalESet;
- orphanRemovalESet = true;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL, oldOrphanRemoval,
- orphanRemoval, !oldOrphanRemovalESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldOrphanRemoval = orphanRemoval;
+ orphanRemoval = newOrphanRemoval;
+ boolean oldOrphanRemovalESet = orphanRemovalESet;
+ orphanRemovalESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL, oldOrphanRemoval, orphanRemoval, !oldOrphanRemovalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void unsetOrphanRemoval() {
- boolean oldOrphanRemoval = orphanRemoval;
- boolean oldOrphanRemovalESet = orphanRemovalESet;
- orphanRemoval = ORPHAN_REMOVAL_EDEFAULT;
- orphanRemovalESet = false;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL, oldOrphanRemoval,
- ORPHAN_REMOVAL_EDEFAULT, oldOrphanRemovalESet));
- }
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ boolean oldOrphanRemoval = orphanRemoval;
+ boolean oldOrphanRemovalESet = orphanRemovalESet;
+ orphanRemoval = ORPHAN_REMOVAL_EDEFAULT;
+ orphanRemovalESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL, oldOrphanRemoval, ORPHAN_REMOVAL_EDEFAULT, oldOrphanRemovalESet));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public boolean isSetOrphanRemoval() {
- return orphanRemovalESet;
- }
+ return orphanRemovalESet;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getTargetEntity() {
- return targetEntity;
- }
+ return targetEntity;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setTargetEntity(String newTargetEntity) {
- String oldTargetEntity = targetEntity;
- targetEntity = newTargetEntity;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__TARGET_ENTITY, oldTargetEntity,
- targetEntity));
- }
- }
+ String oldTargetEntity = targetEntity;
+ targetEntity = newTargetEntity;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.ONE_TO_ONE__TARGET_ENTITY, oldTargetEntity, targetEntity));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- return ((InternalEList<?>) getPrimaryKeyJoinColumn()).basicRemove(otherEnd, msgs);
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- return ((InternalEList<?>) getJoinColumn()).basicRemove(otherEnd, msgs);
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- return basicSetJoinTable(null, msgs);
- case OrmPackage.ONE_TO_ONE__CASCADE:
- return basicSetCascade(null, msgs);
- case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
- return basicSetPrivateOwned(null, msgs);
- case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
- return basicSetBatchFetch(null, msgs);
- case OrmPackage.ONE_TO_ONE__PROPERTY:
- return ((InternalEList<?>) getProperty()).basicRemove(otherEnd, msgs);
- case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
- return basicSetAccessMethods(null, msgs);
- case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
- return basicSetNoncacheable(null, msgs);
- case OrmPackage.ONE_TO_ONE__PARTITIONING:
- return basicSetPartitioning(null, msgs);
- case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
- return basicSetReplicationPartitioning(null, msgs);
- case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
- return basicSetRoundRobinPartitioning(null, msgs);
- case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
- return basicSetPinnedPartitioning(null, msgs);
- case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
- return basicSetRangePartitioning(null, msgs);
- case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
- return basicSetValuePartitioning(null, msgs);
- case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
- return basicSetHashPartitioning(null, msgs);
- case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
- return basicSetUnionPartitioning(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
+ return ((InternalEList<?>)getPrimaryKeyJoinColumn()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
+ return ((InternalEList<?>)getJoinColumn()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
+ return basicSetJoinTable(null, msgs);
+ case OrmPackage.ONE_TO_ONE__CASCADE:
+ return basicSetCascade(null, msgs);
+ case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
+ return basicSetPrivateOwned(null, msgs);
+ case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
+ return basicSetBatchFetch(null, msgs);
+ case OrmPackage.ONE_TO_ONE__PROPERTY:
+ return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs);
+ case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
+ return basicSetAccessMethods(null, msgs);
+ case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
+ return basicSetNoncacheable(null, msgs);
+ case OrmPackage.ONE_TO_ONE__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- return getPrimaryKeyJoinColumn();
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- return getJoinColumn();
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- return getJoinTable();
- case OrmPackage.ONE_TO_ONE__CASCADE:
- return getCascade();
- case OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE:
- return isCascadeOnDelete();
- case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
- return getPrivateOwned();
- case OrmPackage.ONE_TO_ONE__JOIN_FETCH:
- return getJoinFetch();
- case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
- return getBatchFetch();
- case OrmPackage.ONE_TO_ONE__PROPERTY:
- return getProperty();
- case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
- return getAccessMethods();
- case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
- return getNoncacheable();
- case OrmPackage.ONE_TO_ONE__PARTITIONING:
- return getPartitioning();
- case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
- return getReplicationPartitioning();
- case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
- return getRoundRobinPartitioning();
- case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
- return getPinnedPartitioning();
- case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
- return getRangePartitioning();
- case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
- return getValuePartitioning();
- case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
- return getHashPartitioning();
- case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
- return getUnionPartitioning();
- case OrmPackage.ONE_TO_ONE__PARTITIONED:
- return getPartitioned();
- case OrmPackage.ONE_TO_ONE__ACCESS:
- return getAccess();
- case OrmPackage.ONE_TO_ONE__FETCH:
- return getFetch();
- case OrmPackage.ONE_TO_ONE__ID:
- return isId();
- case OrmPackage.ONE_TO_ONE__MAPPED_BY:
- return getMappedBy();
- case OrmPackage.ONE_TO_ONE__MAPS_ID:
- return getMapsId();
- case OrmPackage.ONE_TO_ONE__NAME:
- return getName();
- case OrmPackage.ONE_TO_ONE__OPTIONAL:
- return isOptional();
- case OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL:
- return isOrphanRemoval();
- case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
- return getTargetEntity();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
+ return getPrimaryKeyJoinColumn();
+ case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
+ return getJoinColumn();
+ case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
+ return getJoinTable();
+ case OrmPackage.ONE_TO_ONE__CASCADE:
+ return getCascade();
+ case OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE:
+ return isCascadeOnDelete();
+ case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
+ return getPrivateOwned();
+ case OrmPackage.ONE_TO_ONE__JOIN_FETCH:
+ return getJoinFetch();
+ case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
+ return getBatchFetch();
+ case OrmPackage.ONE_TO_ONE__PROPERTY:
+ return getProperty();
+ case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
+ return getAccessMethods();
+ case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
+ return getNoncacheable();
+ case OrmPackage.ONE_TO_ONE__PARTITIONING:
+ return getPartitioning();
+ case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case OrmPackage.ONE_TO_ONE__PARTITIONED:
+ return getPartitioned();
+ case OrmPackage.ONE_TO_ONE__ACCESS:
+ return getAccess();
+ case OrmPackage.ONE_TO_ONE__FETCH:
+ return getFetch();
+ case OrmPackage.ONE_TO_ONE__ID:
+ return isId();
+ case OrmPackage.ONE_TO_ONE__MAPPED_BY:
+ return getMappedBy();
+ case OrmPackage.ONE_TO_ONE__MAPS_ID:
+ return getMapsId();
+ case OrmPackage.ONE_TO_ONE__NAME:
+ return getName();
+ case OrmPackage.ONE_TO_ONE__OPTIONAL:
+ return isOptional();
+ case OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL:
+ return isOrphanRemoval();
+ case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
+ return getTargetEntity();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- getPrimaryKeyJoinColumn().clear();
- getPrimaryKeyJoinColumn().addAll((Collection<? extends PrimaryKeyJoinColumn>) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- getJoinColumn().clear();
- getJoinColumn().addAll((Collection<? extends JoinColumn>) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- setJoinTable((JoinTable) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__CASCADE:
- setCascade((CascadeType) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE:
- setCascadeOnDelete((Boolean) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
- setPrivateOwned((EmptyType) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_FETCH:
- setJoinFetch((JoinFetchType) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
- setBatchFetch((BatchFetch) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__PROPERTY:
- getProperty().clear();
- getProperty().addAll((Collection<? extends Property>) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
- setAccessMethods((AccessMethods) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
- setNoncacheable((EmptyType) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__PARTITIONING:
- setPartitioning((Partitioning) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
- setReplicationPartitioning((ReplicationPartitioning) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
- setRoundRobinPartitioning((RoundRobinPartitioning) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
- setPinnedPartitioning((PinnedPartitioning) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
- setRangePartitioning((RangePartitioning) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
- setValuePartitioning((ValuePartitioning) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
- setHashPartitioning((HashPartitioning) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
- setUnionPartitioning((UnionPartitioning) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__PARTITIONED:
- setPartitioned((String) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__ACCESS:
- setAccess((AccessType) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__FETCH:
- setFetch((FetchType) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__ID:
- setId((Boolean) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__MAPPED_BY:
- setMappedBy((String) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__MAPS_ID:
- setMapsId((String) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__NAME:
- setName((String) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__OPTIONAL:
- setOptional((Boolean) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL:
- setOrphanRemoval((Boolean) newValue);
- return;
- case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
- setTargetEntity((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
+ getPrimaryKeyJoinColumn().clear();
+ getPrimaryKeyJoinColumn().addAll((Collection<? extends PrimaryKeyJoinColumn>)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
+ getJoinColumn().clear();
+ getJoinColumn().addAll((Collection<? extends JoinColumn>)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
+ setJoinTable((JoinTable)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__CASCADE:
+ setCascade((CascadeType)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE:
+ setCascadeOnDelete((Boolean)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
+ setPrivateOwned((EmptyType)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__JOIN_FETCH:
+ setJoinFetch((JoinFetchType)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
+ setBatchFetch((BatchFetch)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__PROPERTY:
+ getProperty().clear();
+ getProperty().addAll((Collection<? extends Property>)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
+ setAccessMethods((AccessMethods)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
+ setNoncacheable((EmptyType)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__PARTITIONING:
+ setPartitioning((Partitioning)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((ReplicationPartitioning)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((RoundRobinPartitioning)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
+ setPinnedPartitioning((PinnedPartitioning)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
+ setRangePartitioning((RangePartitioning)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
+ setValuePartitioning((ValuePartitioning)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
+ setHashPartitioning((HashPartitioning)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
+ setUnionPartitioning((UnionPartitioning)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__ACCESS:
+ setAccess((AccessType)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__FETCH:
+ setFetch((FetchType)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__ID:
+ setId((Boolean)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__MAPPED_BY:
+ setMappedBy((String)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__MAPS_ID:
+ setMapsId((String)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__NAME:
+ setName((String)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__OPTIONAL:
+ setOptional((Boolean)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL:
+ setOrphanRemoval((Boolean)newValue);
+ return;
+ case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
+ setTargetEntity((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- getPrimaryKeyJoinColumn().clear();
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- getJoinColumn().clear();
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- setJoinTable((JoinTable) null);
- return;
- case OrmPackage.ONE_TO_ONE__CASCADE:
- setCascade((CascadeType) null);
- return;
- case OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE:
- unsetCascadeOnDelete();
- return;
- case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
- setPrivateOwned((EmptyType) null);
- return;
- case OrmPackage.ONE_TO_ONE__JOIN_FETCH:
- unsetJoinFetch();
- return;
- case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
- setBatchFetch((BatchFetch) null);
- return;
- case OrmPackage.ONE_TO_ONE__PROPERTY:
- getProperty().clear();
- return;
- case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
- setAccessMethods((AccessMethods) null);
- return;
- case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
- setNoncacheable((EmptyType) null);
- return;
- case OrmPackage.ONE_TO_ONE__PARTITIONING:
- setPartitioning((Partitioning) null);
- return;
- case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
- setReplicationPartitioning((ReplicationPartitioning) null);
- return;
- case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
- setRoundRobinPartitioning((RoundRobinPartitioning) null);
- return;
- case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
- setPinnedPartitioning((PinnedPartitioning) null);
- return;
- case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
- setRangePartitioning((RangePartitioning) null);
- return;
- case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
- setValuePartitioning((ValuePartitioning) null);
- return;
- case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
- setHashPartitioning((HashPartitioning) null);
- return;
- case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
- setUnionPartitioning((UnionPartitioning) null);
- return;
- case OrmPackage.ONE_TO_ONE__PARTITIONED:
- setPartitioned(PARTITIONED_EDEFAULT);
- return;
- case OrmPackage.ONE_TO_ONE__ACCESS:
- unsetAccess();
- return;
- case OrmPackage.ONE_TO_ONE__FETCH:
- unsetFetch();
- return;
- case OrmPackage.ONE_TO_ONE__ID:
- unsetId();
- return;
- case OrmPackage.ONE_TO_ONE__MAPPED_BY:
- setMappedBy(MAPPED_BY_EDEFAULT);
- return;
- case OrmPackage.ONE_TO_ONE__MAPS_ID:
- setMapsId(MAPS_ID_EDEFAULT);
- return;
- case OrmPackage.ONE_TO_ONE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OrmPackage.ONE_TO_ONE__OPTIONAL:
- unsetOptional();
- return;
- case OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL:
- unsetOrphanRemoval();
- return;
- case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
- setTargetEntity(TARGET_ENTITY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
+ getPrimaryKeyJoinColumn().clear();
+ return;
+ case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
+ getJoinColumn().clear();
+ return;
+ case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
+ setJoinTable((JoinTable)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__CASCADE:
+ setCascade((CascadeType)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE:
+ unsetCascadeOnDelete();
+ return;
+ case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
+ setPrivateOwned((EmptyType)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__JOIN_FETCH:
+ unsetJoinFetch();
+ return;
+ case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
+ setBatchFetch((BatchFetch)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__PROPERTY:
+ getProperty().clear();
+ return;
+ case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
+ setAccessMethods((AccessMethods)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
+ setNoncacheable((EmptyType)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__PARTITIONING:
+ setPartitioning((Partitioning)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((ReplicationPartitioning)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((RoundRobinPartitioning)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
+ setPinnedPartitioning((PinnedPartitioning)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
+ setRangePartitioning((RangePartitioning)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
+ setValuePartitioning((ValuePartitioning)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
+ setHashPartitioning((HashPartitioning)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
+ setUnionPartitioning((UnionPartitioning)null);
+ return;
+ case OrmPackage.ONE_TO_ONE__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
+ case OrmPackage.ONE_TO_ONE__ACCESS:
+ unsetAccess();
+ return;
+ case OrmPackage.ONE_TO_ONE__FETCH:
+ unsetFetch();
+ return;
+ case OrmPackage.ONE_TO_ONE__ID:
+ unsetId();
+ return;
+ case OrmPackage.ONE_TO_ONE__MAPPED_BY:
+ setMappedBy(MAPPED_BY_EDEFAULT);
+ return;
+ case OrmPackage.ONE_TO_ONE__MAPS_ID:
+ setMapsId(MAPS_ID_EDEFAULT);
+ return;
+ case OrmPackage.ONE_TO_ONE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case OrmPackage.ONE_TO_ONE__OPTIONAL:
+ unsetOptional();
+ return;
+ case OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL:
+ unsetOrphanRemoval();
+ return;
+ case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
+ setTargetEntity(TARGET_ENTITY_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
- return primaryKeyJoinColumn != null && !primaryKeyJoinColumn.isEmpty();
- case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
- return joinColumn != null && !joinColumn.isEmpty();
- case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
- return joinTable != null;
- case OrmPackage.ONE_TO_ONE__CASCADE:
- return cascade != null;
- case OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE:
- return isSetCascadeOnDelete();
- case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
- return privateOwned != null;
- case OrmPackage.ONE_TO_ONE__JOIN_FETCH:
- return isSetJoinFetch();
- case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
- return batchFetch != null;
- case OrmPackage.ONE_TO_ONE__PROPERTY:
- return property != null && !property.isEmpty();
- case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
- return accessMethods != null;
- case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
- return noncacheable != null;
- case OrmPackage.ONE_TO_ONE__PARTITIONING:
- return partitioning != null;
- case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
- return replicationPartitioning != null;
- case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
- return roundRobinPartitioning != null;
- case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
- return pinnedPartitioning != null;
- case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
- return rangePartitioning != null;
- case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
- return valuePartitioning != null;
- case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
- return hashPartitioning != null;
- case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
- return unionPartitioning != null;
- case OrmPackage.ONE_TO_ONE__PARTITIONED:
- return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
- case OrmPackage.ONE_TO_ONE__ACCESS:
- return isSetAccess();
- case OrmPackage.ONE_TO_ONE__FETCH:
- return isSetFetch();
- case OrmPackage.ONE_TO_ONE__ID:
- return isSetId();
- case OrmPackage.ONE_TO_ONE__MAPPED_BY:
- return MAPPED_BY_EDEFAULT == null ? mappedBy != null : !MAPPED_BY_EDEFAULT.equals(mappedBy);
- case OrmPackage.ONE_TO_ONE__MAPS_ID:
- return MAPS_ID_EDEFAULT == null ? mapsId != null : !MAPS_ID_EDEFAULT.equals(mapsId);
- case OrmPackage.ONE_TO_ONE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OrmPackage.ONE_TO_ONE__OPTIONAL:
- return isSetOptional();
- case OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL:
- return isSetOrphanRemoval();
- case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
- return TARGET_ENTITY_EDEFAULT == null ? targetEntity != null : !TARGET_ENTITY_EDEFAULT.equals(targetEntity);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ switch (featureID) {
+ case OrmPackage.ONE_TO_ONE__PRIMARY_KEY_JOIN_COLUMN:
+ return primaryKeyJoinColumn != null && !primaryKeyJoinColumn.isEmpty();
+ case OrmPackage.ONE_TO_ONE__JOIN_COLUMN:
+ return joinColumn != null && !joinColumn.isEmpty();
+ case OrmPackage.ONE_TO_ONE__JOIN_TABLE:
+ return joinTable != null;
+ case OrmPackage.ONE_TO_ONE__CASCADE:
+ return cascade != null;
+ case OrmPackage.ONE_TO_ONE__CASCADE_ON_DELETE:
+ return isSetCascadeOnDelete();
+ case OrmPackage.ONE_TO_ONE__PRIVATE_OWNED:
+ return privateOwned != null;
+ case OrmPackage.ONE_TO_ONE__JOIN_FETCH:
+ return isSetJoinFetch();
+ case OrmPackage.ONE_TO_ONE__BATCH_FETCH:
+ return batchFetch != null;
+ case OrmPackage.ONE_TO_ONE__PROPERTY:
+ return property != null && !property.isEmpty();
+ case OrmPackage.ONE_TO_ONE__ACCESS_METHODS:
+ return accessMethods != null;
+ case OrmPackage.ONE_TO_ONE__NONCACHEABLE:
+ return noncacheable != null;
+ case OrmPackage.ONE_TO_ONE__PARTITIONING:
+ return partitioning != null;
+ case OrmPackage.ONE_TO_ONE__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case OrmPackage.ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case OrmPackage.ONE_TO_ONE__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case OrmPackage.ONE_TO_ONE__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case OrmPackage.ONE_TO_ONE__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case OrmPackage.ONE_TO_ONE__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case OrmPackage.ONE_TO_ONE__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case OrmPackage.ONE_TO_ONE__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
+ case OrmPackage.ONE_TO_ONE__ACCESS:
+ return isSetAccess();
+ case OrmPackage.ONE_TO_ONE__FETCH:
+ return isSetFetch();
+ case OrmPackage.ONE_TO_ONE__ID:
+ return isSetId();
+ case OrmPackage.ONE_TO_ONE__MAPPED_BY:
+ return MAPPED_BY_EDEFAULT == null ? mappedBy != null : !MAPPED_BY_EDEFAULT.equals(mappedBy);
+ case OrmPackage.ONE_TO_ONE__MAPS_ID:
+ return MAPS_ID_EDEFAULT == null ? mapsId != null : !MAPS_ID_EDEFAULT.equals(mapsId);
+ case OrmPackage.ONE_TO_ONE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case OrmPackage.ONE_TO_ONE__OPTIONAL:
+ return isSetOptional();
+ case OrmPackage.ONE_TO_ONE__ORPHAN_REMOVAL:
+ return isSetOrphanRemoval();
+ case OrmPackage.ONE_TO_ONE__TARGET_ENTITY:
+ return TARGET_ENTITY_EDEFAULT == null ? targetEntity != null : !TARGET_ENTITY_EDEFAULT.equals(targetEntity);
+ }
+ 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(" (cascadeOnDelete: ");
- if (cascadeOnDeleteESet) {
- result.append(cascadeOnDelete);
- } else {
- result.append("<unset>");
- }
- result.append(", joinFetch: ");
- if (joinFetchESet) {
- result.append(joinFetch);
- } else {
- result.append("<unset>");
- }
- result.append(", partitioned: ");
- result.append(partitioned);
- result.append(", access: ");
- if (accessESet) {
- result.append(access);
- } else {
- result.append("<unset>");
- }
- result.append(", fetch: ");
- if (fetchESet) {
- result.append(fetch);
- } else {
- result.append("<unset>");
- }
- result.append(", id: ");
- if (idESet) {
- result.append(id);
- } else {
- result.append("<unset>");
- }
- result.append(", mappedBy: ");
- result.append(mappedBy);
- result.append(", mapsId: ");
- result.append(mapsId);
- result.append(", name: ");
- result.append(name);
- result.append(", optional: ");
- if (optionalESet) {
- result.append(optional);
- } else {
- result.append("<unset>");
- }
- result.append(", orphanRemoval: ");
- if (orphanRemovalESet) {
- result.append(orphanRemoval);
- } else {
- result.append("<unset>");
- }
- result.append(", targetEntity: ");
- result.append(targetEntity);
- result.append(')');
- return result.toString();
- }
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (cascadeOnDelete: ");
+ if (cascadeOnDeleteESet) result.append(cascadeOnDelete); else result.append("<unset>");
+ result.append(", joinFetch: ");
+ if (joinFetchESet) result.append(joinFetch); else result.append("<unset>");
+ result.append(", partitioned: ");
+ result.append(partitioned);
+ result.append(", access: ");
+ if (accessESet) result.append(access); else result.append("<unset>");
+ result.append(", fetch: ");
+ if (fetchESet) result.append(fetch); else result.append("<unset>");
+ result.append(", id: ");
+ if (idESet) result.append(id); else result.append("<unset>");
+ result.append(", mappedBy: ");
+ result.append(mappedBy);
+ result.append(", mapsId: ");
+ result.append(mapsId);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", optional: ");
+ if (optionalESet) result.append(optional); else result.append("<unset>");
+ result.append(", orphanRemoval: ");
+ if (orphanRemovalESet) result.append(orphanRemoval); else result.append("<unset>");
+ result.append(", targetEntity: ");
+ result.append(targetEntity);
+ result.append(')');
+ return result.toString();
+ }
@Override
public String getJavaAnnotation(String identifier) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/TransientImpl.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/TransientImpl.java
index 923d8b1a..a3072d25 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/TransientImpl.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/TransientImpl.java
@@ -24,10 +24,10 @@ import org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.TransientImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.annotations.model.orm.impl.TransientImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class TransientImpl extends BaseOrmAnnotationImpl implements Transient {
@@ -42,130 +42,118 @@ public class TransientImpl extends BaseOrmAnnotationImpl implements Transient {
protected static final String NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
protected String name = NAME_EDEFAULT;
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
protected TransientImpl() {
- super();
- }
+ super();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
protected EClass eStaticClass() {
- return OrmPackage.eINSTANCE.getTransient();
- }
+ return OrmPackage.eINSTANCE.getTransient();
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public String getName() {
- return name;
- }
+ return name;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.TRANSIENT__NAME, oldName, name));
- }
- }
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmPackage.TRANSIENT__NAME, oldName, name));
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OrmPackage.TRANSIENT__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
+ switch (featureID) {
+ case OrmPackage.TRANSIENT__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OrmPackage.TRANSIENT__NAME:
- setName((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
+ switch (featureID) {
+ case OrmPackage.TRANSIENT__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public void eUnset(int featureID) {
- switch (featureID) {
- case OrmPackage.TRANSIENT__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
+ switch (featureID) {
+ case OrmPackage.TRANSIENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OrmPackage.TRANSIENT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return super.eIsSet(featureID);
- }
+ switch (featureID) {
+ case OrmPackage.TRANSIENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
@Override
public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
@Override
public String getJavaAnnotation(String identifier) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/orm.ecore b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/orm.ecore
index 55ea6339..7d3106a6 100644
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/orm.ecore
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/orm.ecore
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="orm"
- nsURI="http://www.eclipse.org/eclipselink/xsds/persistence/orm" nsPrefix="orm">
+<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="orm" nsURI="http://www.eclipse.org/eclipselink/xsds/persistence/orm"
+ nsPrefix="orm">
<eClassifiers xsi:type="ecore:EClass" name="AccessMethods">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="name" value="access-methods"/>
@@ -1203,7 +1202,7 @@
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="insertable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
+ defaultValueLiteral="true" unsettable="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="attribute"/>
<details key="name" value="insertable"/>
@@ -1223,7 +1222,7 @@
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nullable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
+ defaultValueLiteral="true" unsettable="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="attribute"/>
<details key="name" value="nullable"/>
@@ -1257,7 +1256,7 @@
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="updatable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
+ defaultValueLiteral="true" unsettable="true">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="kind" value="attribute"/>
<details key="name" value="updatable"/>

Back to the top