Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2012-06-08 12:33:10 -0400
committerMartin Taal2012-06-08 12:33:10 -0400
commite2480a90530b6c1dc047003caed87ffdf5491763 (patch)
treea80a1714f24e80049871bf66bf1af0156a00a61f /generator/org.eclipse.emf.texo.orm
parentccc07fb6cd7b7796e6a4a64321bd99d582e98f6f (diff)
downloadorg.eclipse.emf.texo-e2480a90530b6c1dc047003caed87ffdf5491763.tar.gz
org.eclipse.emf.texo-e2480a90530b6c1dc047003caed87ffdf5491763.tar.xz
org.eclipse.emf.texo-e2480a90530b6c1dc047003caed87ffdf5491763.zip
upgrade to 2.3
Diffstat (limited to 'generator/org.eclipse.emf.texo.orm')
-rw-r--r--generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF1
-rw-r--r--generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel2
-rw-r--r--generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.ecore4
-rw-r--r--generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel3
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/BasicImpl.java2748
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ElementCollectionImpl.java4672
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/ManyToOneImpl.java3048
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/OneToOneImpl.java3622
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EAttributeORMAnnotator.java4
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EClassORMAnnotator.java8
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EReferenceORMAnnotator.java31
-rw-r--r--generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EStructuralFeatureORMAnnotator.java27
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMGenerator.java4
-rw-r--r--generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMJavaAnnotationGenerator.java32
-rw-r--r--generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMUtils.java18
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/StandardORMGenerator.java7
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EClassORMAnnotation.java36
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EEnumORMAnnotation.java25
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EReferenceORMAnnotation.java79
-rwxr-xr-xgenerator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/OrmannotationsPackage.java333
20 files changed, 8029 insertions, 6675 deletions
diff --git a/generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF b/generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF
index 4ea10968..dc52434c 100644
--- a/generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF
+++ b/generator/org.eclipse.emf.texo.orm/META-INF/MANIFEST.MF
@@ -8,7 +8,6 @@ Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.eclipse.emf.texo.orm.annotations.model.orm;version="0.1.0",
- org.eclipse.emf.texo.orm.annotations.model.orm.impl;version="0.1.0",
org.eclipse.emf.texo.orm.annotations.model.orm.util;version="0.1.0",
org.eclipse.emf.texo.orm.annotator;version="0.1.0",
org.eclipse.emf.texo.orm.ormannotations;version="0.1.0",
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 77f41b1a..4700e065 100644
--- a/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel
+++ b/generator/org.eclipse.emf.texo.orm/model/eclipselink_orm.genmodel
@@ -2,7 +2,7 @@
<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_2_0" rootExtendsInterface="org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotation"
+ 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/texo-annotations-orm.ecore b/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.ecore
index 5d589666..e8dae6fd 100644
--- a/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.ecore
+++ b/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.ecore
@@ -121,9 +121,11 @@
eType="ecore:EClass orm.ecore#//AttributeOverride" unsettable="true" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="primaryKeyJoinColumn" upperBound="-1"
eType="ecore:EClass orm.ecore#//PrimaryKeyJoinColumn" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="basic" eType="ecore:EClass orm.ecore#//Basic"
+ containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EEnumORMAnnotation" eSuperTypes="../../org.eclipse.emf.texo.annotations.model/model/texo-annotations-model.ecore#//EEnumAnnotation #//EDataTypeORMAnnotationDefinition">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="enumerated" eType="ecore:EEnum orm.ecore#//Enumerated"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="enumerated" eType="ecore:EDataType orm.ecore#//Enumerated"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="basic" eType="ecore:EClass orm.ecore#//Basic"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="version" eType="ecore:EClass orm.ecore#//Version"
diff --git a/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel b/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel
index b287b30a..e29da26f 100644
--- a/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel
+++ b/generator/org.eclipse.emf.texo.orm/model/texo-annotations-orm.genmodel
@@ -4,7 +4,7 @@
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.texo.orm/src"
modelPluginID="org.eclipse.emf.texo.orm" modelName="Texo-annotations-orm" suppressInterfaces="true"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false"
- usedGenPackages="eclipselink_orm_2_0.genmodel#//orm platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../org.eclipse.emf.texo.annotations.model/model/texo-annotations-model.genmodel#//annotationsmodel">
+ usedGenPackages="eclipselink_orm.genmodel#//orm platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../org.eclipse.emf.texo.annotations.model/model/texo-annotations-model.genmodel#//annotationsmodel">
<foreignModel>texo-annotations-orm.ecore</foreignModel>
<genPackages prefix="Ormannotations" basePackage="org.eclipse.emf.texo.orm" resource="XML"
disposableProviderFactory="true" ecorePackage="texo-annotations-orm.ecore#/">
@@ -71,6 +71,7 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference texo-annotations-orm.ecore#//EReferenceORMAnnotation/associationOverride"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference texo-annotations-orm.ecore#//EReferenceORMAnnotation/attributeOverride"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference texo-annotations-orm.ecore#//EReferenceORMAnnotation/primaryKeyJoinColumn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference texo-annotations-orm.ecore#//EReferenceORMAnnotation/basic"/>
</genClasses>
<genClasses ecoreClass="texo-annotations-orm.ecore#//EEnumORMAnnotation">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute texo-annotations-orm.ecore#//EEnumORMAnnotation/enumerated"/>
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 f1f87744..fe9e8c4b 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
@@ -26,7 +26,6 @@ import org.eclipse.emf.texo.orm.annotations.model.orm.Column;
import org.eclipse.emf.texo.orm.annotations.model.orm.Converter;
import org.eclipse.emf.texo.orm.annotations.model.orm.EmptyType;
import org.eclipse.emf.texo.orm.annotations.model.orm.EnumType;
-import org.eclipse.emf.texo.orm.annotations.model.orm.Enumerated;
import org.eclipse.emf.texo.orm.annotations.model.orm.FetchType;
import org.eclipse.emf.texo.orm.annotations.model.orm.GeneratedValue;
import org.eclipse.emf.texo.orm.annotations.model.orm.Index;
@@ -39,7 +38,6 @@ import org.eclipse.emf.texo.orm.annotations.model.orm.SequenceGenerator;
import org.eclipse.emf.texo.orm.annotations.model.orm.StructConverter;
import org.eclipse.emf.texo.orm.annotations.model.orm.TableGenerator;
import org.eclipse.emf.texo.orm.annotations.model.orm.TemporalType;
-import org.eclipse.emf.texo.orm.annotations.model.orm.Temporal;
import org.eclipse.emf.texo.orm.annotations.model.orm.TypeConverter;
import org.eclipse.emf.texo.orm.annotator.BaseOrmAnnotationImpl;
import org.eclipse.emf.texo.orm.annotator.ORMJavaAnnotationGenerator;
@@ -49,56 +47,59 @@ 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 -->
- * <!-- end-user-doc -->
- * @see #getIndex()
- * @generated
- * @ordered
- */
- protected Index index;
+ * The cached value of the '{@link #getIndex() <em>Index</em>}' containment reference. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getIndex()
+ * @generated
+ * @ordered
+ */
+ protected Index index;
- /**
+ /**
* The cached value of the '{@link #getGeneratedValue() <em>Generated Value</em>}' containment reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -109,83 +110,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;
/**
@@ -199,12 +200,13 @@ 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;
/**
@@ -238,13 +240,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;
/**
@@ -258,33 +260,33 @@ public class BasicImpl extends BaseOrmAnnotationImpl implements Basic {
protected AccessMethods accessMethods;
/**
- * The cached value of the '{@link #getReturnInsert() <em>Return Insert</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getReturnInsert()
- * @generated
- * @ordered
- */
- protected ReturnInsert returnInsert;
-
- /**
- * The cached value of the '{@link #getReturnUpdate() <em>Return Update</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getReturnUpdate()
- * @generated
- * @ordered
- */
- protected EmptyType returnUpdate;
-
- /**
- * The default value of the '{@link #getAccess() <em>Access</em>}' attribute.
- * <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getReturnInsert() <em>Return Insert</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getReturnInsert()
+ * @generated
+ * @ordered
+ */
+ protected ReturnInsert returnInsert;
+
+ /**
+ * The cached value of the '{@link #getReturnUpdate() <em>Return Update</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getReturnUpdate()
+ * @generated
+ * @ordered
+ */
+ protected EmptyType returnUpdate;
+
+ /**
+ * 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;
/**
@@ -298,34 +300,34 @@ 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 -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @see #getAttributeType()
- * @generated
- * @ordered
- */
- protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT;
-
- /**
+ * The default value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @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 -->
+ * <!-- end-user-doc -->
+ *
+ * @see #getAttributeType()
+ * @generated
+ * @ordered
+ */
+ protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT;
+
+ /**
* The default value of the '{@link #getFetch() <em>Fetch</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
@@ -346,39 +348,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;
/**
@@ -392,1217 +394,1467 @@ 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
- */
- public Index getIndex() {
- return index;
- }
-
- /**
- * <!-- 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
- */
- 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 (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;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
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;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ return temporal;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public EnumType getEnumerated() {
- return enumerated;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ return enumerated;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- 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
- */
- public ReturnInsert getReturnInsert() {
- return returnInsert;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public EmptyType getReturnUpdate() {
- return returnUpdate;
- }
-
- /**
- * <!-- 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
- */
- 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 (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;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public EmptyType getReturnUpdate() {
+ return returnUpdate;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
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;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getAttributeType() {
- return attributeType;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ return accessESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getAttributeType() {
+ return attributeType;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- 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) {
final List<EStructuralFeature> features = new ArrayList<EStructuralFeature>();
features.add(OrmPackage.eINSTANCE.getBasic_Fetch());
+ features.add(OrmPackage.eINSTANCE.getBasic_Convert());
features.add(OrmPackage.eINSTANCE.getBasic_Optional());
return ORMJavaAnnotationGenerator.getInstance().generateJavaAnnotation(this, features, true, identifier);
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 2cc2e3c5..970addeb 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
@@ -32,7 +32,6 @@ import org.eclipse.emf.texo.orm.annotations.model.orm.Converter;
import org.eclipse.emf.texo.orm.annotations.model.orm.ElementCollection;
import org.eclipse.emf.texo.orm.annotations.model.orm.EmptyType;
import org.eclipse.emf.texo.orm.annotations.model.orm.EnumType;
-import org.eclipse.emf.texo.orm.annotations.model.orm.Enumerated;
import org.eclipse.emf.texo.orm.annotations.model.orm.FetchType;
import org.eclipse.emf.texo.orm.annotations.model.orm.HashPartitioning;
import org.eclipse.emf.texo.orm.annotations.model.orm.JoinFetchType;
@@ -52,7 +51,6 @@ import org.eclipse.emf.texo.orm.annotations.model.orm.ReplicationPartitioning;
import org.eclipse.emf.texo.orm.annotations.model.orm.RoundRobinPartitioning;
import org.eclipse.emf.texo.orm.annotations.model.orm.StructConverter;
import org.eclipse.emf.texo.orm.annotations.model.orm.TemporalType;
-import org.eclipse.emf.texo.orm.annotations.model.orm.Temporal;
import org.eclipse.emf.texo.orm.annotations.model.orm.TypeConverter;
import org.eclipse.emf.texo.orm.annotations.model.orm.UnionPartitioning;
import org.eclipse.emf.texo.orm.annotations.model.orm.ValuePartitioning;
@@ -121,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;
/**
@@ -151,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;
/**
@@ -171,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;
/**
@@ -201,51 +199,53 @@ 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,120 +259,123 @@ 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;
/**
@@ -386,81 +389,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 -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @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
- */
- protected boolean cascadeOnDeleteESet;
-
- /**
- * The default value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @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
- */
- protected boolean joinFetchESet;
-
- /**
- * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBatchFetch()
- * @generated
- * @ordered
- */
- protected BatchFetch batchFetch;
-
- /**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list.
- * <!-- 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
+ */
+ 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
+ * --> <!-- end-user-doc -->
+ *
+ * @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
+ */
+ protected boolean cascadeOnDeleteESet;
+
+ /**
+ * The default value of the '{@link #getJoinFetch() <em>Join Fetch</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @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 --> <!--
+ * end-user-doc -->
+ *
+ * @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
+ */
+ protected boolean joinFetchESet;
+
+ /**
+ * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getBatchFetch()
+ * @generated
+ * @ordered
+ */
+ protected BatchFetch batchFetch;
+
+ /**
+ * 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;
/**
@@ -474,123 +475,123 @@ public class ElementCollectionImpl extends BaseOrmAnnotationImpl implements Elem
protected AccessMethods accessMethods;
/**
- * The cached value of the '{@link #getNoncacheable() <em>Noncacheable</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNoncacheable()
- * @generated
- * @ordered
- */
- protected EmptyType noncacheable;
-
- /**
- * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPartitioning()
- * @generated
- * @ordered
- */
- 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
- */
- 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
- */
- protected RoundRobinPartitioning roundRobinPartitioning;
-
- /**
- * The cached value of the '{@link #getPinnedPartitioning() <em>Pinned Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPinnedPartitioning()
- * @generated
- * @ordered
- */
- protected PinnedPartitioning pinnedPartitioning;
-
- /**
- * The cached value of the '{@link #getRangePartitioning() <em>Range Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRangePartitioning()
- * @generated
- * @ordered
- */
- protected RangePartitioning rangePartitioning;
-
- /**
- * The cached value of the '{@link #getValuePartitioning() <em>Value Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValuePartitioning()
- * @generated
- * @ordered
- */
- protected ValuePartitioning valuePartitioning;
-
- /**
- * The cached value of the '{@link #getHashPartitioning() <em>Hash Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHashPartitioning()
- * @generated
- * @ordered
- */
- protected HashPartitioning hashPartitioning;
-
- /**
- * The cached value of the '{@link #getUnionPartitioning() <em>Union Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUnionPartitioning()
- * @generated
- * @ordered
- */
- protected UnionPartitioning unionPartitioning;
-
- /**
- * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
- protected String partitioned = PARTITIONED_EDEFAULT;
-
- /**
- * The default value of the '{@link #getAccess() <em>Access</em>}' attribute.
- * <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getNoncacheable() <em>Noncacheable</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNoncacheable()
+ * @generated
+ * @ordered
+ */
+ protected EmptyType noncacheable;
+
+ /**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ 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
+ */
+ protected RoundRobinPartitioning roundRobinPartitioning;
+
+ /**
+ * The cached value of the '{@link #getPinnedPartitioning() <em>Pinned Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getPinnedPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected PinnedPartitioning pinnedPartitioning;
+
+ /**
+ * The cached value of the '{@link #getRangePartitioning() <em>Range Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getRangePartitioning()
+ * @generated
+ * @ordered
+ */
+ protected RangePartitioning rangePartitioning;
+
+ /**
+ * The cached value of the '{@link #getValuePartitioning() <em>Value Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getValuePartitioning()
+ * @generated
+ * @ordered
+ */
+ protected ValuePartitioning valuePartitioning;
+
+ /**
+ * The cached value of the '{@link #getHashPartitioning() <em>Hash Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getHashPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected HashPartitioning hashPartitioning;
+
+ /**
+ * The cached value of the '{@link #getUnionPartitioning() <em>Union Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getUnionPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected UnionPartitioning unionPartitioning;
+
+ /**
+ * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @see #getAccess()
- * @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 --> <!--
+ * end-user-doc -->
+ *
+ * @see #getPartitioned()
+ * @generated
+ * @ordered
+ */
+ protected String partitioned = PARTITIONED_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getAccess() <em>Access</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getAccess()
+ * @generated
+ * @ordered
+ */
protected static final AccessType ACCESS_EDEFAULT = AccessType.PROPERTY;
/**
@@ -604,54 +605,54 @@ 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 -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @see #getCompositeMember()
- * @generated
- * @ordered
- */
- protected String compositeMember = COMPOSITE_MEMBER_EDEFAULT;
-
- /**
+ * The default value of the '{@link #getAttributeType() <em>Attribute Type</em>}' attribute. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @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 -->
+ * <!-- end-user-doc -->
+ *
+ * @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
+ * --> <!-- end-user-doc -->
+ *
+ * @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
+ * --> <!-- end-user-doc -->
+ *
+ * @see #getCompositeMember()
+ * @generated
+ * @ordered
+ */
+ protected String compositeMember = COMPOSITE_MEMBER_EDEFAULT;
+
+ /**
* The default value of the '{@link #getFetch() <em>Fetch</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
@@ -672,11 +673,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;
/**
@@ -690,1949 +691,2298 @@ 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;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ return mapKeyTemporal;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public EnumType getMapKeyEnumerated() {
- return mapKeyEnumerated;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ return mapKeyEnumerated;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- 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;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ return temporal;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public EnumType getEnumerated() {
- return enumerated;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ return enumerated;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- 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
- */
- public boolean isCascadeOnDelete() {
- return cascadeOnDelete;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public boolean isSetCascadeOnDelete() {
- return cascadeOnDeleteESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JoinFetchType getJoinFetch() {
- return joinFetch;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public boolean isSetJoinFetch() {
- return joinFetchESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BatchFetch getBatchFetch() {
- return batchFetch;
- }
-
- /**
- * <!-- 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
- */
- 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 (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;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public boolean isSetCascadeOnDelete() {
+ return cascadeOnDeleteESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public JoinFetchType getJoinFetch() {
+ return joinFetch;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public boolean isSetJoinFetch() {
+ return joinFetchESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public BatchFetch getBatchFetch() {
+ return batchFetch;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
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
- */
- public EmptyType getNoncacheable() {
- return noncacheable;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public Partitioning getPartitioning() {
- return partitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public ReplicationPartitioning getReplicationPartitioning() {
- return replicationPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public RoundRobinPartitioning getRoundRobinPartitioning() {
- return roundRobinPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public PinnedPartitioning getPinnedPartitioning() {
- return pinnedPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public RangePartitioning getRangePartitioning() {
- return rangePartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public ValuePartitioning getValuePartitioning() {
- return valuePartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public HashPartitioning getHashPartitioning() {
- return hashPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public UnionPartitioning getUnionPartitioning() {
- return unionPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public String getPartitioned() {
- return partitioned;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- 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;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public Partitioning getPartitioning() {
+ return partitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public ReplicationPartitioning getReplicationPartitioning() {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public RoundRobinPartitioning getRoundRobinPartitioning() {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public PinnedPartitioning getPinnedPartitioning() {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public RangePartitioning getRangePartitioning() {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public ValuePartitioning getValuePartitioning() {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public HashPartitioning getHashPartitioning() {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public UnionPartitioning getUnionPartitioning() {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public String getPartitioned() {
+ return partitioned;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- 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;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getAttributeType() {
- return attributeType;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCompositeMember() {
- return compositeMember;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ return accessESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getAttributeType() {
+ return attributeType;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public String getCompositeMember() {
+ return compositeMember;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- 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) {
final List<EStructuralFeature> features = new ArrayList<EStructuralFeature>();
+ // features.add(OrmPackage.eINSTANCE.getElementCollection_Convert());
features.add(OrmPackage.eINSTANCE.getElementCollection_Fetch());
features.add(OrmPackage.eINSTANCE.getElementCollection_TargetClass());
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 22897435..ab7f0131 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,33 +47,41 @@ 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 {
@@ -88,71 +96,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 -->
- * <!-- end-user-doc -->
- * @see #getBatchFetch()
- * @generated
- * @ordered
- */
- protected BatchFetch batchFetch;
+ * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @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;
/**
@@ -166,123 +174,123 @@ public class ManyToOneImpl extends BaseOrmAnnotationImpl implements ManyToOne {
protected AccessMethods accessMethods;
/**
- * The cached value of the '{@link #getNoncacheable() <em>Noncacheable</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNoncacheable()
- * @generated
- * @ordered
- */
- protected EmptyType noncacheable;
-
- /**
- * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPartitioning()
- * @generated
- * @ordered
- */
- 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
- */
- 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
- */
- protected RoundRobinPartitioning roundRobinPartitioning;
-
- /**
- * The cached value of the '{@link #getPinnedPartitioning() <em>Pinned Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPinnedPartitioning()
- * @generated
- * @ordered
- */
- protected PinnedPartitioning pinnedPartitioning;
-
- /**
- * The cached value of the '{@link #getRangePartitioning() <em>Range Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRangePartitioning()
- * @generated
- * @ordered
- */
- protected RangePartitioning rangePartitioning;
-
- /**
- * The cached value of the '{@link #getValuePartitioning() <em>Value Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValuePartitioning()
- * @generated
- * @ordered
- */
- protected ValuePartitioning valuePartitioning;
-
- /**
- * The cached value of the '{@link #getHashPartitioning() <em>Hash Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHashPartitioning()
- * @generated
- * @ordered
- */
- protected HashPartitioning hashPartitioning;
-
- /**
- * The cached value of the '{@link #getUnionPartitioning() <em>Union Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUnionPartitioning()
- * @generated
- * @ordered
- */
- protected UnionPartitioning unionPartitioning;
-
- /**
- * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
- protected String partitioned = PARTITIONED_EDEFAULT;
-
- /**
- * The default value of the '{@link #getAccess() <em>Access</em>}' attribute.
- * <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getNoncacheable() <em>Noncacheable</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNoncacheable()
+ * @generated
+ * @ordered
+ */
+ protected EmptyType noncacheable;
+
+ /**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ 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
+ */
+ protected RoundRobinPartitioning roundRobinPartitioning;
+
+ /**
+ * The cached value of the '{@link #getPinnedPartitioning() <em>Pinned Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getPinnedPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected PinnedPartitioning pinnedPartitioning;
+
+ /**
+ * The cached value of the '{@link #getRangePartitioning() <em>Range Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getRangePartitioning()
+ * @generated
+ * @ordered
+ */
+ protected RangePartitioning rangePartitioning;
+
+ /**
+ * The cached value of the '{@link #getValuePartitioning() <em>Value Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getValuePartitioning()
+ * @generated
+ * @ordered
+ */
+ protected ValuePartitioning valuePartitioning;
+
+ /**
+ * The cached value of the '{@link #getHashPartitioning() <em>Hash Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getHashPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected HashPartitioning hashPartitioning;
+
+ /**
+ * The cached value of the '{@link #getUnionPartitioning() <em>Union Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getUnionPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected UnionPartitioning unionPartitioning;
+
+ /**
+ * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @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 --> <!--
+ * end-user-doc -->
+ *
+ * @see #getPartitioned()
+ * @generated
+ * @ordered
+ */
+ protected String partitioned = PARTITIONED_EDEFAULT;
+
+ /**
+ * 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;
/**
@@ -296,11 +304,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;
/**
@@ -324,57 +332,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;
/**
@@ -388,1297 +396,1545 @@ 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;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BatchFetch getBatchFetch() {
- return batchFetch;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
+ return joinFetchESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public BatchFetch getBatchFetch() {
+ return batchFetch;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
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
- */
- public EmptyType getNoncacheable() {
- return noncacheable;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public Partitioning getPartitioning() {
- return partitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public ReplicationPartitioning getReplicationPartitioning() {
- return replicationPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public RoundRobinPartitioning getRoundRobinPartitioning() {
- return roundRobinPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public PinnedPartitioning getPinnedPartitioning() {
- return pinnedPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public RangePartitioning getRangePartitioning() {
- return rangePartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public ValuePartitioning getValuePartitioning() {
- return valuePartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public HashPartitioning getHashPartitioning() {
- return hashPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public UnionPartitioning getUnionPartitioning() {
- return unionPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public String getPartitioned() {
- return partitioned;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- 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;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public Partitioning getPartitioning() {
+ return partitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public ReplicationPartitioning getReplicationPartitioning() {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public RoundRobinPartitioning getRoundRobinPartitioning() {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public PinnedPartitioning getPinnedPartitioning() {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public RangePartitioning getRangePartitioning() {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public ValuePartitioning getValuePartitioning() {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public HashPartitioning getHashPartitioning() {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public UnionPartitioning getUnionPartitioning() {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public String getPartitioned() {
+ return partitioned;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- 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/OneToOneImpl.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotations/model/orm/impl/OneToOneImpl.java
index 93c3b687..e0171fd2 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,48 +48,59 @@ 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;
/**
@@ -103,55 +114,54 @@ 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 -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @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
- */
- protected boolean cascadeOnDeleteESet;
-
- /**
+ * The default value of the '{@link #isCascadeOnDelete() <em>Cascade On Delete</em>}' attribute. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @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
+ * --> <!-- end-user-doc -->
+ *
+ * @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
+ */
+ protected boolean cascadeOnDeleteESet;
+
+ /**
* The cached value of the '{@link #getPrivateOwned() <em>Private Owned</em>}' containment reference. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
@@ -162,51 +172,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 -->
- * <!-- end-user-doc -->
- * @see #getBatchFetch()
- * @generated
- * @ordered
- */
- protected BatchFetch batchFetch;
+ * The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @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;
/**
@@ -220,123 +230,123 @@ public class OneToOneImpl extends BaseOrmAnnotationImpl implements OneToOne {
protected AccessMethods accessMethods;
/**
- * The cached value of the '{@link #getNoncacheable() <em>Noncacheable</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNoncacheable()
- * @generated
- * @ordered
- */
- protected EmptyType noncacheable;
-
- /**
- * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPartitioning()
- * @generated
- * @ordered
- */
- 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
- */
- 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
- */
- protected RoundRobinPartitioning roundRobinPartitioning;
-
- /**
- * The cached value of the '{@link #getPinnedPartitioning() <em>Pinned Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPinnedPartitioning()
- * @generated
- * @ordered
- */
- protected PinnedPartitioning pinnedPartitioning;
-
- /**
- * The cached value of the '{@link #getRangePartitioning() <em>Range Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRangePartitioning()
- * @generated
- * @ordered
- */
- protected RangePartitioning rangePartitioning;
-
- /**
- * The cached value of the '{@link #getValuePartitioning() <em>Value Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValuePartitioning()
- * @generated
- * @ordered
- */
- protected ValuePartitioning valuePartitioning;
-
- /**
- * The cached value of the '{@link #getHashPartitioning() <em>Hash Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getHashPartitioning()
- * @generated
- * @ordered
- */
- protected HashPartitioning hashPartitioning;
-
- /**
- * The cached value of the '{@link #getUnionPartitioning() <em>Union Partitioning</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUnionPartitioning()
- * @generated
- * @ordered
- */
- protected UnionPartitioning unionPartitioning;
-
- /**
- * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @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 -->
- * <!-- end-user-doc -->
- * @see #getPartitioned()
- * @generated
- * @ordered
- */
- protected String partitioned = PARTITIONED_EDEFAULT;
-
- /**
- * The default value of the '{@link #getAccess() <em>Access</em>}' attribute.
- * <!-- begin-user-doc --> <!--
+ * The cached value of the '{@link #getNoncacheable() <em>Noncacheable</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getNoncacheable()
+ * @generated
+ * @ordered
+ */
+ protected EmptyType noncacheable;
+
+ /**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ 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
+ */
+ protected RoundRobinPartitioning roundRobinPartitioning;
+
+ /**
+ * The cached value of the '{@link #getPinnedPartitioning() <em>Pinned Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getPinnedPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected PinnedPartitioning pinnedPartitioning;
+
+ /**
+ * The cached value of the '{@link #getRangePartitioning() <em>Range Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getRangePartitioning()
+ * @generated
+ * @ordered
+ */
+ protected RangePartitioning rangePartitioning;
+
+ /**
+ * The cached value of the '{@link #getValuePartitioning() <em>Value Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getValuePartitioning()
+ * @generated
+ * @ordered
+ */
+ protected ValuePartitioning valuePartitioning;
+
+ /**
+ * The cached value of the '{@link #getHashPartitioning() <em>Hash Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getHashPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected HashPartitioning hashPartitioning;
+
+ /**
+ * The cached value of the '{@link #getUnionPartitioning() <em>Union Partitioning</em>}' containment reference. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #getUnionPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected UnionPartitioning unionPartitioning;
+
+ /**
+ * The default value of the '{@link #getPartitioned() <em>Partitioned</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @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 --> <!--
* end-user-doc -->
- * @see #getAccess()
- * @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 --> <!--
+ * end-user-doc -->
+ *
+ * @see #getAccess()
+ * @generated
+ * @ordered
+ */
protected static final AccessType ACCESS_EDEFAULT = AccessType.PROPERTY;
/**
@@ -350,11 +360,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;
/**
@@ -378,77 +388,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;
/**
@@ -462,1544 +472,1832 @@ 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
- */
- public boolean isCascadeOnDelete() {
- return cascadeOnDelete;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public boolean isSetCascadeOnDelete() {
- return cascadeOnDeleteESet;
- }
-
- /**
- * <!-- 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;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public boolean isSetCascadeOnDelete() {
+ return cascadeOnDeleteESet;
+ }
+
+ /**
+ * <!-- 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;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BatchFetch getBatchFetch() {
- return batchFetch;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
+ return joinFetchESet;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public BatchFetch getBatchFetch() {
+ return batchFetch;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
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
- */
- public EmptyType getNoncacheable() {
- return noncacheable;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public Partitioning getPartitioning() {
- return partitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public ReplicationPartitioning getReplicationPartitioning() {
- return replicationPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public RoundRobinPartitioning getRoundRobinPartitioning() {
- return roundRobinPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public PinnedPartitioning getPinnedPartitioning() {
- return pinnedPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public RangePartitioning getRangePartitioning() {
- return rangePartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public ValuePartitioning getValuePartitioning() {
- return valuePartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public HashPartitioning getHashPartitioning() {
- return hashPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public UnionPartitioning getUnionPartitioning() {
- return unionPartitioning;
- }
-
- /**
- * <!-- 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
- */
- 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
- */
- public String getPartitioned() {
- return partitioned;
- }
-
- /**
- * <!-- 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));
- }
-
- /**
- * <!-- 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;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public Partitioning getPartitioning() {
+ return partitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public ReplicationPartitioning getReplicationPartitioning() {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public RoundRobinPartitioning getRoundRobinPartitioning() {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public PinnedPartitioning getPinnedPartitioning() {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public RangePartitioning getRangePartitioning() {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public ValuePartitioning getValuePartitioning() {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public HashPartitioning getHashPartitioning() {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public UnionPartitioning getUnionPartitioning() {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- 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
+ */
+ 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
+ */
+ public String getPartitioned() {
+ return partitioned;
+ }
+
+ /**
+ * <!-- 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));
+ }
+ }
+
+ /**
+ * <!-- 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/annotator/EAttributeORMAnnotator.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EAttributeORMAnnotator.java
index 08b0b623..f39e3cf9 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EAttributeORMAnnotator.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EAttributeORMAnnotator.java
@@ -210,6 +210,8 @@ public class EAttributeORMAnnotator extends EStructuralFeatureORMAnnotator imple
elementCollection.setTemporal(TemporalType.TIMESTAMP);
} else if (isDate) {
elementCollection.setTemporal(TemporalType.DATE);
+ } else if (doAddConverter(eAttributeModelGen)) {
+ elementCollection.setConvert(ORMUtils.OBJECT_CONVERTER_NAME);
}
if (isEnum && elementCollection.getEnumerated() == null) {
@@ -295,6 +297,8 @@ public class EAttributeORMAnnotator extends EStructuralFeatureORMAnnotator imple
basic.setTemporal(TemporalType.TIMESTAMP);
} else if (isDate) {
basic.setTemporal(TemporalType.DATE);
+ } else if (doAddConverter(eAttributeModelGen)) {
+ basic.setConvert(ORMUtils.OBJECT_CONVERTER_NAME);
}
if (!basicSet && !GeneratorUtils.isOptional(eAttribute)) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EClassORMAnnotator.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EClassORMAnnotator.java
index 1b4f141e..5179854b 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EClassORMAnnotator.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EClassORMAnnotator.java
@@ -89,6 +89,14 @@ public class EClassORMAnnotator extends ETypeElementORMAnnotator implements Anno
annotation.setEntity(OrmFactory.eINSTANCE.createEntity());
}
+ if (ORMMappingOptions.getDefaultOptions().isTestRun()) {
+ if (annotation.getEntity() != null) {
+ annotation.getEntity().getConverter().add(ORMUtils.createDefaultConverter());
+ } else if (annotation.getMappedSuperclass() != null) {
+ annotation.getMappedSuperclass().getConverter().add(ORMUtils.createDefaultConverter());
+ }
+ }
+
final Entity entity = annotation.getEntity();
if (entity != null) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EReferenceORMAnnotator.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EReferenceORMAnnotator.java
index 8f5dee71..a3ca563e 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EReferenceORMAnnotator.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EReferenceORMAnnotator.java
@@ -82,6 +82,8 @@ public class EReferenceORMAnnotator extends EStructuralFeatureORMAnnotator imple
final EPackage ePackage = eReference.getEContainingClass().getEPackage();
final EPackageORMAnnotation ePackageORMAnnotation = (EPackageORMAnnotation) getAnnotationManager().getAnnotation(
ePackage, OrmannotationsPackage.eINSTANCE.getEPackageORMAnnotation());
+ final EReferenceModelGenAnnotation eReferenceModelGenAnnotation = (EReferenceModelGenAnnotation) getAnnotationManager()
+ .getAnnotation(eReference, ModelcodegeneratorPackage.eINSTANCE.getEReferenceModelGenAnnotation());
// features which are part of a featuremap are never mapped as many features
final boolean isPartOfFeatureMap = GeneratorUtils.isPartOfGroup(annotation.getEReference());
@@ -89,7 +91,9 @@ public class EReferenceORMAnnotator extends EStructuralFeatureORMAnnotator imple
final EReference eOpposite = eReference.getEOpposite();
if (!isPartOfFeatureMap && eReference.isMany()) {
- if (ModelUtils.isEMap(annotation.getEReference().getEReferenceType())) {
+ if (doAddConverter(eReferenceModelGenAnnotation)) {
+ addElementCollection(annotation);
+ } else if (ModelUtils.isEMap(annotation.getEReference().getEReferenceType())) {
mapMap(annotation);
} else if (eOpposite != null && eOpposite.isMany()) {
annotateManyToMany(annotation);
@@ -106,7 +110,11 @@ public class EReferenceORMAnnotator extends EStructuralFeatureORMAnnotator imple
final EClassORMAnnotation referencedEClassORMAnnotation = (EClassORMAnnotation) getAnnotationManager()
.getAnnotation(referencedEClass, OrmannotationsPackage.eINSTANCE.getEClassORMAnnotation());
- if (annotation.getEmbedded() != null || referencedEClassORMAnnotation.getEmbeddable() != null
+ if (doAddConverter(eReferenceModelGenAnnotation)) {
+ // an object map as a basic...
+ annotation.setBasic(OrmFactory.eINSTANCE.createBasic());
+ annotation.getBasic().setConvert(ORMUtils.OBJECT_CONVERTER_NAME);
+ } else if (annotation.getEmbedded() != null || referencedEClassORMAnnotation.getEmbeddable() != null
&& referencedEClassORMAnnotation.getEntity() == null) {
annotateEmbedded(annotation);
} else if (eOpposite != null && !eOpposite.isMany()) {
@@ -219,6 +227,10 @@ public class EReferenceORMAnnotator extends EStructuralFeatureORMAnnotator imple
final EReferenceModelGenAnnotation eReferenceModelGenAnnotation = (EReferenceModelGenAnnotation) getAnnotationManager()
.getAnnotation(eReference, ModelcodegeneratorPackage.eINSTANCE.getEReferenceModelGenAnnotation());
+ if (doAddConverter(eReferenceModelGenAnnotation)) {
+ oneToMany.setConverter(ORMUtils.createDefaultConverter());
+ }
+
// set the order column, is always set on this side
if (!ModelUtils.isEMap(eReference.getEReferenceType()) && oneToMany.getOrderBy() == null
&& ePackageORMAnnotation.isAddOrderColumnToListMappings() && eReferenceModelGenAnnotation.isUseList()
@@ -295,12 +307,15 @@ public class EReferenceORMAnnotator extends EStructuralFeatureORMAnnotator imple
if (valueEFeature instanceof EReference) {
annotateOneToMany(annotation);
} else {
- mapPrimitiveCollectionMap(annotation);
+ addElementCollection(annotation);
}
}
- protected void mapPrimitiveCollectionMap(EReferenceORMAnnotation annotation) {
+ protected void addElementCollection(EReferenceORMAnnotation annotation) {
final EReference eReference = annotation.getEReference();
+ final EReferenceModelGenAnnotation eReferenceModelGenAnnotation = (EReferenceModelGenAnnotation) getAnnotationManager()
+ .getAnnotation(eReference, ModelcodegeneratorPackage.eINSTANCE.getEReferenceModelGenAnnotation());
+
final ORMNamingStrategy namingStrategy = getOrmNamingStrategy(eReference.getEContainingClass().getEPackage());
final ElementCollection elementCollection;
if (annotation.getElementCollection() == null) {
@@ -318,6 +333,10 @@ public class EReferenceORMAnnotator extends EStructuralFeatureORMAnnotator imple
elementCollection.getCollectionTable().setName(namingStrategy.getJoinTableName(eReference));
}
elementCollection.setName(getName(eReference));
+ if (doAddConverter(eReferenceModelGenAnnotation)) {
+ elementCollection.setConvert(ORMUtils.OBJECT_CONVERTER_NAME);
+ }
+
annotation.setElementCollection(elementCollection);
}
@@ -607,6 +626,10 @@ public class EReferenceORMAnnotator extends EStructuralFeatureORMAnnotator imple
final EReferenceModelGenAnnotation eReferenceModelGenAnnotation = (EReferenceModelGenAnnotation) getAnnotationManager()
.getAnnotation(eReference, ModelcodegeneratorPackage.eINSTANCE.getEReferenceModelGenAnnotation());
+ if (doAddConverter(eReferenceModelGenAnnotation)) {
+ manyToMany.setConverter(ORMUtils.createDefaultConverter());
+ }
+
if (eReference.getEOpposite() != null) {
final EReferenceModelGenAnnotation eOppositeModelGenAnnotation = (EReferenceModelGenAnnotation) getAnnotationManager()
.getAnnotation(eReference.getEOpposite(),
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EStructuralFeatureORMAnnotator.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EStructuralFeatureORMAnnotator.java
index 1ac0e048..7f6f19ea 100644
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EStructuralFeatureORMAnnotator.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/EStructuralFeatureORMAnnotator.java
@@ -17,6 +17,12 @@
package org.eclipse.emf.texo.orm.annotator;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.util.FeatureMapUtil;
+import org.eclipse.emf.texo.modelgenerator.modelannotations.EStructuralFeatureModelGenAnnotation;
+import org.eclipse.emf.texo.utils.ModelUtils;
+
/**
* Base class of EStructuralFeature annotators.
*
@@ -25,4 +31,25 @@ package org.eclipse.emf.texo.orm.annotator;
*/
public class EStructuralFeatureORMAnnotator extends ETypeElementORMAnnotator {
+ protected boolean doAddConverter(EStructuralFeatureModelGenAnnotation annotation) {
+ if (FeatureMapUtil.isFeatureMap(annotation.getEStructuralFeature())) {
+ return false;
+ }
+ if (!ORMMappingOptions.getDefaultOptions().isTestRun()) {
+ return false;
+ }
+ if (annotation.getEStructuralFeature().getEType() instanceof EEnum) {
+ return false;
+ }
+ if (ModelUtils.isAnyType(annotation.getEStructuralFeature())) {
+ return true;
+ }
+ if (annotation.getObjectType() != null
+ && (annotation.getItemType().equals(EObject.class.getName()) || annotation.getItemType().equals(
+ Object.class.getName()))) {
+ return true;
+ }
+ return false;
+ }
+
} \ No newline at end of file
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMGenerator.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMGenerator.java
index 2c81eed6..01713fcb 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMGenerator.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMGenerator.java
@@ -66,12 +66,12 @@ import org.eclipse.emf.texo.orm.annotations.model.orm.PersistenceUnitDefaults;
import org.eclipse.emf.texo.orm.annotations.model.orm.PersistenceUnitMetadata;
import org.eclipse.emf.texo.orm.annotations.model.orm.SupportedVersionsType;
import org.eclipse.emf.texo.orm.annotations.model.orm.Transient;
-import org.eclipse.emf.texo.orm.annotations.model.orm.util.OrmResourceFactoryImpl;
import org.eclipse.emf.texo.orm.ormannotations.EAttributeORMAnnotation;
import org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation;
import org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation;
import org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation;
import org.eclipse.emf.texo.orm.ormannotations.OrmannotationsPackage;
+import org.eclipse.emf.texo.orm.ormannotations.util.OrmannotationsResourceFactoryImpl;
import org.eclipse.emf.texo.utils.ModelUtils;
/**
@@ -208,7 +208,7 @@ public class ORMGenerator extends BaseGenerateAction {
protected void storeORM(URI fileUri, AnnotatedModel annotatedModel, AnnotationManager annotationManager,
EntityMappingsType entityMappings) {
- final Resource ormResource = new OrmResourceFactoryImpl().createResource(fileUri);
+ final Resource ormResource = new OrmannotationsResourceFactoryImpl().createResource(fileUri);
try {
final File file = new File(fileUri.toFileString());
if (file.exists()) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMJavaAnnotationGenerator.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMJavaAnnotationGenerator.java
index 55e931fc..f2fe3d16 100644
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMJavaAnnotationGenerator.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMJavaAnnotationGenerator.java
@@ -31,7 +31,7 @@ import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.texo.orm.annotations.model.orm.Enumerated;
+import org.eclipse.emf.texo.orm.annotations.model.orm.EnumType;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmPackage;
/**
@@ -56,6 +56,7 @@ public class ORMJavaAnnotationGenerator {
private List<EClassifier> eclipseLinkEClassifiers = new ArrayList<EClassifier>();
private List<String> classFeatureNames = new ArrayList<String>();
private Map<Class<?>, String> enumTypeNames = new HashMap<Class<?>, String>();
+ private Map<EStructuralFeature, String> eFeatureAnnotationMapping = new HashMap<EStructuralFeature, String>();
public ORMJavaAnnotationGenerator() {
// the list of eclasses coming from eclipselink
@@ -100,8 +101,14 @@ public class ORMJavaAnnotationGenerator {
classFeatureNames.add("entityClass"); //$NON-NLS-1$
classFeatureNames.add("targetEntity"); //$NON-NLS-1$
classFeatureNames.add("targetClass"); //$NON-NLS-1$
+ classFeatureNames.add("class"); //$NON-NLS-1$
- enumTypeNames.put(Enumerated.class, "EnumType");
+ enumTypeNames.put(EnumType.class, "EnumType");
+
+ eFeatureAnnotationMapping.put(OrmPackage.eINSTANCE.getElementCollection_Convert(),
+ "org.eclipse.persistence.annotations.Convert");
+ eFeatureAnnotationMapping.put(OrmPackage.eINSTANCE.getBasic_Convert(),
+ "org.eclipse.persistence.annotations.Convert");
}
/**
@@ -142,8 +149,18 @@ public class ORMJavaAnnotationGenerator {
continue;
}
- // always ignore this one
- if (eFeature.getName().equals("class")) { //$NON-NLS-1$
+ // always ignore this one, except for the converter
+ if (eFeature.getEContainingClass() != OrmPackage.eINSTANCE.getConverter() && eFeature.getName().equals("class")) { //$NON-NLS-1$
+ continue;
+ }
+
+ // for now assume that the
+ if (eFeatureAnnotationMapping.containsKey(eFeature)) {
+ if (value instanceof String) {
+ separateAnnotation.append("@" + eFeatureAnnotationMapping.get(eFeature) + "(\"" + value + "\")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ } else {
+ separateAnnotation.append("@" + eFeatureAnnotationMapping.get(eFeature) + "(" + value + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ }
continue;
}
@@ -211,7 +228,12 @@ public class ORMJavaAnnotationGenerator {
}
sb.append("}"); //$NON-NLS-1$
} else {
- sb.append(eFeature.getName() + "="); //$NON-NLS-1$
+ // special case to rename, make more generic
+ if (eFeature == OrmPackage.eINSTANCE.getConverter_Class()) {
+ sb.append("converterClass=");
+ } else {
+ sb.append(eFeature.getName() + "="); //$NON-NLS-1$
+ }
sb.append(generateJavaAnnotation(eFeature, value, identifier));
}
}
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMUtils.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMUtils.java
index c483ae53..11351dc4 100644
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMUtils.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/ORMUtils.java
@@ -22,6 +22,8 @@ import org.eclipse.core.resources.IProject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.texo.component.ComponentProvider;
import org.eclipse.emf.texo.eclipse.ProjectPropertyUtil;
+import org.eclipse.emf.texo.orm.annotations.model.orm.Converter;
+import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation;
/**
@@ -31,6 +33,22 @@ import org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation;
*/
public class ORMUtils {
+ public static final String OBJECT_CONVERTER_CLASS = "org.eclipse.emf.texo.test.TexoTestObjectConverter";
+ public static final String OBJECT_CONVERTER_NAME = "TexoTestObjectConverter";
+
+ /**
+ * Creates the default converter used to convert Objects to String and back.
+ *
+ * @see #OBJECT_CONVERTER_CLASS
+ * @see #OBJECT_CONVERTER_NAME
+ */
+ public static Converter createDefaultConverter() {
+ final Converter converter = OrmFactory.eINSTANCE.createConverter();
+ converter.setClass(ORMUtils.OBJECT_CONVERTER_CLASS);
+ converter.setName(ORMUtils.OBJECT_CONVERTER_NAME);
+ return converter;
+ }
+
/**
* Reads project properties and creates a {@link ORMMappingOptions} object and sets it in the
* {@link ORMMappingOptions#setDefaultOptions(ORMMappingOptions)}. This is picked up during ORM and JPA code
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/StandardORMGenerator.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/StandardORMGenerator.java
index f5dab00d..b3a1f305 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/StandardORMGenerator.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/annotator/StandardORMGenerator.java
@@ -33,8 +33,8 @@ import org.eclipse.emf.texo.orm.annotations.model.orm.DocumentRoot;
import org.eclipse.emf.texo.orm.annotations.model.orm.EntityMappingsType;
import org.eclipse.emf.texo.orm.annotations.model.orm.OrmFactory;
import org.eclipse.emf.texo.orm.annotations.model.orm.SupportedVersionsType;
-import org.eclipse.emf.texo.orm.annotations.model.orm.util.OrmResourceFactoryImpl;
-import org.eclipse.emf.texo.orm.annotations.model.orm.util.OrmResourceImpl;
+import org.eclipse.emf.texo.orm.ormannotations.util.OrmannotationsResourceFactoryImpl;
+import org.eclipse.emf.texo.orm.ormannotations.util.OrmannotationsResourceImpl;
/**
* Generates an ORM model on the basis of an annotated model and then replaces the namespace and version to let it work
@@ -65,7 +65,8 @@ public class StandardORMGenerator extends ORMGenerator {
} else {
entityMappings.setVersion(SupportedVersionsType._23);
}
- final OrmResourceImpl ormResource = (OrmResourceImpl) new OrmResourceFactoryImpl().createResource(fileUri);
+ final OrmannotationsResourceImpl ormResource = (OrmannotationsResourceImpl) new OrmannotationsResourceFactoryImpl()
+ .createResource(fileUri);
try {
final File file = new File(fileUri.toFileString());
if (file.exists()) {
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EClassORMAnnotation.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EClassORMAnnotation.java
index 2af2024f..ffbe6bd9 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EClassORMAnnotation.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EClassORMAnnotation.java
@@ -82,15 +82,15 @@ public class EClassORMAnnotation extends EClassAnnotation implements EClassifier
/**
* The cached value of the '{@link #getInheritance() <em>Inheritance</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
* @see #getInheritance()
* @generated
* @ordered
*/
- protected Inheritance inheritance;
+ protected Inheritance inheritance;
- /**
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@@ -322,27 +322,26 @@ public class EClassORMAnnotation extends EClassAnnotation implements EClassifier
/**
* Returns the value of the '<em><b>Inheritance</b></em>' containment reference.
* <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Inheritance</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inheritance</em>' containment reference isn't clear, there really should be more of a
+ * description here...
+ * </p>
+ * <!-- end-user-doc -->
* @return the value of the '<em>Inheritance</em>' containment reference.
* @see #setInheritance(Inheritance)
* @see org.eclipse.emf.texo.orm.ormannotations.OrmannotationsPackage#getEClassORMAnnotation_Inheritance()
* @model containment="true"
* @generated
*/
- public Inheritance getInheritance() {
+ public Inheritance getInheritance() {
return inheritance;
}
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- public NotificationChain basicSetInheritance(Inheritance newInheritance, NotificationChain msgs) {
+ public NotificationChain basicSetInheritance(Inheritance newInheritance, NotificationChain msgs) {
Inheritance oldInheritance = inheritance;
inheritance = newInheritance;
if (eNotificationRequired()) {
@@ -352,15 +351,14 @@ public class EClassORMAnnotation extends EClassAnnotation implements EClassifier
return msgs;
}
- /**
+ /**
* Sets the value of the '{@link org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation#getInheritance <em>Inheritance</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Inheritance</em>' containment reference.
* @see #getInheritance()
* @generated
*/
- public void setInheritance(Inheritance newInheritance) {
+ public void setInheritance(Inheritance newInheritance) {
if (newInheritance != inheritance) {
NotificationChain msgs = null;
if (inheritance != null)
@@ -374,7 +372,7 @@ public class EClassORMAnnotation extends EClassAnnotation implements EClassifier
eNotify(new ENotificationImpl(this, Notification.SET, OrmannotationsPackage.ECLASS_ORM_ANNOTATION__INHERITANCE, newInheritance, newInheritance));
}
- /**
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EEnumORMAnnotation.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EEnumORMAnnotation.java
index 603aab6b..c981b6b5 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EEnumORMAnnotation.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EEnumORMAnnotation.java
@@ -19,7 +19,7 @@ import org.eclipse.emf.texo.annotations.annotationsmodel.EDataTypeAnnotation;
import org.eclipse.emf.texo.annotations.annotationsmodel.EEnumAnnotation;
import org.eclipse.emf.texo.orm.annotations.model.orm.Basic;
import org.eclipse.emf.texo.orm.annotations.model.orm.ElementCollection;
-import org.eclipse.emf.texo.orm.annotations.model.orm.Enumerated;
+import org.eclipse.emf.texo.orm.annotations.model.orm.EnumType;
import org.eclipse.emf.texo.orm.annotations.model.orm.Transient;
import org.eclipse.emf.texo.orm.annotations.model.orm.Version;
@@ -60,7 +60,7 @@ public class EEnumORMAnnotation extends EEnumAnnotation implements EDataTypeORMA
* @generated
* @ordered
*/
- protected static final Enumerated ENUMERATED_EDEFAULT = Enumerated.ORDINAL;
+ protected static final EnumType ENUMERATED_EDEFAULT = null;
/**
* The cached value of the '{@link #getEnumerated() <em>Enumerated</em>}' attribute.
@@ -70,7 +70,7 @@ public class EEnumORMAnnotation extends EEnumAnnotation implements EDataTypeORMA
* @generated
* @ordered
*/
- protected Enumerated enumerated = ENUMERATED_EDEFAULT;
+ protected EnumType enumerated = ENUMERATED_EDEFAULT;
/**
* The cached value of the '{@link #getBasic() <em>Basic</em>}' containment reference.
@@ -254,7 +254,6 @@ public class EEnumORMAnnotation extends EEnumAnnotation implements EDataTypeORMA
/**
* Returns the value of the '<em><b>Enumerated</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.emf.texo.orm.annotations.model.orm.Enumerated}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Enumerated</em>' attribute isn't clear, there really should be more of a description
@@ -262,13 +261,12 @@ public class EEnumORMAnnotation extends EEnumAnnotation implements EDataTypeORMA
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Enumerated</em>' attribute.
- * @see org.eclipse.emf.texo.orm.annotations.model.orm.Enumerated
- * @see #setEnumerated(Enumerated)
+ * @see #setEnumerated(EnumType)
* @see org.eclipse.emf.texo.orm.ormannotations.OrmannotationsPackage#getEEnumORMAnnotation_Enumerated()
- * @model
+ * @model dataType="org.eclipse.emf.texo.orm.annotations.model.orm.Enumerated"
* @generated
*/
- public Enumerated getEnumerated() {
+ public EnumType getEnumerated() {
return enumerated;
}
@@ -276,13 +274,12 @@ public class EEnumORMAnnotation extends EEnumAnnotation implements EDataTypeORMA
* Sets the value of the '{@link org.eclipse.emf.texo.orm.ormannotations.EEnumORMAnnotation#getEnumerated <em>Enumerated</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Enumerated</em>' attribute.
- * @see org.eclipse.emf.texo.orm.annotations.model.orm.Enumerated
* @see #getEnumerated()
* @generated
*/
- public void setEnumerated(Enumerated newEnumerated) {
- Enumerated oldEnumerated = enumerated;
- enumerated = newEnumerated == null ? ENUMERATED_EDEFAULT : newEnumerated;
+ public void setEnumerated(EnumType newEnumerated) {
+ EnumType oldEnumerated = enumerated;
+ enumerated = newEnumerated;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, OrmannotationsPackage.EENUM_ORM_ANNOTATION__ENUMERATED, oldEnumerated, enumerated));
}
@@ -536,7 +533,7 @@ public class EEnumORMAnnotation extends EEnumAnnotation implements EDataTypeORMA
setTransient((Transient)newValue);
return;
case OrmannotationsPackage.EENUM_ORM_ANNOTATION__ENUMERATED:
- setEnumerated((Enumerated)newValue);
+ setEnumerated((EnumType)newValue);
return;
case OrmannotationsPackage.EENUM_ORM_ANNOTATION__BASIC:
setBasic((Basic)newValue);
@@ -594,7 +591,7 @@ public class EEnumORMAnnotation extends EEnumAnnotation implements EDataTypeORMA
case OrmannotationsPackage.EENUM_ORM_ANNOTATION__TRANSIENT:
return transient_ != null;
case OrmannotationsPackage.EENUM_ORM_ANNOTATION__ENUMERATED:
- return enumerated != ENUMERATED_EDEFAULT;
+ return ENUMERATED_EDEFAULT == null ? enumerated != null : !ENUMERATED_EDEFAULT.equals(enumerated);
case OrmannotationsPackage.EENUM_ORM_ANNOTATION__BASIC:
return basic != null;
case OrmannotationsPackage.EENUM_ORM_ANNOTATION__VERSION:
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EReferenceORMAnnotation.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EReferenceORMAnnotation.java
index 612c1965..71ae614c 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EReferenceORMAnnotation.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/EReferenceORMAnnotation.java
@@ -21,6 +21,7 @@ import org.eclipse.emf.texo.annotations.AnnotationProvider;
import org.eclipse.emf.texo.annotations.annotationsmodel.EReferenceAnnotation;
import org.eclipse.emf.texo.orm.annotations.model.orm.AssociationOverride;
import org.eclipse.emf.texo.orm.annotations.model.orm.AttributeOverride;
+import org.eclipse.emf.texo.orm.annotations.model.orm.Basic;
import org.eclipse.emf.texo.orm.annotations.model.orm.BasicCollection;
import org.eclipse.emf.texo.orm.annotations.model.orm.BasicMap;
import org.eclipse.emf.texo.orm.annotations.model.orm.CollectionTable;
@@ -68,6 +69,7 @@ import org.eclipse.emf.texo.orm.annotator.ORMGenerator;
* <li>{@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation#getAssociationOverride <em>Association Override</em>}</li>
* <li>{@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation#getAttributeOverride <em>Attribute Override</em>}</li>
* <li>{@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation#getPrimaryKeyJoinColumn <em>Primary Key Join Column</em>}</li>
+ * <li>{@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation#getBasic <em>Basic</em>}</li>
* </ul>
* </p>
*
@@ -303,6 +305,16 @@ public class EReferenceORMAnnotation extends EReferenceAnnotation implements ESt
protected EList<PrimaryKeyJoinColumn> primaryKeyJoinColumn;
/**
+ * The cached value of the '{@link #getBasic() <em>Basic</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBasic()
+ * @generated
+ * @ordered
+ */
+ protected Basic basic;
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@@ -433,6 +445,61 @@ public class EReferenceORMAnnotation extends EReferenceAnnotation implements ESt
}
/**
+ * Returns the value of the '<em><b>Basic</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Basic</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Basic</em>' containment reference.
+ * @see #setBasic(Basic)
+ * @see org.eclipse.emf.texo.orm.ormannotations.OrmannotationsPackage#getEReferenceORMAnnotation_Basic()
+ * @model containment="true"
+ * @generated
+ */
+ public Basic getBasic() {
+ return basic;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBasic(Basic newBasic, NotificationChain msgs) {
+ Basic oldBasic = basic;
+ basic = newBasic;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC, oldBasic, newBasic);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation#getBasic <em>Basic</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Basic</em>' containment reference.
+ * @see #getBasic()
+ * @generated
+ */
+ public void setBasic(Basic newBasic) {
+ if (newBasic != basic) {
+ NotificationChain msgs = null;
+ if (basic != null)
+ msgs = ((InternalEObject)basic).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC, null, msgs);
+ if (newBasic != null)
+ msgs = ((InternalEObject)newBasic).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC, null, msgs);
+ msgs = basicSetBasic(newBasic, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC, newBasic, newBasic));
+ }
+
+ /**
* Returns the value of the '<em><b>Transient</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
@@ -1403,6 +1470,8 @@ public class EReferenceORMAnnotation extends EReferenceAnnotation implements ESt
return ((InternalEList<?>)getAttributeOverride()).basicRemove(otherEnd, msgs);
case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN:
return ((InternalEList<?>)getPrimaryKeyJoinColumn()).basicRemove(otherEnd, msgs);
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC:
+ return basicSetBasic(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -1458,6 +1527,8 @@ public class EReferenceORMAnnotation extends EReferenceAnnotation implements ESt
return getAttributeOverride();
case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN:
return getPrimaryKeyJoinColumn();
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC:
+ return getBasic();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -1541,6 +1612,9 @@ public class EReferenceORMAnnotation extends EReferenceAnnotation implements ESt
getPrimaryKeyJoinColumn().clear();
getPrimaryKeyJoinColumn().addAll((Collection<? extends PrimaryKeyJoinColumn>)newValue);
return;
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC:
+ setBasic((Basic)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -1618,6 +1692,9 @@ public class EReferenceORMAnnotation extends EReferenceAnnotation implements ESt
case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN:
getPrimaryKeyJoinColumn().clear();
return;
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC:
+ setBasic((Basic)null);
+ return;
}
super.eUnset(featureID);
}
@@ -1673,6 +1750,8 @@ public class EReferenceORMAnnotation extends EReferenceAnnotation implements ESt
return isSetAttributeOverride();
case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN:
return primaryKeyJoinColumn != null && !primaryKeyJoinColumn.isEmpty();
+ case OrmannotationsPackage.EREFERENCE_ORM_ANNOTATION__BASIC:
+ return basic != null;
}
return super.eIsSet(featureID);
}
diff --git a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/OrmannotationsPackage.java b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/OrmannotationsPackage.java
index 2748cbf3..bc7a59fd 100755
--- a/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/OrmannotationsPackage.java
+++ b/generator/org.eclipse.emf.texo.orm/src/org/eclipse/emf/texo/orm/ormannotations/OrmannotationsPackage.java
@@ -84,23 +84,21 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Last Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EPACKAGE_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EPACKAGE_ANNOTATION__LAST_IDENTIFIER;
+ public static final int EPACKAGE_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EPACKAGE_ANNOTATION__LAST_IDENTIFIER;
- /**
+ /**
* The feature id for the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EPACKAGE_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EPACKAGE_ANNOTATION__GENERATED;
+ public static final int EPACKAGE_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EPACKAGE_ANNOTATION__GENERATED;
- /**
+ /**
* The feature id for the '<em><b>EPackage</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -233,8 +231,8 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Generate Java Annotations</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
* @generated
* @ordered
*/
@@ -242,32 +240,32 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Add Order Column To List Mappings</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
* @generated
* @ordered
*/
- public static final int EPACKAGE_ORM_ANNOTATION__ADD_ORDER_COLUMN_TO_LIST_MAPPINGS = AnnotationsmodelPackage.EPACKAGE_ANNOTATION_FEATURE_COUNT + 14;
+ public static final int EPACKAGE_ORM_ANNOTATION__ADD_ORDER_COLUMN_TO_LIST_MAPPINGS = AnnotationsmodelPackage.EPACKAGE_ANNOTATION_FEATURE_COUNT + 14;
- /**
+ /**
* The feature id for the '<em><b>Rename SQL Reserved Names</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
* @generated
* @ordered
*/
- public static final int EPACKAGE_ORM_ANNOTATION__RENAME_SQL_RESERVED_NAMES = AnnotationsmodelPackage.EPACKAGE_ANNOTATION_FEATURE_COUNT + 15;
+ public static final int EPACKAGE_ORM_ANNOTATION__RENAME_SQL_RESERVED_NAMES = AnnotationsmodelPackage.EPACKAGE_ANNOTATION_FEATURE_COUNT + 15;
- /**
+ /**
* The feature id for the '<em><b>Inheritance</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
* @generated
* @ordered
*/
- public static final int EPACKAGE_ORM_ANNOTATION__INHERITANCE = AnnotationsmodelPackage.EPACKAGE_ANNOTATION_FEATURE_COUNT + 16;
+ public static final int EPACKAGE_ORM_ANNOTATION__INHERITANCE = AnnotationsmodelPackage.EPACKAGE_ANNOTATION_FEATURE_COUNT + 16;
- /**
+ /**
* The number of structural features of the '<em>EPackage ORM Annotation</em>' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
@@ -375,23 +373,21 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Last Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int ECLASS_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.ECLASS_ANNOTATION__LAST_IDENTIFIER;
+ public static final int ECLASS_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.ECLASS_ANNOTATION__LAST_IDENTIFIER;
- /**
+ /**
* The feature id for the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int ECLASS_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.ECLASS_ANNOTATION__GENERATED;
+ public static final int ECLASS_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.ECLASS_ANNOTATION__GENERATED;
- /**
+ /**
* The feature id for the '<em><b>EClassifier</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -463,14 +459,14 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Inheritance</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
* @generated
* @ordered
*/
- public static final int ECLASS_ORM_ANNOTATION__INHERITANCE = AnnotationsmodelPackage.ECLASS_ANNOTATION_FEATURE_COUNT + 4;
+ public static final int ECLASS_ORM_ANNOTATION__INHERITANCE = AnnotationsmodelPackage.ECLASS_ANNOTATION_FEATURE_COUNT + 4;
- /**
+ /**
* The number of structural features of the '<em>EClass ORM Annotation</em>' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
@@ -506,23 +502,21 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Last Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EDATA_TYPE_ORM_ANNOTATION_DEFINITION__LAST_IDENTIFIER = AnnotationsmodelPackage.EDATA_TYPE_ANNOTATION__LAST_IDENTIFIER;
+ public static final int EDATA_TYPE_ORM_ANNOTATION_DEFINITION__LAST_IDENTIFIER = AnnotationsmodelPackage.EDATA_TYPE_ANNOTATION__LAST_IDENTIFIER;
- /**
+ /**
* The feature id for the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EDATA_TYPE_ORM_ANNOTATION_DEFINITION__GENERATED = AnnotationsmodelPackage.EDATA_TYPE_ANNOTATION__GENERATED;
+ public static final int EDATA_TYPE_ORM_ANNOTATION_DEFINITION__GENERATED = AnnotationsmodelPackage.EDATA_TYPE_ANNOTATION__GENERATED;
- /**
+ /**
* The feature id for the '<em><b>EClassifier</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -646,23 +640,21 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Last Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EATTRIBUTE_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EATTRIBUTE_ANNOTATION__LAST_IDENTIFIER;
+ public static final int EATTRIBUTE_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EATTRIBUTE_ANNOTATION__LAST_IDENTIFIER;
- /**
+ /**
* The feature id for the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EATTRIBUTE_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EATTRIBUTE_ANNOTATION__GENERATED;
+ public static final int EATTRIBUTE_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EATTRIBUTE_ANNOTATION__GENERATED;
- /**
+ /**
* The feature id for the '<em><b>EStructural Feature</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
@@ -760,14 +752,14 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Many To One</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
* @generated
* @ordered
*/
- public static final int EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE = AnnotationsmodelPackage.EATTRIBUTE_ANNOTATION_FEATURE_COUNT + 8;
+ public static final int EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE = AnnotationsmodelPackage.EATTRIBUTE_ANNOTATION_FEATURE_COUNT + 8;
- /**
+ /**
* The number of structural features of the '<em>EAttribute ORM Annotation</em>' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
@@ -803,23 +795,21 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Last Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EREFERENCE_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EREFERENCE_ANNOTATION__LAST_IDENTIFIER;
+ public static final int EREFERENCE_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EREFERENCE_ANNOTATION__LAST_IDENTIFIER;
- /**
+ /**
* The feature id for the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EREFERENCE_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EREFERENCE_ANNOTATION__GENERATED;
+ public static final int EREFERENCE_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EREFERENCE_ANNOTATION__GENERATED;
- /**
+ /**
* The feature id for the '<em><b>EStructural Feature</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
@@ -873,11 +863,12 @@ public class OrmannotationsPackage extends EPackageImpl {
public static final int EREFERENCE_ORM_ANNOTATION__ELEMENT_COLLECTION = AnnotationsmodelPackage.EREFERENCE_ANNOTATION_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Embedded</b></em>' containment reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- * @ordered
- */
+ * The feature id for the '<em><b>Embedded</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
public static final int EREFERENCE_ORM_ANNOTATION__EMBEDDED = AnnotationsmodelPackage.EREFERENCE_ANNOTATION_FEATURE_COUNT + 3;
/**
@@ -1042,13 +1033,21 @@ public class OrmannotationsPackage extends EPackageImpl {
public static final int EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN = AnnotationsmodelPackage.EREFERENCE_ANNOTATION_FEATURE_COUNT + 21;
/**
+ * The feature id for the '<em><b>Basic</b></em>' containment reference.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int EREFERENCE_ORM_ANNOTATION__BASIC = AnnotationsmodelPackage.EREFERENCE_ANNOTATION_FEATURE_COUNT + 22;
+
+ /**
* The number of structural features of the '<em>EReference ORM Annotation</em>' class.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
* @generated
* @ordered
*/
- public static final int EREFERENCE_ORM_ANNOTATION_FEATURE_COUNT = AnnotationsmodelPackage.EREFERENCE_ANNOTATION_FEATURE_COUNT + 22;
+ public static final int EREFERENCE_ORM_ANNOTATION_FEATURE_COUNT = AnnotationsmodelPackage.EREFERENCE_ANNOTATION_FEATURE_COUNT + 23;
/**
* The meta object id for the '{@link org.eclipse.emf.texo.orm.ormannotations.EEnumORMAnnotation <em>EEnum ORM Annotation</em>}' class.
@@ -1077,23 +1076,21 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Last Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EENUM_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EENUM_ANNOTATION__LAST_IDENTIFIER;
+ public static final int EENUM_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EENUM_ANNOTATION__LAST_IDENTIFIER;
- /**
+ /**
* The feature id for the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EENUM_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EENUM_ANNOTATION__GENERATED;
+ public static final int EENUM_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EENUM_ANNOTATION__GENERATED;
- /**
+ /**
* The feature id for the '<em><b>EClassifier</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -1223,23 +1220,21 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The feature id for the '<em><b>Last Identifier</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EDATA_TYPE_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EDATA_TYPE_ANNOTATION__LAST_IDENTIFIER;
+ public static final int EDATA_TYPE_ORM_ANNOTATION__LAST_IDENTIFIER = AnnotationsmodelPackage.EDATA_TYPE_ANNOTATION__LAST_IDENTIFIER;
- /**
+ /**
* The feature id for the '<em><b>Generated</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int EDATA_TYPE_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EDATA_TYPE_ANNOTATION__GENERATED;
+ public static final int EDATA_TYPE_ORM_ANNOTATION__GENERATED = AnnotationsmodelPackage.EDATA_TYPE_ANNOTATION__GENERATED;
- /**
+ /**
* The feature id for the '<em><b>EClassifier</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -1622,8 +1617,7 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* Returns the meta object for the attribute '{@link org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#isGenerateJavaAnnotations <em>Generate Java Annotations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Generate Java Annotations</em>'.
* @see org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#isGenerateJavaAnnotations()
* @see #getEPackageORMAnnotation()
@@ -1635,44 +1629,43 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* Returns the meta object for the attribute '{@link org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#isAddOrderColumnToListMappings <em>Add Order Column To List Mappings</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Add Order Column To List Mappings</em>'.
* @see org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#isAddOrderColumnToListMappings()
* @see #getEPackageORMAnnotation()
* @generated
*/
- public EAttribute getEPackageORMAnnotation_AddOrderColumnToListMappings() {
+ public EAttribute getEPackageORMAnnotation_AddOrderColumnToListMappings() {
return (EAttribute)ePackageORMAnnotationEClass.getEStructuralFeatures().get(14);
}
- /**
+ /**
* Returns the meta object for the attribute '{@link org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#isRenameSQLReservedNames <em>Rename SQL Reserved Names</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Rename SQL Reserved Names</em>'.
* @see org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#isRenameSQLReservedNames()
* @see #getEPackageORMAnnotation()
* @generated
*/
- public EAttribute getEPackageORMAnnotation_RenameSQLReservedNames() {
+ public EAttribute getEPackageORMAnnotation_RenameSQLReservedNames() {
return (EAttribute)ePackageORMAnnotationEClass.getEStructuralFeatures().get(15);
}
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#getInheritance <em>Inheritance</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Inheritance</em>'.
- * @see org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#getInheritance()
- * @see #getEPackageORMAnnotation()
- * @generated
- */
- public EReference getEPackageORMAnnotation_Inheritance() {
+ /**
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#getInheritance <em>Inheritance</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Inheritance</em>'.
+ * @see org.eclipse.emf.texo.orm.ormannotations.EPackageORMAnnotation#getInheritance()
+ * @see #getEPackageORMAnnotation()
+ * @generated
+ */
+ public EReference getEPackageORMAnnotation_Inheritance() {
return (EReference)ePackageORMAnnotationEClass.getEStructuralFeatures().get(16);
}
- /**
+ /**
* Returns the meta object for class '{@link org.eclipse.emf.texo.orm.ormannotations.ETypeElementORMAnnotation <em>EType Element ORM Annotation</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>EType Element ORM Annotation</em>'.
@@ -1759,19 +1752,20 @@ public class OrmannotationsPackage extends EPackageImpl {
}
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation#getInheritance <em>Inheritance</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Inheritance</em>'.
- * @see org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation#getInheritance()
- * @see #getEClassORMAnnotation()
- * @generated
- */
- public EReference getEClassORMAnnotation_Inheritance() {
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation#getInheritance <em>Inheritance</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Inheritance</em>'.
+ * @see org.eclipse.emf.texo.orm.ormannotations.EClassORMAnnotation#getInheritance()
+ * @see #getEClassORMAnnotation()
+ * @generated
+ */
+ public EReference getEClassORMAnnotation_Inheritance() {
return (EReference)eClassORMAnnotationEClass.getEStructuralFeatures().get(3);
}
- /**
+ /**
* Returns the meta object for class '{@link org.eclipse.emf.texo.orm.ormannotations.EDataTypeORMAnnotationDefinition <em>EData Type ORM Annotation Definition</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>EData Type ORM Annotation Definition</em>'.
@@ -1896,19 +1890,20 @@ public class OrmannotationsPackage extends EPackageImpl {
}
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.emf.texo.orm.ormannotations.EAttributeORMAnnotation#getManyToOne <em>Many To One</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Many To One</em>'.
- * @see org.eclipse.emf.texo.orm.ormannotations.EAttributeORMAnnotation#getManyToOne()
- * @see #getEAttributeORMAnnotation()
- * @generated
- */
- public EReference getEAttributeORMAnnotation_ManyToOne() {
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.texo.orm.ormannotations.EAttributeORMAnnotation#getManyToOne <em>Many To One</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Many To One</em>'.
+ * @see org.eclipse.emf.texo.orm.ormannotations.EAttributeORMAnnotation#getManyToOne()
+ * @see #getEAttributeORMAnnotation()
+ * @generated
+ */
+ public EReference getEAttributeORMAnnotation_ManyToOne() {
return (EReference)eAttributeORMAnnotationEClass.getEStructuralFeatures().get(5);
}
- /**
+ /**
* Returns the meta object for class '{@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation <em>EReference ORM Annotation</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>EReference ORM Annotation</em>'.
@@ -2172,6 +2167,20 @@ public class OrmannotationsPackage extends EPackageImpl {
}
/**
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation#getBasic <em>Basic</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for the containment reference '<em>Basic</em>'.
+ * @see org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation#getBasic()
+ * @see #getEReferenceORMAnnotation()
+ * @generated
+ */
+ public EReference getEReferenceORMAnnotation_Basic() {
+ return (EReference)eReferenceORMAnnotationEClass.getEStructuralFeatures().get(19);
+ }
+
+ /**
* Returns the meta object for class '{@link org.eclipse.emf.texo.orm.ormannotations.EEnumORMAnnotation <em>EEnum ORM Annotation</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>EEnum ORM Annotation</em>'.
@@ -2401,6 +2410,7 @@ public class OrmannotationsPackage extends EPackageImpl {
createEReference(eReferenceORMAnnotationEClass, EREFERENCE_ORM_ANNOTATION__ASSOCIATION_OVERRIDE);
createEReference(eReferenceORMAnnotationEClass, EREFERENCE_ORM_ANNOTATION__ATTRIBUTE_OVERRIDE);
createEReference(eReferenceORMAnnotationEClass, EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN);
+ createEReference(eReferenceORMAnnotationEClass, EREFERENCE_ORM_ANNOTATION__BASIC);
eEnumORMAnnotationEClass = createEClass(EENUM_ORM_ANNOTATION);
createEAttribute(eEnumORMAnnotationEClass, EENUM_ORM_ANNOTATION__ENUMERATED);
@@ -2531,6 +2541,7 @@ public class OrmannotationsPackage extends EPackageImpl {
initEReference(getEReferenceORMAnnotation_AssociationOverride(), theOrmPackage.getAssociationOverride(), null, "associationOverride", null, 0, -1, EReferenceORMAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getEReferenceORMAnnotation_AttributeOverride(), theOrmPackage.getAttributeOverride(), null, "attributeOverride", null, 0, -1, EReferenceORMAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getEReferenceORMAnnotation_PrimaryKeyJoinColumn(), theOrmPackage.getPrimaryKeyJoinColumn(), null, "primaryKeyJoinColumn", null, 0, -1, EReferenceORMAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEReferenceORMAnnotation_Basic(), theOrmPackage.getBasic(), null, "basic", null, 0, 1, EReferenceORMAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(eEnumORMAnnotationEClass, EEnumORMAnnotation.class, "EEnumORMAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getEEnumORMAnnotation_Enumerated(), theOrmPackage.getEnumerated(), "enumerated", null, 0, 1, EEnumORMAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -2675,38 +2686,38 @@ public class OrmannotationsPackage extends EPackageImpl {
public static final EReference EPACKAGE_ORM_ANNOTATION__ENTITY_MAPPINGS = eINSTANCE.getEPackageORMAnnotation_EntityMappings();
/**
- * The meta object literal for the '<em><b>Generate Java Annotations</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
+ * The meta object literal for the '<em><b>Generate Java Annotations</b></em>' attribute feature. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public static final EAttribute EPACKAGE_ORM_ANNOTATION__GENERATE_JAVA_ANNOTATIONS = eINSTANCE.getEPackageORMAnnotation_GenerateJavaAnnotations();
/**
- * The meta object literal for the '<em><b>Add Order Column To List Mappings</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute EPACKAGE_ORM_ANNOTATION__ADD_ORDER_COLUMN_TO_LIST_MAPPINGS = eINSTANCE.getEPackageORMAnnotation_AddOrderColumnToListMappings();
+ * The meta object literal for the '<em><b>Add Order Column To List Mappings</b></em>' attribute feature. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final EAttribute EPACKAGE_ORM_ANNOTATION__ADD_ORDER_COLUMN_TO_LIST_MAPPINGS = eINSTANCE.getEPackageORMAnnotation_AddOrderColumnToListMappings();
- /**
- * The meta object literal for the '<em><b>Rename SQL Reserved Names</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final EAttribute EPACKAGE_ORM_ANNOTATION__RENAME_SQL_RESERVED_NAMES = eINSTANCE.getEPackageORMAnnotation_RenameSQLReservedNames();
+ /**
+ * The meta object literal for the '<em><b>Rename SQL Reserved Names</b></em>' attribute feature. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public static final EAttribute EPACKAGE_ORM_ANNOTATION__RENAME_SQL_RESERVED_NAMES = eINSTANCE.getEPackageORMAnnotation_RenameSQLReservedNames();
- /**
+ /**
* The meta object literal for the '<em><b>Inheritance</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
* @generated
*/
- public static final EReference EPACKAGE_ORM_ANNOTATION__INHERITANCE = eINSTANCE.getEPackageORMAnnotation_Inheritance();
+ public static final EReference EPACKAGE_ORM_ANNOTATION__INHERITANCE = eINSTANCE.getEPackageORMAnnotation_Inheritance();
- /**
+ /**
* The meta object literal for the '{@link org.eclipse.emf.texo.orm.ormannotations.ETypeElementORMAnnotation <em>EType Element ORM Annotation</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.emf.texo.orm.ormannotations.ETypeElementORMAnnotation
@@ -2767,13 +2778,13 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The meta object literal for the '<em><b>Inheritance</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
* @generated
*/
- public static final EReference ECLASS_ORM_ANNOTATION__INHERITANCE = eINSTANCE.getEClassORMAnnotation_Inheritance();
+ public static final EReference ECLASS_ORM_ANNOTATION__INHERITANCE = eINSTANCE.getEClassORMAnnotation_Inheritance();
- /**
+ /**
* The meta object literal for the '{@link org.eclipse.emf.texo.orm.ormannotations.EDataTypeORMAnnotationDefinition <em>EData Type ORM Annotation Definition</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.emf.texo.orm.ormannotations.EDataTypeORMAnnotationDefinition
@@ -2858,13 +2869,13 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The meta object literal for the '<em><b>Many To One</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
* @generated
*/
- public static final EReference EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE = eINSTANCE.getEAttributeORMAnnotation_ManyToOne();
+ public static final EReference EATTRIBUTE_ORM_ANNOTATION__MANY_TO_ONE = eINSTANCE.getEAttributeORMAnnotation_ManyToOne();
- /**
+ /**
* The meta object literal for the '{@link org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation <em>EReference ORM Annotation</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.emf.texo.orm.ormannotations.EReferenceORMAnnotation
@@ -2875,8 +2886,8 @@ public class OrmannotationsPackage extends EPackageImpl {
/**
* The meta object literal for the '<em><b>Embedded</b></em>' containment reference feature.
- * <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
* @generated
*/
public static final EReference EREFERENCE_ORM_ANNOTATION__EMBEDDED = eINSTANCE.getEReferenceORMAnnotation_Embedded();
@@ -3025,6 +3036,14 @@ public class OrmannotationsPackage extends EPackageImpl {
public static final EReference EREFERENCE_ORM_ANNOTATION__PRIMARY_KEY_JOIN_COLUMN = eINSTANCE.getEReferenceORMAnnotation_PrimaryKeyJoinColumn();
/**
+ * The meta object literal for the '<em><b>Basic</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EReference EREFERENCE_ORM_ANNOTATION__BASIC = eINSTANCE.getEReferenceORMAnnotation_Basic();
+
+ /**
* The meta object literal for the '{@link org.eclipse.emf.texo.orm.ormannotations.EEnumORMAnnotation <em>EEnum ORM Annotation</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.emf.texo.orm.ormannotations.EEnumORMAnnotation

Back to the top