Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2010-12-15 10:58:04 -0500
committerkmoore2010-12-15 10:58:04 -0500
commit73576031ab7717d093ea494f9e30bb6204bf831e (patch)
treedc8b32a34dfc8b9f92aa59a226b99479efaf629a
parent10816b69d89107bdf133e030a95af1dab6a790e1 (diff)
downloadwebtools.dali-73576031ab7717d093ea494f9e30bb6204bf831e.tar.gz
webtools.dali-73576031ab7717d093ea494f9e30bb6204bf831e.tar.xz
webtools.dali-73576031ab7717d093ea494f9e30bb6204bf831e.zip
updated to the latest eclipselink_orm_2_2.xsd, modified ecore and translators
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel103
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore153
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_2.xsd561
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java156
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java2362
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlBasic.java2
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlCollectionTable.java265
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlElementCollection.java834
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntity.java778
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntityMappings.java534
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlHashPartitioning.java219
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlId.java7
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlJoinTable.java265
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToMany.java839
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToOne.java859
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlMappedSuperclass.java766
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToMany.java839
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToOne.java841
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlPartitioning.java220
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlPinnedPartitioning.java219
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlRangePartitioning.java219
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlReplicationPartitioning.java219
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java219
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlSecondaryTable.java262
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlTable.java264
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlTableGenerator.java274
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlUnionPartitioning.java219
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlValuePartitioning.java219
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlVariableOneToOne.java868
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/EclipseLink2_2.java12
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java2930
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java31
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java176
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java4
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java31
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java63
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java4
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java31
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java31
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java281
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java65
-rw-r--r--jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java63
54 files changed, 17637 insertions, 450 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel b/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel
index 59bb30cb36..50c9663660 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipseLinkResourceModels.genmodel
@@ -101,6 +101,7 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlCloneCopyPolicy/method"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlCloneCopyPolicy/workingCopyMethod"/>
</genClasses>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlCollectionTable"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlConversionValue">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlConversionValue/dataValue"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlConversionValue/objectValue"/>
@@ -151,12 +152,14 @@
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlEntityMappings"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlFetchAttribute"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlFetchGroup"/>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlHashPartitioning"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlId"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlIndex"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlInstantiationCopyPolicy"/>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//XmlJoinFetch">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlJoinFetch/joinFetch"/>
</genClasses>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlJoinTable"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlManyToMany"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlManyToOne"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlMappedSuperclass">
@@ -195,10 +198,12 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//XmlOptimisticLocking/selectedColumns"/>
</genClasses>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlOrderColumn"/>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlPartitioning"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlPersistenceUnitDefaults"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlPersistenceUnitMetadata">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlPersistenceUnitMetadata/excludeDefaultMappings"/>
</genClasses>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlPinnedPartitioning"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlPrimaryKey"/>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//XmlPrivateOwned">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlPrivateOwned/privateOwned"/>
@@ -215,10 +220,14 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//XmlQueryContainer/namedStoredProcedureQueries"/>
</genClasses>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlQueryRedirectors"/>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlRangePartitioning"/>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//XmlReadOnly">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlReadOnly/readOnly"/>
</genClasses>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlReplicationPartitioning"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlReturnInsert"/>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlRoundRobinPartitioning"/>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlSecondaryTable"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlStoredProcedureParameter">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlStoredProcedureParameter/direction"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlStoredProcedureParameter/name"/>
@@ -230,6 +239,8 @@
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlStructConverter">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlStructConverter/converter"/>
</genClasses>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlTable"/>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlTableGenerator"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlTimeOfDay">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlTimeOfDay/hour"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlTimeOfDay/minute"/>
@@ -242,6 +253,8 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlTypeConverter/dataType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//XmlTypeConverter/objectType"/>
</genClasses>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlUnionPartitioning"/>
+ <genClasses ecoreClass="eclipselink_orm.ecore#//XmlValuePartitioning"/>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//XmlVariableOneToOne"/>
<genClasses ecoreClass="eclipselink_orm.ecore#//XmlVersion"/>
<nestedGenPackages prefix="EclipseLinkOrmV1_1" basePackage="org.eclipse.jpt.eclipselink.core.resource.orm"
@@ -394,25 +407,33 @@
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlBasicMap_2_2">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlBasicMap_2_2/cascadeOnDelete"/>
</genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlCollectionTable_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlCollectionTable_2_2/creationSuffix"/>
+ </genClasses>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlElementCollection_2_2">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlElementCollection_2_2/cascadeOnDelete"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlElementCollection_2_2/nonCacheable"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlEmbeddable_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlEmbeddable_2_2/parentClass"/>
</genClasses>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlEntity_2_2">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntity_2_2/additionalCriteria"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlEntity_2_2/cascadeOnDelete"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntity_2_2/index"/>
</genClasses>
- <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlManyToMany_2_2">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlManyToMany_2_2/cascadeOnDelete"/>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2/partitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2/replicationPartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2/roundRobinPartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2/pinnedPartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2/rangePartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2/valuePartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2/hashPartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlEntityMappings_2_2/unionPartitioning"/>
</genClasses>
- <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlOneToOne_2_2">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlOneToOne_2_2/cascadeOnDelete"/>
- </genClasses>
- <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlOneToMany_2_2">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlOneToMany_2_2/cascadeOnDelete"/>
- </genClasses>
- <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlEmbeddable_2_2">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlEmbeddable_2_2/parentClass"/>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlHashPartitioning_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlHashPartitioning_2_2/name"/>
</genClasses>
<genClasses ecoreClass="eclipselink_orm.ecore#//v2_2/XmlId_2_2">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlId_2_2/index"/>
@@ -425,9 +446,71 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlIndex_2_2/unique"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlIndex_2_2/columnNames"/>
</genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlJoinTable_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlJoinTable_2_2/creationSuffix"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlManyToMany_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlManyToMany_2_2/cascadeOnDelete"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlManyToMany_2_2/nonCacheable"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlManyToOne_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlManyToOne_2_2/nonCacheable"/>
+ </genClasses>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlMappedSuperclass_2_2">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlMappedSuperclass_2_2/additionalCriteria"/>
</genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlOneToOne_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlOneToOne_2_2/cascadeOnDelete"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlOneToOne_2_2/nonCacheable"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlOneToMany_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlOneToMany_2_2/cascadeOnDelete"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlOneToMany_2_2/nonCacheable"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlPartitioning_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlPartitioning_2_2/name"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/partitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/replicationPartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/roundRobinPartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/pinnedPartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/rangePartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/valuePartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/hashPartitioning"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/unionPartitioning"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlPartitioningGroup_2_2/partitioned"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlPinnedPartitioning_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlPinnedPartitioning_2_2/name"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlRangePartitioning_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlRangePartitioning_2_2/name"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlReplicationPartitioning_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlReplicationPartitioning_2_2/name"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlRoundRobinPartitioning_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlRoundRobinPartitioning_2_2/name"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlSecondaryTable_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlSecondaryTable_2_2/creationSuffix"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlTable_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlTable_2_2/creationSuffix"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlTableGenerator_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlTableGenerator_2_2/creationSuffix"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlUnionPartitioning_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlUnionPartitioning_2_2/name"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlValuePartitioning_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlValuePartitioning_2_2/name"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlVariableOneToOne_2_2">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute eclipselink_orm.ecore#//v2_2/XmlVariableOneToOne_2_2/nonCacheable"/>
+ </genClasses>
<genClasses image="false" ecoreClass="eclipselink_orm.ecore#//v2_2/XmlVersion_2_2">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference eclipselink_orm.ecore#//v2_2/XmlVersion_2_2/index"/>
</genClasses>
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore b/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore
index d862c423f3..405b8d9b3a 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/model/eclipselink_orm.ecore
@@ -65,6 +65,7 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="method" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="workingCopyMethod" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlCollectionTable" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlCollectionTable #//v2_2/XmlCollectionTable_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlConversionValue">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dataValue" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="objectValue" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
@@ -134,17 +135,19 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="excludeDefaultMappings"
eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlEntityMappings" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlEntityMappings #//XmlConvertersHolder #//XmlQueryContainer"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlEntityMappings" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlEntityMappings #//v2_1/XmlEntityMappings_2_1 #//v2_2/XmlEntityMappings_2_2 #//XmlConvertersHolder #//XmlQueryContainer"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlFetchAttribute" eSuperTypes="#//v2_1/XmlFetchAttribute_2_1"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlFetchGroup" eSuperTypes="#//v2_1/XmlFetchGroup_2_1"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlHashPartitioning" eSuperTypes="#//v2_2/XmlHashPartitioning_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlId" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlId #//v2_1/XmlId_2_1 #//v2_2/XmlId_2_2 #//XmlAttributeMapping #//XmlMutable #//XmlConvertibleMapping"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlIndex" eSuperTypes="#//v2_2/XmlIndex_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlInstantiationCopyPolicy"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlJoinFetch" abstract="true" interface="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="joinFetch" eType="#//XmlJoinFetchType"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlJoinTable" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlJoinTable #//v2_2/XmlJoinTable_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlManyToMany" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlManyToMany #//v2_0/XmlManyToMany_2_0 #//v2_1/XmlManyToMany_2_1 #//v2_2/XmlManyToMany_2_2 #//XmlAttributeMapping #//XmlJoinFetch"/>
- <eClassifiers xsi:type="ecore:EClass" name="XmlManyToOne" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlManyToOne #//v2_1/XmlManyToOne_2_1 #//XmlAttributeMapping #//XmlJoinFetch"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlManyToOne" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlManyToOne #//v2_1/XmlManyToOne_2_1 #//v2_2/XmlManyToOne_2_2 #//XmlAttributeMapping #//XmlJoinFetch"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlMappedSuperclass" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlMappedSuperclass #//v1_1/XmlMappedSuperclass_1_1 #//v2_0/XmlMappedSuperclass_2_0 #//v2_1/XmlMappedSuperclass_2_1 #//v2_2/XmlMappedSuperclass_2_2 #//XmlReadOnly #//XmlCustomizerHolder #//XmlChangeTrackingHolder #//XmlCacheHolder #//XmlConvertersHolder #//XmlPropertyContainer">
<eStructuralFeatures xsi:type="ecore:EReference" name="optimisticLocking" eType="#//XmlOptimisticLocking"
containment="true" resolveProxies="false"/>
@@ -192,11 +195,13 @@
containment="true" resolveProxies="false"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="XmlOrderColumn" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlOrderColumn #//v2_0/XmlOrderColumn_2_0"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlPartitioning" eSuperTypes="#//v2_2/XmlPartitioning_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlPersistenceUnitDefaults" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlPersistenceUnitDefaults #//v2_1/XmlPersistenceUnitDefaults_2_1"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlPersistenceUnitMetadata" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlPersistenceUnitMetadata">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="excludeDefaultMappings"
eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlPinnedPartitioning" eSuperTypes="#//v2_2/XmlPinnedPartitioning_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlPrimaryKey" eSuperTypes="#//v1_1/XmlPrimaryKey_1_1 #//v2_1/XmlPrimaryKey_2_1"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlPrivateOwned" abstract="true" interface="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="privateOwned" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
@@ -217,10 +222,14 @@
resolveProxies="false"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="XmlQueryRedirectors" eSuperTypes="#//v2_0/XmlQueryRedirectors_2_0"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlRangePartitioning" eSuperTypes="#//v2_2/XmlRangePartitioning_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlReadOnly" abstract="true" interface="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="readOnly" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlReplicationPartitioning" eSuperTypes="#//v2_2/XmlReplicationPartitioning_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlReturnInsert" eSuperTypes="#//v2_1/XmlReturnInsert_2_1"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlRoundRobinPartitioning" eSuperTypes="#//v2_2/XmlRoundRobinPartitioning_2_2"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlSecondaryTable" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlSecondaryTable #//v2_2/XmlSecondaryTable_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlStoredProcedureParameter">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="#//XmlDirection"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
@@ -232,6 +241,8 @@
<eClassifiers xsi:type="ecore:EClass" name="XmlStructConverter" eSuperTypes="#//XmlNamedConverter">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="converter" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlTable" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlTable #//v2_2/XmlTable_2_2"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlTableGenerator" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlTableGenerator #//v2_2/XmlTableGenerator_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlTimeOfDay">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="hour" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//IntObject"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="minute" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//IntObject"/>
@@ -244,7 +255,9 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dataType" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="objectType" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlVariableOneToOne" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//AbstractXmlAttributeMapping #//XmlAttributeMapping"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlUnionPartitioning" eSuperTypes="#//v2_2/XmlUnionPartitioning_2_2"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlValuePartitioning" eSuperTypes="#//v2_2/XmlValuePartitioning_2_2"/>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlVariableOneToOne" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//AbstractXmlAttributeMapping #//XmlAttributeMapping #//v2_2/XmlVariableOneToOne_2_2"/>
<eClassifiers xsi:type="ecore:EClass" name="XmlVersion" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlVersion #//v2_1/XmlVersion_2_1 #//v2_2/XmlVersion_2_2 #//XmlAttributeMapping #//XmlMutable #//XmlConvertibleMapping"/>
<eClassifiers xsi:type="ecore:EEnum" name="CacheCoordinationType">
<eLiterals name="SEND_OBJECT_CHANGES"/>
@@ -482,31 +495,49 @@
<eClassifiers xsi:type="ecore:EClass" name="XmlBasicMap_2_2" abstract="true" interface="true">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlElementCollection_2_2" abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="XmlCollectionTable_2_2" abstract="true"
interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="creationSuffix" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlElementCollection_2_2" abstract="true"
+ interface="true" eSuperTypes="#//v2_2/XmlPartitioningGroup_2_2">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nonCacheable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlEntity_2_2" abstract="true" interface="true">
+ <eClassifiers xsi:type="ecore:EClass" name="XmlEmbeddable_2_2" abstract="true"
+ interface="true" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlAttributeOverrideContainer ../../org.eclipse.jpt.core/model/orm.ecore#//XmlAssociationOverrideContainer">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentClass" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlEntity_2_2" abstract="true" interface="true"
+ eSuperTypes="#//v2_2/XmlPartitioningGroup_2_2">
<eStructuralFeatures xsi:type="ecore:EReference" name="additionalCriteria" eType="#//v2_2/XmlAdditionalCriteria_2_2"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//v2_2/XmlIndex_2_2"
containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlManyToMany_2_2" abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="XmlEntityMappings_2_2" abstract="true"
interface="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlOneToOne_2_2" abstract="true" interface="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlOneToMany_2_2" abstract="true"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="partitioning" upperBound="-1"
+ eType="#//v2_2/XmlPartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="replicationPartitioning"
+ upperBound="-1" eType="#//v2_2/XmlReplicationPartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="roundRobinPartitioning"
+ upperBound="-1" eType="#//v2_2/XmlRoundRobinPartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="pinnedPartitioning" upperBound="-1"
+ eType="#//v2_2/XmlPinnedPartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rangePartitioning" upperBound="-1"
+ eType="#//v2_2/XmlRangePartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="valuePartitioning" upperBound="-1"
+ eType="#//v2_2/XmlValuePartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="hashPartitioning" upperBound="-1"
+ eType="#//v2_2/XmlHashPartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="unionPartitioning" upperBound="-1"
+ eType="#//v2_2/XmlUnionPartitioning_2_2" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlHashPartitioning_2_2" abstract="true"
interface="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlEmbeddable_2_2" abstract="true"
- interface="true" eSuperTypes="../../org.eclipse.jpt.core/model/orm.ecore#//XmlAttributeOverrideContainer ../../org.eclipse.jpt.core/model/orm.ecore#//XmlAssociationOverrideContainer">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentClass" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="XmlId_2_2" abstract="true" interface="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//v2_2/XmlIndex_2_2"
@@ -521,11 +552,97 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="columnNames" unique="false"
upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XmlMappedSuperclass_2_2" abstract="true"
+ <eClassifiers xsi:type="ecore:EClass" name="XmlJoinTable_2_2" abstract="true"
interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="creationSuffix" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlManyToMany_2_2" abstract="true"
+ interface="true" eSuperTypes="#//v2_2/XmlPartitioningGroup_2_2">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nonCacheable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlManyToOne_2_2" abstract="true"
+ interface="true" eSuperTypes="#//v2_2/XmlPartitioningGroup_2_2">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nonCacheable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlMappedSuperclass_2_2" abstract="true"
+ interface="true" eSuperTypes="#//v2_2/XmlPartitioningGroup_2_2">
<eStructuralFeatures xsi:type="ecore:EReference" name="additionalCriteria" eType="#//v2_2/XmlAdditionalCriteria_2_2"
containment="true"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlOneToOne_2_2" abstract="true" interface="true"
+ eSuperTypes="#//v2_2/XmlPartitioningGroup_2_2">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nonCacheable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlOneToMany_2_2" abstract="true"
+ interface="true" eSuperTypes="#//v2_2/XmlPartitioningGroup_2_2">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="cascadeOnDelete" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//BooleanObject"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nonCacheable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlPartitioning_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlPartitioningGroup_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="partitioning" eType="#//v2_2/XmlPartitioning_2_2"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="replicationPartitioning"
+ eType="#//v2_2/XmlReplicationPartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="roundRobinPartitioning"
+ eType="#//v2_2/XmlRoundRobinPartitioning_2_2" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="pinnedPartitioning" eType="#//v2_2/XmlPinnedPartitioning_2_2"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="rangePartitioning" eType="#//v2_2/XmlRangePartitioning_2_2"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="valuePartitioning" eType="#//v2_2/XmlValuePartitioning_2_2"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="hashPartitioning" eType="#//v2_2/XmlHashPartitioning_2_2"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="unionPartitioning" eType="#//v2_2/XmlUnionPartitioning_2_2"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="partitioned" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlPinnedPartitioning_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlRangePartitioning_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlReplicationPartitioning_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlRoundRobinPartitioning_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlSecondaryTable_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="creationSuffix" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlTable_2_2" abstract="true" interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="creationSuffix" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlTableGenerator_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="creationSuffix" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlUnionPartitioning_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlValuePartitioning_2_2" abstract="true"
+ interface="true">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XmlVariableOneToOne_2_2" abstract="true"
+ interface="true" eSuperTypes="#//v2_2/XmlPartitioningGroup_2_2">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nonCacheable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="XmlVersion_2_2" abstract="true" interface="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//v2_2/XmlIndex_2_2"
containment="true"/>
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_2.xsd b/jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_2.xsd
index 58c4ec303f..223029e12a 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_2.xsd
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/schemas/eclipselink_orm_2_2.xsd
@@ -166,11 +166,22 @@
*/
int size() default 100;
- /**
- * (Optional) Cached instances in the shared cache or a client
- * isolated cache.
- */
+ /**
+ * (Optional) Cached instances in the shared cache,
+ * or only a per EntityManager isolated cache.
+ * The default is shared.
+ * @deprecated As of Eclipselink 2.2. See the attribute 'isolation'
+ */
+ @Deprecated
boolean shared() default true;
+
+ /**
+ * (Optional) Controls the level of caching this Entity will use.
+ * The default is CacheIsolationType.SHARED which has EclipseLink
+ * Caching all Entities in the Shared Cache.
+ * @see org.eclipse.persistence.config.CacheIsolationType
+ */
+ CacheIsolationType isolation() default SHARED;
/**
* (Optional) Expire cached instance after a fix period of time (ms).
@@ -221,6 +232,7 @@
</xsd:choice>
<xsd:attribute name="size" type="xsd:integer"/>
<xsd:attribute name="shared" type="xsd:boolean"/>
+ <xsd:attribute name="isolation" type="orm:cache-isolation-type"/>
<xsd:attribute name="type" type="orm:cache-type"/>
<xsd:attribute name="always-refresh" type="xsd:boolean"/>
<xsd:attribute name="refresh-only-if-newer" type="xsd:boolean"/>
@@ -329,6 +341,55 @@
</xsd:restriction>
</xsd:simpleType>
+ <!-- **************************************************** -->
+ <xsd:simpleType name="cache-isolation-type">
+ <xsd:annotation>
+ <xsd:documentation>
+ /**
+ * Options for how Entity instances should be shared within an EclipseLink Persistence Unit / ServerSession
+ * @see ClassDescriptor#setCacheIsolationType(CacheIsolationType)
+ * @author Gordon Yorke
+ * @since EclipseLink 2.2
+ */
+ public enum CacheIsolationType {
+
+ /**
+ * Entity instances will be cached within the EntityManagerFactory/ServerSession level.
+ * Any user queries for shared cache instances (ie Read-Only query hint) will return an Entity
+ * instance that may be shared by multiple clients.
+ *
+ * This setting is the default isolation level.
+ */
+ SHARED,
+
+ /**
+ * Entity state information will be cached in the shared cache but Entity
+ * instances will not be shared. Any user queries for shared cache instances
+ * (ie Read-Only query hint) will return a new Entity instance with the cached state.
+ * This will ensure the instance is <i>protected</i> from any concurrent
+ * state change.
+ */
+ PROTECTED,
+
+ /**
+ * The Entity and its data is not stored in the shared cache but is
+ * <i>isolated</i> to the Persistence Context/UnitOfWork or
+ * IsolatedClientSession. This setting effectively disables second level
+ * caching for this entity and should be used when users do not want caching for
+ * a particular Entity.
+ */
+ ISOLATED;
+
+ }
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:restriction base="xsd:token">
+ <xsd:enumeration value="SHARED"/>
+ <xsd:enumeration value="PROTECTED"/>
+ <xsd:enumeration value="ISOLATED"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
<!-- **************************************************** -->
<xsd:simpleType name="cache-coordination-type">
@@ -587,6 +648,14 @@
minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="table-generator" type="orm:table-generator"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="partitioning" type="orm:partitioning" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="replication-partitioning" type="orm:replication-partitioning" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="round-robin-partitioning" type="orm:round-robin-partitioning" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="pinned-partitioning" type="orm:pinned-partitioning" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="range-partitioning" type="orm:range-partitioning" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="value-partitioning" type="orm:value-partitioning" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="hash-partitioning" type="orm:hash-partitioning" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="union-partitioning" type="orm:union-partitioning" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="named-query" type="orm:named-query"
minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="named-native-query" type="orm:named-native-query"
@@ -795,6 +864,7 @@
minOccurs="0"/>
<xsd:element name="table-generator" type="orm:table-generator"
minOccurs="0"/>
+ <xsd:group ref="orm:partitioning-group"/>
<xsd:element name="named-query" type="orm:named-query"
minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="named-native-query" type="orm:named-native-query"
@@ -839,6 +909,20 @@
<!-- **************************************************** -->
+ <xsd:group name="partitioning-group">
+ <xsd:sequence>
+ <xsd:element name="partitioning" type="orm:partitioning" minOccurs="0"/>
+ <xsd:element name="replication-partitioning" type="orm:replication-partitioning" minOccurs="0"/>
+ <xsd:element name="round-robin-partitioning" type="orm:round-robin-partitioning" minOccurs="0"/>
+ <xsd:element name="pinned-partitioning" type="orm:pinned-partitioning" minOccurs="0"/>
+ <xsd:element name="range-partitioning" type="orm:range-partitioning" minOccurs="0"/>
+ <xsd:element name="value-partitioning" type="orm:value-partitioning" minOccurs="0"/>
+ <xsd:element name="hash-partitioning" type="orm:hash-partitioning" minOccurs="0"/>
+ <xsd:element name="union-partitioning" type="orm:union-partitioning" minOccurs="0"/>
+ <xsd:element name="partitioned" type="xsd:string" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:group>
+
<xsd:simpleType name="access-type">
<xsd:annotation>
<xsd:documentation>
@@ -1038,6 +1122,7 @@
<xsd:element name="batch-fetch" type="orm:batch-fetch" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
+ <xsd:element name="noncacheable" type="orm:emptyType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="fetch" type="orm:fetch-type"/>
@@ -1110,6 +1195,7 @@
<xsd:element name="batch-fetch" type="orm:batch-fetch" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
+ <xsd:element name="noncacheable" type="orm:emptyType" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="fetch" type="orm:fetch-type"/>
@@ -1280,6 +1366,7 @@
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="catalog" type="xsd:string"/>
<xsd:attribute name="schema" type="xsd:string"/>
+ <xsd:attribute name="creation-suffix" type="xsd:string" />
</xsd:complexType>
<!-- **************************************************** -->
@@ -1340,6 +1427,7 @@
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="catalog" type="xsd:string"/>
<xsd:attribute name="schema" type="xsd:string"/>
+ <xsd:attribute name="creation-suffix" type="xsd:string" />
</xsd:complexType>
@@ -1433,6 +1521,451 @@
<!-- **************************************************** -->
+ <xsd:complexType name="partitioning">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * A Partitioning is used to partition the data for a class across multiple difference databases
+ * or across a database cluster such as Oracle RAC.
+ * Partitioning can provide improved scalability by allowing multiple database machines to service requests.
+ * This annotation configures a custom PartitioningPolicy.
+ *
+ * If multiple partitions are used to process a single transaction, JTA should be used for proper XA transaction support.
+ *
+ * Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.
+ * Partition policies are globally named to allow reuse,
+ * the partitioning policy must also be set using the @Partitioned annotation to be used.
+ *
+ * @see Partitioned
+ * @see org.eclipse.persistence.descriptors.partitioning.PartitioningPolicy
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface Partitioning {
+ String name();
+
+ /**
+ * (Required) Full package.class name of a subclass of PartitioningPolicy.
+ */
+ Class partitioningClass();
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ <xsd:attribute name="class" type="xsd:string" use="required"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="hash-partitioning">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * HashPartitioning partitions access to a database cluster by the hash of a field value from the object,
+ * such as the object's location, or tenant.
+ * The hash indexes into the list of connection pools.
+ * All write or read request for object's with that hash value are sent to the server.
+ * If a query does not include the field as a parameter, then it can either be sent
+ * to all server's and unioned, or left to the sesion's default behavior.
+ *
+ * Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.
+ *
+ * @see org.eclipse.persistence.descriptors.partitioning.HashPartitioningPolicy
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface HashPartitioning {
+ String name();
+
+ /**
+ * The database column or query parameter to partition queries by.
+ * This is the table column name, not the class attribute name.
+ * The column value must be included in the query and should normally be part of the object's Id.
+ * This can also be the name of a query parameter.
+ * If a query does not contain the field the query will not be partitioned.
+ */
+ Column partitionColumn();
+
+ /**
+ * List of connection pool names to partition across.
+ */
+ String[] connectionPools();
+
+ /**
+ * Defines if queries that do not contain the partition field should be sent
+ * to every database and have the result unioned.
+ */
+ boolean unionUnpartitionableQueries() default false;
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="partition-column" type="orm:column"/>
+ <xsd:element name="connection-pool" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ <xsd:attribute name="union-unpartitionable-queries" type="xsd:boolean"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="range-partitioning">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * RangePartitioningPolicy partitions access to a database cluster by a field value from the object,
+ * such as the object's id, location, or tenant.
+ * Each server is assigned a range of values.
+ * All write or read request for object's with that value are sent to the server.
+ * If a query does not include the field as a parameter, then it can either be sent
+ * to all server's and unioned, or left to the sesion's default behavior.
+ *
+ * If multiple partitions are used to process a single transaction, JTA should be used for proper XA transaction support.
+ *
+ * Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.
+ * Partition policies are globally named to allow reuse,
+ * the partitioning policy must also be set using the @Partitioned annotation to be used.
+ *
+ * @see Partitioned
+ * @see org.eclipse.persistence.descriptors.partitioning.RangePartitioningPolicy
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface RangePartitioning {
+ String name();
+
+ /**
+ * The database column or query parameter to partition queries by.
+ * This is the table column name, not the class attribute name.
+ * The column value must be included in the query and should normally be part of the object's Id.
+ * This can also be the name of a query parameter.
+ * If a query does not contain the field the query will not be partitioned.
+ */
+ Column partitionColumn();
+
+ /**
+ * (Required) List of connection pool names to load balance across.
+ */
+ RangePartition[] partitions();
+
+ /**
+ * Defines if queries that do not contain the partition field should be sent
+ * to every database and have the result unioned.
+ */
+ boolean unionUnpartitionableQueries() default false;
+
+ /** The type of the start and end values. */
+ Class partitionValueType() default String.class;
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="partition-column" type="orm:column"/>
+ <xsd:element name="partition" type="orm:range-partition" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ <xsd:attribute name="union-unpartitionable-queries" type="xsd:boolean"/>
+ <xsd:attribute name="partition-value-type" type="xsd:string"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="range-partition">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * Represent a specific range partition.
+ * Values = startValue and = endValue will be routed to the connection pool.
+ *
+ * @see RangePartitioningPolicy
+ * @see org.eclipse.persistence.descriptors.partitioning.RangePartitioningPolicy
+ * @see org.eclipse.persistence.descriptors.partitioning.RangePartition
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface RangePartition {
+ /** The String representation of the range start value. */
+ String startValue() default "";
+ /** The String representation of the range start value. */
+ String endValue() default "";
+ /** The connection pool to route queries to for this range. */
+ String connectionPool();
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="start-value" type="xsd:string"/>
+ <xsd:attribute name="end-value" type="xsd:string"/>
+ <xsd:attribute name="connection-pool" type="xsd:string" use="required"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="value-partitioning">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * ValuePartitioning partitions access to a database cluster by a field value from the object,
+ * such as the object's location, or tenant.
+ * Each value is assigned a specific server.
+ * All write or read request for object's with that value are sent to the server.
+ * If a query does not include the field as a parameter, then it can either be sent
+ * to all server's and unioned, or left to the sesion's default behavior.
+ *
+ * Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.
+ *
+ * @see org.eclipse.persistence.descriptors.partitioning.ValuePartitioningPolicy
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface ValuePartitioning {
+ String name();
+
+ /**
+ * The database column or query parameter to partition queries by.
+ * This is the table column name, not the class attribute name.
+ * The column value must be included in the query and should normally be part of the object's Id.
+ * This can also be the name of a query parameter.
+ * If a query does not contain the field the query will not be partitioned.
+ */
+ Column partitionColumn();
+
+ /** Store the value partitions. Each partition maps a value to a connectionPool. */
+ ValuePartition[] partitions();
+
+ /** The type of the start and end values. */
+ Class partitionValueType() default String.class;
+
+ /** The default connection pool is used for any unmapped values. */
+ String defaultConnectionPool();
+
+ /**
+ * Defines if queries that do not contain the partition field should be sent
+ * to every database and have the result unioned.
+ */
+ boolean unionUnpartitionableQueries() default false;
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="partition-column" type="orm:column"/>
+ <xsd:element name="partition" type="orm:value-partition" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ <xsd:attribute name="union-unpartitionable-queries" type="xsd:boolean"/>
+ <xsd:attribute name="default-connection-pool" type="xsd:string"/>
+ <xsd:attribute name="partition-value-type" type="xsd:string"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="value-partition">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * Represent a specific value partition.
+ * The value will be routed to the connection pool.
+ *
+ * @see ValuePartitioningPolicy
+ * @see org.eclipse.persistence.descriptors.partitioning.ValuePartitioningPolicy
+ * @see org.eclipse.persistence.descriptors.partitioning.ValuePartition
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface ValuePartition {
+ /** The String representation of the range start value. */
+ String value() default "";
+
+ /** The connection pool to route queries to for this value. */
+ String connectionPool();
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="value" type="xsd:string" use="required"/>
+ <xsd:attribute name="connection-pool" type="xsd:string" use="required"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="round-robin-partitioning">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * RoundRobinPartitioning sends requests in a round robin fashion to the set of connection pools.
+ * It is for load-balancing read queries across a cluster of database machines.
+ * It requires that the full database be replicated on each machine, so does not support partitioning.
+ * The data should either be read-only, or writes should be replicated on the database.
+ *
+ * Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.
+ *
+ * @see org.eclipse.persistence.descriptors.partitioning.RoundRobinPolicy
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface RoundRobinPartitioning {
+ String name();
+
+ /**
+ * (Required) List of connection pool names to load balance across.
+ */
+ String[] connectionPools();
+
+ /**
+ * This allows for a set of database to be written to and kept in synch,
+ * and have reads load-balanced across the databases.
+ */
+ boolean replicateWrites() default false;
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="connection-pool" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ <xsd:attribute name="replicate-writes" type="xsd:boolean"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="replication-partitioning">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * ReplicationPartitioning sends requests to a set of connection pools.
+ * It is for replicating data across a cluster of database machines.
+ * Only modification queries are replicated.
+ *
+ * Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.
+ *
+ * @see org.eclipse.persistence.descriptors.partitioning.ReplicationPolicy
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface ReplicationPartitioning {
+ String name();
+
+ /**
+ * (Required) List of connection pool names to load balance across.
+ */
+ String[] connectionPools();
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="connection-pool" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="union-partitioning">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * UnionPartitioning sends queries to all connection pools and unions the results.
+ * This is for queries or relationships that span partitions when partitioning is used,
+ * such as on a ManyToMany cross partition relationship.
+ *
+ * Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.
+ *
+ * @see org.eclipse.persistence.descriptors.partitioning.UnionPartitioningPolicy
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface UnionPartitioning {
+ String name();
+
+ /**
+ * (Required) List of connection pool names to load balance across.
+ */
+ String[] connectionPools();
+
+ /**
+ * Defines if write queries should be replicated.
+ * Writes are normally not replicated when unioning,
+ * but can be for ManyToMany relationships, when the join table needs to be replicated.
+ */
+ boolean replicateWrites() default false;
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="connection-pool" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ <xsd:attribute name="replicate-writes" type="xsd:boolean"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="pinned-partitioning">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ /**
+ * PinnedPartitioning pins requests to a single connection pool.
+ *
+ * Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.
+ *
+ * @see org.eclipse.persistence.descriptors.partitioning.PinnedPartitioningPolicy
+ * @author James Sutherland
+ * @since EclipseLink 2.2
+ */
+ @Target({TYPE, METHOD, FIELD})
+ @Retention(RUNTIME)
+ public @interface PinnedPartitioning {
+ String name();
+
+ /**
+ * The connection pool name to pin queries to.
+ */
+ String connectionPool();
+ }
+
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="name" type="xsd:string" use="required"/>
+ <xsd:attribute name="connection-pool" type="xsd:string" use="required"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
<xsd:complexType name="column-result">
<xsd:annotation>
<xsd:documentation>
@@ -1656,6 +2189,10 @@
<xsd:element name="batch-fetch" type="orm:batch-fetch" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
+
+
+ <xsd:element name="noncacheable" type="orm:emptyType" minOccurs="0"/>
+ <xsd:group ref="orm:partitioning-group"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="target-class" type="xsd:string"/>
@@ -2307,6 +2844,7 @@
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="catalog" type="xsd:string"/>
<xsd:attribute name="schema" type="xsd:string"/>
+ <xsd:attribute name="creation-suffix" type="xsd:string" />
</xsd:complexType>
<!-- **************************************************** -->
@@ -2413,6 +2951,8 @@
<xsd:element name="batch-fetch" type="orm:batch-fetch" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
+ <xsd:element name="noncacheable" type="orm:emptyType" minOccurs="0"/>
+ <xsd:group ref="orm:partitioning-group"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="target-entity" type="xsd:string"/>
@@ -2451,6 +2991,8 @@
<xsd:element name="batch-fetch" type="orm:batch-fetch" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
+ <xsd:element name="noncacheable" type="orm:emptyType" minOccurs="0"/>
+ <xsd:group ref="orm:partitioning-group"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="target-entity" type="xsd:string"/>
@@ -2599,6 +3141,7 @@
minOccurs="0"/>
<xsd:element name="table-generator" type="orm:table-generator"
minOccurs="0"/>
+ <xsd:group ref="orm:partitioning-group"/>
<xsd:element name="named-query" type="orm:named-query"
minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="named-native-query" type="orm:named-native-query"
@@ -2884,6 +3427,8 @@
<xsd:element name="batch-fetch" type="orm:batch-fetch" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
+ <xsd:element name="noncacheable" type="orm:emptyType" minOccurs="0"/>
+ <xsd:group ref="orm:partitioning-group"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="target-entity" type="xsd:string"/>
@@ -2930,6 +3475,8 @@
<xsd:element name="batch-fetch" type="orm:batch-fetch" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
+ <xsd:element name="noncacheable" type="orm:emptyType" minOccurs="0"/>
+ <xsd:group ref="orm:partitioning-group"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="target-entity" type="xsd:string"/>
@@ -3527,6 +4074,7 @@ public @interface QueryRedirectors {
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="catalog" type="xsd:string"/>
<xsd:attribute name="schema" type="xsd:string"/>
+ <xsd:attribute name="creation-suffix" type="xsd:string" />
</xsd:complexType>
<!-- **************************************************** -->
@@ -3692,6 +4240,7 @@ public @interface QueryRedirectors {
<xsd:attribute name="name" type="xsd:string"/>
<xsd:attribute name="catalog" type="xsd:string"/>
<xsd:attribute name="schema" type="xsd:string"/>
+ <xsd:attribute name="creation-suffix" type="xsd:string" />
</xsd:complexType>
<!-- **************************************************** -->
@@ -3776,6 +4325,7 @@ public @interface QueryRedirectors {
<xsd:attribute name="table" type="xsd:string"/>
<xsd:attribute name="catalog" type="xsd:string"/>
<xsd:attribute name="schema" type="xsd:string"/>
+ <xsd:attribute name="creation-suffix" type="xsd:string"/>
<xsd:attribute name="pk-column-name" type="xsd:string"/>
<xsd:attribute name="value-column-name" type="xsd:string"/>
<xsd:attribute name="pk-column-value" type="xsd:string"/>
@@ -3911,7 +4461,6 @@ public @interface QueryRedirectors {
<xsd:sequence>
<xsd:element name="read-transformer" type="orm:read-transformer"/>
<xsd:element name="write-transformer" type="orm:write-transformer" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="access" type="orm:access-type" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
</xsd:sequence>
@@ -4076,6 +4625,8 @@ public @interface QueryRedirectors {
<xsd:element name="private-owned" type="orm:emptyType" minOccurs="0"/>
<xsd:element name="property" type="orm:property" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="access-methods" type="orm:access-methods" minOccurs="0"/>
+ <xsd:element name="noncacheable" type="orm:emptyType" minOccurs="0"/>
+ <xsd:group ref="orm:partitioning-group"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="target-interface" type="xsd:string"/>
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java
index 012ebaf0f7..c4064e3185 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java
@@ -91,6 +91,7 @@ public class EclipseLinkOrmFactory extends EFactoryImpl
case EclipseLinkOrmPackage.XML_CACHE: return (EObject)createXmlCache();
case EclipseLinkOrmPackage.XML_CHANGE_TRACKING: return (EObject)createXmlChangeTracking();
case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY: return (EObject)createXmlCloneCopyPolicy();
+ case EclipseLinkOrmPackage.XML_COLLECTION_TABLE: return (EObject)createXmlCollectionTable();
case EclipseLinkOrmPackage.XML_CONVERSION_VALUE: return (EObject)createXmlConversionValue();
case EclipseLinkOrmPackage.XML_CONVERTER: return (EObject)createXmlConverter();
case EclipseLinkOrmPackage.XML_COPY_POLICY: return (EObject)createXmlCopyPolicy();
@@ -103,9 +104,11 @@ public class EclipseLinkOrmFactory extends EFactoryImpl
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS: return (EObject)createXmlEntityMappings();
case EclipseLinkOrmPackage.XML_FETCH_ATTRIBUTE: return (EObject)createXmlFetchAttribute();
case EclipseLinkOrmPackage.XML_FETCH_GROUP: return (EObject)createXmlFetchGroup();
+ case EclipseLinkOrmPackage.XML_HASH_PARTITIONING: return (EObject)createXmlHashPartitioning();
case EclipseLinkOrmPackage.XML_ID: return (EObject)createXmlId();
case EclipseLinkOrmPackage.XML_INDEX: return (EObject)createXmlIndex();
case EclipseLinkOrmPackage.XML_INSTANTIATION_COPY_POLICY: return (EObject)createXmlInstantiationCopyPolicy();
+ case EclipseLinkOrmPackage.XML_JOIN_TABLE: return (EObject)createXmlJoinTable();
case EclipseLinkOrmPackage.XML_MANY_TO_MANY: return (EObject)createXmlManyToMany();
case EclipseLinkOrmPackage.XML_MANY_TO_ONE: return (EObject)createXmlManyToOne();
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS: return (EObject)createXmlMappedSuperclass();
@@ -116,18 +119,28 @@ public class EclipseLinkOrmFactory extends EFactoryImpl
case EclipseLinkOrmPackage.XML_ONE_TO_ONE: return (EObject)createXmlOneToOne();
case EclipseLinkOrmPackage.XML_OPTIMISTIC_LOCKING: return (EObject)createXmlOptimisticLocking();
case EclipseLinkOrmPackage.XML_ORDER_COLUMN: return (EObject)createXmlOrderColumn();
+ case EclipseLinkOrmPackage.XML_PARTITIONING: return (EObject)createXmlPartitioning();
case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS: return (EObject)createXmlPersistenceUnitDefaults();
case EclipseLinkOrmPackage.XML_PERSISTENCE_UNIT_METADATA: return (EObject)createXmlPersistenceUnitMetadata();
+ case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING: return (EObject)createXmlPinnedPartitioning();
case EclipseLinkOrmPackage.XML_PRIMARY_KEY: return (EObject)createXmlPrimaryKey();
case EclipseLinkOrmPackage.XML_PROPERTY: return (EObject)createXmlProperty();
case EclipseLinkOrmPackage.XML_QUERY_REDIRECTORS: return (EObject)createXmlQueryRedirectors();
+ case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING: return (EObject)createXmlRangePartitioning();
+ case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING: return (EObject)createXmlReplicationPartitioning();
case EclipseLinkOrmPackage.XML_RETURN_INSERT: return (EObject)createXmlReturnInsert();
+ case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING: return (EObject)createXmlRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_SECONDARY_TABLE: return (EObject)createXmlSecondaryTable();
case EclipseLinkOrmPackage.XML_STORED_PROCEDURE_PARAMETER: return (EObject)createXmlStoredProcedureParameter();
case EclipseLinkOrmPackage.XML_STRUCT_CONVERTER: return (EObject)createXmlStructConverter();
+ case EclipseLinkOrmPackage.XML_TABLE: return (EObject)createXmlTable();
+ case EclipseLinkOrmPackage.XML_TABLE_GENERATOR: return (EObject)createXmlTableGenerator();
case EclipseLinkOrmPackage.XML_TIME_OF_DAY: return (EObject)createXmlTimeOfDay();
case EclipseLinkOrmPackage.XML_TRANSFORMATION: return (EObject)createXmlTransformation();
case EclipseLinkOrmPackage.XML_TRANSIENT: return (EObject)createXmlTransient();
case EclipseLinkOrmPackage.XML_TYPE_CONVERTER: return (EObject)createXmlTypeConverter();
+ case EclipseLinkOrmPackage.XML_UNION_PARTITIONING: return (EObject)createXmlUnionPartitioning();
+ case EclipseLinkOrmPackage.XML_VALUE_PARTITIONING: return (EObject)createXmlValuePartitioning();
case EclipseLinkOrmPackage.XML_VARIABLE_ONE_TO_ONE: return (EObject)createXmlVariableOneToOne();
case EclipseLinkOrmPackage.XML_VERSION: return (EObject)createXmlVersion();
default:
@@ -308,6 +321,17 @@ public class EclipseLinkOrmFactory extends EFactoryImpl
* <!-- end-user-doc -->
* @generated
*/
+ public XmlCollectionTable createXmlCollectionTable()
+ {
+ XmlCollectionTable xmlCollectionTable = new XmlCollectionTable();
+ return xmlCollectionTable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public XmlConversionValue createXmlConversionValue()
{
XmlConversionValue xmlConversionValue = new XmlConversionValue();
@@ -473,6 +497,17 @@ public class EclipseLinkOrmFactory extends EFactoryImpl
* <!-- end-user-doc -->
* @generated
*/
+ public XmlJoinTable createXmlJoinTable()
+ {
+ XmlJoinTable xmlJoinTable = new XmlJoinTable();
+ return xmlJoinTable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public XmlManyToMany createXmlManyToMany()
{
XmlManyToMany xmlManyToMany = new XmlManyToMany();
@@ -649,6 +684,17 @@ public class EclipseLinkOrmFactory extends EFactoryImpl
* <!-- end-user-doc -->
* @generated
*/
+ public XmlSecondaryTable createXmlSecondaryTable()
+ {
+ XmlSecondaryTable xmlSecondaryTable = new XmlSecondaryTable();
+ return xmlSecondaryTable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public XmlStoredProcedureParameter createXmlStoredProcedureParameter()
{
XmlStoredProcedureParameter xmlStoredProcedureParameter = new XmlStoredProcedureParameter();
@@ -671,6 +717,28 @@ public class EclipseLinkOrmFactory extends EFactoryImpl
* <!-- end-user-doc -->
* @generated
*/
+ public XmlTable createXmlTable()
+ {
+ XmlTable xmlTable = new XmlTable();
+ return xmlTable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XmlTableGenerator createXmlTableGenerator()
+ {
+ XmlTableGenerator xmlTableGenerator = new XmlTableGenerator();
+ return xmlTableGenerator;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public XmlTimeOfDay createXmlTimeOfDay()
{
XmlTimeOfDay xmlTimeOfDay = new XmlTimeOfDay();
@@ -737,6 +805,94 @@ public class EclipseLinkOrmFactory extends EFactoryImpl
* <!-- end-user-doc -->
* @generated
*/
+ public XmlHashPartitioning createXmlHashPartitioning()
+ {
+ XmlHashPartitioning xmlHashPartitioning = new XmlHashPartitioning();
+ return xmlHashPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XmlPartitioning createXmlPartitioning()
+ {
+ XmlPartitioning xmlPartitioning = new XmlPartitioning();
+ return xmlPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XmlPinnedPartitioning createXmlPinnedPartitioning()
+ {
+ XmlPinnedPartitioning xmlPinnedPartitioning = new XmlPinnedPartitioning();
+ return xmlPinnedPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XmlRangePartitioning createXmlRangePartitioning()
+ {
+ XmlRangePartitioning xmlRangePartitioning = new XmlRangePartitioning();
+ return xmlRangePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XmlReplicationPartitioning createXmlReplicationPartitioning()
+ {
+ XmlReplicationPartitioning xmlReplicationPartitioning = new XmlReplicationPartitioning();
+ return xmlReplicationPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XmlRoundRobinPartitioning createXmlRoundRobinPartitioning()
+ {
+ XmlRoundRobinPartitioning xmlRoundRobinPartitioning = new XmlRoundRobinPartitioning();
+ return xmlRoundRobinPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XmlUnionPartitioning createXmlUnionPartitioning()
+ {
+ XmlUnionPartitioning xmlUnionPartitioning = new XmlUnionPartitioning();
+ return xmlUnionPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XmlValuePartitioning createXmlValuePartitioning()
+ {
+ XmlValuePartitioning xmlValuePartitioning = new XmlValuePartitioning();
+ return xmlValuePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public CacheCoordinationType createCacheCoordinationTypeFromString(EDataType eDataType, String initialValue)
{
CacheCoordinationType result = CacheCoordinationType.get(initialValue);
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java
index cf28f85154..0b1aa262a8 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java
@@ -918,6 +918,71 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_CLONE_COPY_POLICY_FEATURE_COUNT = 2;
/**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlCollectionTable <em>Xml Collection Table</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlCollectionTable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable()
+ * @generated
+ */
+ public static final int XML_COLLECTION_TABLE = 15;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_COLLECTION_TABLE__NAME = OrmPackage.XML_COLLECTION_TABLE__NAME;
+ /**
+ * The feature id for the '<em><b>Catalog</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_COLLECTION_TABLE__CATALOG = OrmPackage.XML_COLLECTION_TABLE__CATALOG;
+ /**
+ * The feature id for the '<em><b>Schema</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_COLLECTION_TABLE__SCHEMA = OrmPackage.XML_COLLECTION_TABLE__SCHEMA;
+ /**
+ * The feature id for the '<em><b>Unique Constraints</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_COLLECTION_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_COLLECTION_TABLE__UNIQUE_CONSTRAINTS;
+ /**
+ * The feature id for the '<em><b>Join Columns</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_COLLECTION_TABLE__JOIN_COLUMNS = OrmPackage.XML_COLLECTION_TABLE__JOIN_COLUMNS;
+ /**
+ * The feature id for the '<em><b>Creation Suffix</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_COLLECTION_TABLE__CREATION_SUFFIX = OrmPackage.XML_COLLECTION_TABLE_FEATURE_COUNT + 0;
+ /**
+ * The number of structural features of the '<em>Xml Collection Table</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_COLLECTION_TABLE_FEATURE_COUNT = OrmPackage.XML_COLLECTION_TABLE_FEATURE_COUNT + 1;
+ /**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlConversionValue <em>Xml Conversion Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -925,7 +990,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue()
* @generated
*/
- public static final int XML_CONVERSION_VALUE = 15;
+ public static final int XML_CONVERSION_VALUE = 16;
/**
* The feature id for the '<em><b>Data Value</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -958,7 +1023,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedConverter()
* @generated
*/
- public static final int XML_NAMED_CONVERTER = 39;
+ public static final int XML_NAMED_CONVERTER = 42;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -983,7 +1048,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter()
* @generated
*/
- public static final int XML_CONVERTER = 16;
+ public static final int XML_CONVERTER = 17;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -1016,7 +1081,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterHolder()
* @generated
*/
- public static final int XML_CONVERTER_HOLDER = 17;
+ public static final int XML_CONVERTER_HOLDER = 18;
/**
* The feature id for the '<em><b>Converter</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -1065,7 +1130,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertersHolder()
* @generated
*/
- public static final int XML_CONVERTERS_HOLDER = 18;
+ public static final int XML_CONVERTERS_HOLDER = 19;
/**
* The feature id for the '<em><b>Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -1114,7 +1179,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping()
* @generated
*/
- public static final int XML_CONVERTIBLE_MAPPING = 19;
+ public static final int XML_CONVERTIBLE_MAPPING = 20;
/**
* The feature id for the '<em><b>Lob</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -1195,7 +1260,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy()
* @generated
*/
- public static final int XML_COPY_POLICY = 20;
+ public static final int XML_COPY_POLICY = 21;
/**
* The feature id for the '<em><b>Class</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -1220,7 +1285,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer()
* @generated
*/
- public static final int XML_CUSTOMIZER = 21;
+ public static final int XML_CUSTOMIZER = 22;
/**
* The feature id for the '<em><b>Customizer Class Name</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -1245,7 +1310,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder()
* @generated
*/
- public static final int XML_CUSTOMIZER_HOLDER = 22;
+ public static final int XML_CUSTOMIZER_HOLDER = 23;
/**
* The feature id for the '<em><b>Customizer</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -1270,7 +1335,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection()
* @generated
*/
- public static final int XML_ELEMENT_COLLECTION = 23;
+ public static final int XML_ELEMENT_COLLECTION = 24;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -1560,13 +1625,93 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 15;
/**
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 16;
+ /**
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 17;
+ /**
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 18;
+ /**
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__PINNED_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 19;
+ /**
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__RANGE_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 20;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__VALUE_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 21;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__HASH_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 22;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__UNION_PARTITIONING = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 23;
+ /**
+ * The feature id for the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__PARTITIONED = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 24;
+ /**
* The feature id for the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 16;
+ public static final int XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 25;
+ /**
+ * The feature id for the '<em><b>Non Cacheable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ELEMENT_COLLECTION__NON_CACHEABLE = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 26;
/**
* The number of structural features of the '<em>Xml Element Collection</em>' class.
* <!-- begin-user-doc -->
@@ -1574,7 +1719,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ELEMENT_COLLECTION_FEATURE_COUNT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 17;
+ public static final int XML_ELEMENT_COLLECTION_FEATURE_COUNT = OrmPackage.XML_ELEMENT_COLLECTION_FEATURE_COUNT + 27;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEmbeddable <em>Xml Embeddable</em>}' class.
* <!-- begin-user-doc -->
@@ -1583,7 +1728,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable()
* @generated
*/
- public static final int XML_EMBEDDABLE = 24;
+ public static final int XML_EMBEDDABLE = 25;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -1760,7 +1905,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbedded()
* @generated
*/
- public static final int XML_EMBEDDED = 25;
+ public static final int XML_EMBEDDED = 26;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -1833,7 +1978,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddedId()
* @generated
*/
- public static final int XML_EMBEDDED_ID = 26;
+ public static final int XML_EMBEDDED_ID = 27;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -1898,7 +2043,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity()
* @generated
*/
- public static final int XML_ENTITY = 27;
+ public static final int XML_ENTITY = 28;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2204,13 +2349,85 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_ENTITY__PARENT_CLASS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 6;
/**
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 7;
+ /**
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__REPLICATION_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 8;
+ /**
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 9;
+ /**
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__PINNED_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 10;
+ /**
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__RANGE_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 11;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__VALUE_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 12;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__HASH_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 13;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__UNION_PARTITIONING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 14;
+ /**
+ * The feature id for the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY__PARTITIONED = OrmPackage.XML_ENTITY_FEATURE_COUNT + 15;
+ /**
* The feature id for the '<em><b>Additional Criteria</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ENTITY__ADDITIONAL_CRITERIA = OrmPackage.XML_ENTITY_FEATURE_COUNT + 7;
+ public static final int XML_ENTITY__ADDITIONAL_CRITERIA = OrmPackage.XML_ENTITY_FEATURE_COUNT + 16;
/**
* The feature id for the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2218,7 +2435,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__CASCADE_ON_DELETE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 8;
+ public static final int XML_ENTITY__CASCADE_ON_DELETE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 17;
/**
* The feature id for the '<em><b>Index</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -2226,7 +2443,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__INDEX = OrmPackage.XML_ENTITY_FEATURE_COUNT + 9;
+ public static final int XML_ENTITY__INDEX = OrmPackage.XML_ENTITY_FEATURE_COUNT + 18;
/**
* The feature id for the '<em><b>Read Only</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2234,7 +2451,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__READ_ONLY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 10;
+ public static final int XML_ENTITY__READ_ONLY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 19;
/**
* The feature id for the '<em><b>Customizer</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -2242,7 +2459,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__CUSTOMIZER = OrmPackage.XML_ENTITY_FEATURE_COUNT + 11;
+ public static final int XML_ENTITY__CUSTOMIZER = OrmPackage.XML_ENTITY_FEATURE_COUNT + 20;
/**
* The feature id for the '<em><b>Change Tracking</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -2250,7 +2467,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__CHANGE_TRACKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 12;
+ public static final int XML_ENTITY__CHANGE_TRACKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 21;
/**
* The feature id for the '<em><b>Cache</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -2258,7 +2475,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__CACHE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 13;
+ public static final int XML_ENTITY__CACHE = OrmPackage.XML_ENTITY_FEATURE_COUNT + 22;
/**
* The feature id for the '<em><b>Existence Checking</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2266,7 +2483,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__EXISTENCE_CHECKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 14;
+ public static final int XML_ENTITY__EXISTENCE_CHECKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 23;
/**
* The feature id for the '<em><b>Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2274,7 +2491,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 15;
+ public static final int XML_ENTITY__CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 24;
/**
* The feature id for the '<em><b>Type Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2282,7 +2499,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 16;
+ public static final int XML_ENTITY__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 25;
/**
* The feature id for the '<em><b>Object Type Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2290,7 +2507,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 17;
+ public static final int XML_ENTITY__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 26;
/**
* The feature id for the '<em><b>Struct Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2298,7 +2515,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 18;
+ public static final int XML_ENTITY__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 27;
/**
* The feature id for the '<em><b>Named Stored Procedure Queries</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2306,7 +2523,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 19;
+ public static final int XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 28;
/**
* The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2314,7 +2531,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__PROPERTIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 20;
+ public static final int XML_ENTITY__PROPERTIES = OrmPackage.XML_ENTITY_FEATURE_COUNT + 29;
/**
* The feature id for the '<em><b>Optimistic Locking</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -2322,7 +2539,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__OPTIMISTIC_LOCKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 21;
+ public static final int XML_ENTITY__OPTIMISTIC_LOCKING = OrmPackage.XML_ENTITY_FEATURE_COUNT + 30;
/**
* The feature id for the '<em><b>Copy Policy</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -2330,7 +2547,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 22;
+ public static final int XML_ENTITY__COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 31;
/**
* The feature id for the '<em><b>Instantiation Copy Policy</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -2338,7 +2555,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__INSTANTIATION_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 23;
+ public static final int XML_ENTITY__INSTANTIATION_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 32;
/**
* The feature id for the '<em><b>Clone Copy Policy</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -2346,7 +2563,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__CLONE_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 24;
+ public static final int XML_ENTITY__CLONE_COPY_POLICY = OrmPackage.XML_ENTITY_FEATURE_COUNT + 33;
/**
* The feature id for the '<em><b>Exclude Default Mappings</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2354,7 +2571,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 25;
+ public static final int XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_ENTITY_FEATURE_COUNT + 34;
/**
* The number of structural features of the '<em>Xml Entity</em>' class.
* <!-- begin-user-doc -->
@@ -2362,7 +2579,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY_FEATURE_COUNT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 26;
+ public static final int XML_ENTITY_FEATURE_COUNT = OrmPackage.XML_ENTITY_FEATURE_COUNT + 35;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntityMappings <em>Xml Entity Mappings</em>}' class.
* <!-- begin-user-doc -->
@@ -2371,7 +2588,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings()
* @generated
*/
- public static final int XML_ENTITY_MAPPINGS = 28;
+ public static final int XML_ENTITY_MAPPINGS = 29;
/**
* The feature id for the '<em><b>Version</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2501,13 +2718,85 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_ENTITY_MAPPINGS__EMBEDDABLES = OrmPackage.XML_ENTITY_MAPPINGS__EMBEDDABLES;
/**
+ * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__ACCESS_METHODS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 0;
+ /**
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 1;
+ /**
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 2;
+ /**
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 3;
+ /**
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__PINNED_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 4;
+ /**
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__RANGE_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 5;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__VALUE_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 6;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__HASH_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 7;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ENTITY_MAPPINGS__UNION_PARTITIONING = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 8;
+ /**
* The feature id for the '<em><b>Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ENTITY_MAPPINGS__CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 0;
+ public static final int XML_ENTITY_MAPPINGS__CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 9;
/**
* The feature id for the '<em><b>Type Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2515,7 +2804,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY_MAPPINGS__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 1;
+ public static final int XML_ENTITY_MAPPINGS__TYPE_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 10;
/**
* The feature id for the '<em><b>Object Type Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2523,7 +2812,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 2;
+ public static final int XML_ENTITY_MAPPINGS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 11;
/**
* The feature id for the '<em><b>Struct Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2531,7 +2820,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 3;
+ public static final int XML_ENTITY_MAPPINGS__STRUCT_CONVERTERS = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 12;
/**
* The feature id for the '<em><b>Named Stored Procedure Queries</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -2539,7 +2828,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 4;
+ public static final int XML_ENTITY_MAPPINGS__NAMED_STORED_PROCEDURE_QUERIES = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 13;
/**
* The number of structural features of the '<em>Xml Entity Mappings</em>' class.
* <!-- begin-user-doc -->
@@ -2547,7 +2836,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_ENTITY_MAPPINGS_FEATURE_COUNT = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 5;
+ public static final int XML_ENTITY_MAPPINGS_FEATURE_COUNT = OrmPackage.XML_ENTITY_MAPPINGS_FEATURE_COUNT + 14;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlFetchAttribute <em>Xml Fetch Attribute</em>}' class.
* <!-- begin-user-doc -->
@@ -2556,7 +2845,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchAttribute()
* @generated
*/
- public static final int XML_FETCH_ATTRIBUTE = 29;
+ public static final int XML_FETCH_ATTRIBUTE = 30;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2581,7 +2870,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup()
* @generated
*/
- public static final int XML_FETCH_GROUP = 30;
+ public static final int XML_FETCH_GROUP = 31;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2622,7 +2911,347 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId()
* @generated
*/
- public static final int XML_ID = 31;
+ public static final int XML_ID = 33;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlIndex <em>Xml Index</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlIndex
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex()
+ * @generated
+ */
+ public static final int XML_INDEX = 34;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy <em>Xml Instantiation Copy Policy</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy()
+ * @generated
+ */
+ public static final int XML_INSTANTIATION_COPY_POLICY = 35;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinFetch <em>Xml Join Fetch</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinFetch
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch()
+ * @generated
+ */
+ public static final int XML_JOIN_FETCH = 36;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinTable <em>Xml Join Table</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinTable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable()
+ * @generated
+ */
+ public static final int XML_JOIN_TABLE = 37;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany <em>Xml Many To Many</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany()
+ * @generated
+ */
+ public static final int XML_MANY_TO_MANY = 38;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne <em>Xml Many To One</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne()
+ * @generated
+ */
+ public static final int XML_MANY_TO_ONE = 39;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass <em>Xml Mapped Superclass</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass()
+ * @generated
+ */
+ public static final int XML_MAPPED_SUPERCLASS = 40;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMutable <em>Xml Mutable</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlMutable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable()
+ * @generated
+ */
+ public static final int XML_MUTABLE = 41;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery <em>Xml Named Stored Procedure Query</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery()
+ * @generated
+ */
+ public static final int XML_NAMED_STORED_PROCEDURE_QUERY = 43;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlObjectTypeConverter <em>Xml Object Type Converter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlObjectTypeConverter
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter()
+ * @generated
+ */
+ public static final int XML_OBJECT_TYPE_CONVERTER = 44;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany <em>Xml One To Many</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany()
+ * @generated
+ */
+ public static final int XML_ONE_TO_MANY = 45;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne <em>Xml One To One</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne()
+ * @generated
+ */
+ public static final int XML_ONE_TO_ONE = 46;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOptimisticLocking <em>Xml Optimistic Locking</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlOptimisticLocking
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking()
+ * @generated
+ */
+ public static final int XML_OPTIMISTIC_LOCKING = 47;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOrderColumn <em>Xml Order Column</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlOrderColumn
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn()
+ * @generated
+ */
+ public static final int XML_ORDER_COLUMN = 48;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults <em>Xml Persistence Unit Defaults</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitDefaults()
+ * @generated
+ */
+ public static final int XML_PERSISTENCE_UNIT_DEFAULTS = 50;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata <em>Xml Persistence Unit Metadata</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata()
+ * @generated
+ */
+ public static final int XML_PERSISTENCE_UNIT_METADATA = 51;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPrimaryKey <em>Xml Primary Key</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPrimaryKey
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey()
+ * @generated
+ */
+ public static final int XML_PRIMARY_KEY = 53;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPrivateOwned <em>Xml Private Owned</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPrivateOwned
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned()
+ * @generated
+ */
+ public static final int XML_PRIVATE_OWNED = 54;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlProperty <em>Xml Property</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlProperty
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty()
+ * @generated
+ */
+ public static final int XML_PROPERTY = 55;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPropertyContainer <em>Xml Property Container</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPropertyContainer
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer()
+ * @generated
+ */
+ public static final int XML_PROPERTY_CONTAINER = 56;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlQueryContainer <em>Xml Query Container</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlQueryContainer
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer()
+ * @generated
+ */
+ public static final int XML_QUERY_CONTAINER = 57;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlQueryRedirectors <em>Xml Query Redirectors</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlQueryRedirectors
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors()
+ * @generated
+ */
+ public static final int XML_QUERY_REDIRECTORS = 58;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlReadOnly <em>Xml Read Only</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlReadOnly
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly()
+ * @generated
+ */
+ public static final int XML_READ_ONLY = 60;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlReturnInsert <em>Xml Return Insert</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlReturnInsert
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert()
+ * @generated
+ */
+ public static final int XML_RETURN_INSERT = 62;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlSecondaryTable <em>Xml Secondary Table</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlSecondaryTable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlSecondaryTable()
+ * @generated
+ */
+ public static final int XML_SECONDARY_TABLE = 64;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlStoredProcedureParameter <em>Xml Stored Procedure Parameter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlStoredProcedureParameter
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter()
+ * @generated
+ */
+ public static final int XML_STORED_PROCEDURE_PARAMETER = 65;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlStructConverter <em>Xml Struct Converter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlStructConverter
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter()
+ * @generated
+ */
+ public static final int XML_STRUCT_CONVERTER = 66;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTable <em>Xml Table</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTable()
+ * @generated
+ */
+ public static final int XML_TABLE = 67;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTableGenerator <em>Xml Table Generator</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTableGenerator
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator()
+ * @generated
+ */
+ public static final int XML_TABLE_GENERATOR = 68;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTimeOfDay <em>Xml Time Of Day</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTimeOfDay
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay()
+ * @generated
+ */
+ public static final int XML_TIME_OF_DAY = 69;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTransformation <em>Xml Transformation</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTransformation
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransformation()
+ * @generated
+ */
+ public static final int XML_TRANSFORMATION = 70;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTransient <em>Xml Transient</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTransient
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient()
+ * @generated
+ */
+ public static final int XML_TRANSIENT = 71;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTypeConverter <em>Xml Type Converter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTypeConverter
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter()
+ * @generated
+ */
+ public static final int XML_TYPE_CONVERTER = 72;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlVariableOneToOne <em>Xml Variable One To One</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlVariableOneToOne
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne()
+ * @generated
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE = 75;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlVersion <em>Xml Version</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlVersion
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVersion()
+ * @generated
+ */
+ public static final int XML_VERSION = 76;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlHashPartitioning <em>Xml Hash Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlHashPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning()
+ * @generated
+ */
+ public static final int XML_HASH_PARTITIONING = 32;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_HASH_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_HASH_PARTITIONING_22__NAME;
+ /**
+ * The number of structural features of the '<em>Xml Hash Partitioning</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_HASH_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_HASH_PARTITIONING_22_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -2784,15 +3413,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_ID_FEATURE_COUNT = OrmPackage.XML_ID_FEATURE_COUNT + 10;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlIndex <em>Xml Index</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlIndex
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex()
- * @generated
- */
- public static final int XML_INDEX = 32;
- /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2849,56 +3469,93 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_INDEX_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_INDEX_22_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy <em>Xml Instantiation Copy Policy</em>}' class.
+ * The number of structural features of the '<em>Xml Instantiation Copy Policy</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlInstantiationCopyPolicy()
* @generated
+ * @ordered
*/
- public static final int XML_INSTANTIATION_COPY_POLICY = 33;
+ public static final int XML_INSTANTIATION_COPY_POLICY_FEATURE_COUNT = 0;
/**
- * The number of structural features of the '<em>Xml Instantiation Copy Policy</em>' class.
+ * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_INSTANTIATION_COPY_POLICY_FEATURE_COUNT = 0;
+ public static final int XML_JOIN_FETCH__JOIN_FETCH = 0;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinFetch <em>Xml Join Fetch</em>}' class.
+ * The number of structural features of the '<em>Xml Join Fetch</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinFetch
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch()
* @generated
+ * @ordered
*/
- public static final int XML_JOIN_FETCH = 34;
+ public static final int XML_JOIN_FETCH_FEATURE_COUNT = 1;
/**
- * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_JOIN_FETCH__JOIN_FETCH = 0;
+ public static final int XML_JOIN_TABLE__NAME = OrmPackage.XML_JOIN_TABLE__NAME;
/**
- * The number of structural features of the '<em>Xml Join Fetch</em>' class.
+ * The feature id for the '<em><b>Catalog</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_JOIN_FETCH_FEATURE_COUNT = 1;
+ public static final int XML_JOIN_TABLE__CATALOG = OrmPackage.XML_JOIN_TABLE__CATALOG;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany <em>Xml Many To Many</em>}' class.
+ * The feature id for the '<em><b>Schema</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_JOIN_TABLE__SCHEMA = OrmPackage.XML_JOIN_TABLE__SCHEMA;
+ /**
+ * The feature id for the '<em><b>Unique Constraints</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_JOIN_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_JOIN_TABLE__UNIQUE_CONSTRAINTS;
+ /**
+ * The feature id for the '<em><b>Join Columns</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_JOIN_TABLE__JOIN_COLUMNS = OrmPackage.XML_JOIN_TABLE__JOIN_COLUMNS;
+ /**
+ * The feature id for the '<em><b>Inverse Join Columns</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_JOIN_TABLE__INVERSE_JOIN_COLUMNS = OrmPackage.XML_JOIN_TABLE__INVERSE_JOIN_COLUMNS;
+ /**
+ * The feature id for the '<em><b>Creation Suffix</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany()
* @generated
+ * @ordered
*/
- public static final int XML_MANY_TO_MANY = 35;
+ public static final int XML_JOIN_TABLE__CREATION_SUFFIX = OrmPackage.XML_JOIN_TABLE_FEATURE_COUNT + 0;
+ /**
+ * The number of structural features of the '<em>Xml Join Table</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_JOIN_TABLE_FEATURE_COUNT = OrmPackage.XML_JOIN_TABLE_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -3092,54 +3749,125 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_MANY_TO_MANY__ATTRIBUTE_TYPE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 7;
/**
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 8;
+ /**
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__REPLICATION_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 9;
+ /**
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 10;
+ /**
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__PINNED_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 11;
+ /**
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__RANGE_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 12;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__VALUE_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 13;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__HASH_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 14;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__UNION_PARTITIONING = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 15;
+ /**
+ * The feature id for the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_MANY__PARTITIONED = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 16;
+ /**
* The feature id for the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 8;
+ public static final int XML_MANY_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 17;
/**
- * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
+ * The feature id for the '<em><b>Non Cacheable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_MANY__ACCESS_METHODS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 9;
+ public static final int XML_MANY_TO_MANY__NON_CACHEABLE = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 18;
/**
- * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_MANY__PROPERTIES = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 10;
+ public static final int XML_MANY_TO_MANY__ACCESS_METHODS = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 19;
/**
- * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_MANY__JOIN_FETCH = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 11;
+ public static final int XML_MANY_TO_MANY__PROPERTIES = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 20;
/**
- * The number of structural features of the '<em>Xml Many To Many</em>' class.
+ * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_MANY_FEATURE_COUNT = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 12;
+ public static final int XML_MANY_TO_MANY__JOIN_FETCH = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 21;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne <em>Xml Many To One</em>}' class.
+ * The number of structural features of the '<em>Xml Many To Many</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne()
* @generated
+ * @ordered
*/
- public static final int XML_MANY_TO_ONE = 36;
+ public static final int XML_MANY_TO_MANY_FEATURE_COUNT = OrmPackage.XML_MANY_TO_MANY_FEATURE_COUNT + 22;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -3229,46 +3957,117 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_MANY_TO_ONE__BATCH_FETCH = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_ONE__ACCESS_METHODS = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 1;
+ public static final int XML_MANY_TO_ONE__PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_ONE__PROPERTIES = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 2;
+ public static final int XML_MANY_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_ONE__JOIN_FETCH = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 3;
+ public static final int XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 3;
/**
- * The number of structural features of the '<em>Xml Many To One</em>' class.
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MANY_TO_ONE_FEATURE_COUNT = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 4;
+ public static final int XML_MANY_TO_ONE__PINNED_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 4;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass <em>Xml Mapped Superclass</em>}' class.
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE__RANGE_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 5;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE__VALUE_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 6;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE__HASH_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 7;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE__UNION_PARTITIONING = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 8;
+ /**
+ * The feature id for the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE__PARTITIONED = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 9;
+ /**
+ * The feature id for the '<em><b>Non Cacheable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMappedSuperclass()
* @generated
+ * @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS = 37;
+ public static final int XML_MANY_TO_ONE__NON_CACHEABLE = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 10;
+ /**
+ * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE__ACCESS_METHODS = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 11;
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE__PROPERTIES = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 12;
+ /**
+ * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE__JOIN_FETCH = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 13;
+ /**
+ * The number of structural features of the '<em>Xml Many To One</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MANY_TO_ONE_FEATURE_COUNT = OrmPackage.XML_MANY_TO_ONE_FEATURE_COUNT + 14;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -3462,13 +4261,85 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_MAPPED_SUPERCLASS__PARENT_CLASS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 14;
/**
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 15;
+ /**
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 16;
+ /**
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 17;
+ /**
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 18;
+ /**
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 19;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 20;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__HASH_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 21;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__UNION_PARTITIONING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 22;
+ /**
+ * The feature id for the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_MAPPED_SUPERCLASS__PARTITIONED = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 23;
+ /**
* The feature id for the '<em><b>Additional Criteria</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 15;
+ public static final int XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 24;
/**
* The feature id for the '<em><b>Read Only</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -3476,7 +4347,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__READ_ONLY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 16;
+ public static final int XML_MAPPED_SUPERCLASS__READ_ONLY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 25;
/**
* The feature id for the '<em><b>Customizer</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -3484,7 +4355,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__CUSTOMIZER = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 17;
+ public static final int XML_MAPPED_SUPERCLASS__CUSTOMIZER = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 26;
/**
* The feature id for the '<em><b>Change Tracking</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -3492,7 +4363,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__CHANGE_TRACKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 18;
+ public static final int XML_MAPPED_SUPERCLASS__CHANGE_TRACKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 27;
/**
* The feature id for the '<em><b>Cache</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -3500,7 +4371,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__CACHE = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 19;
+ public static final int XML_MAPPED_SUPERCLASS__CACHE = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 28;
/**
* The feature id for the '<em><b>Existence Checking</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -3508,7 +4379,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 20;
+ public static final int XML_MAPPED_SUPERCLASS__EXISTENCE_CHECKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 29;
/**
* The feature id for the '<em><b>Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -3516,7 +4387,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 21;
+ public static final int XML_MAPPED_SUPERCLASS__CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 30;
/**
* The feature id for the '<em><b>Type Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -3524,7 +4395,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 22;
+ public static final int XML_MAPPED_SUPERCLASS__TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 31;
/**
* The feature id for the '<em><b>Object Type Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -3532,7 +4403,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 23;
+ public static final int XML_MAPPED_SUPERCLASS__OBJECT_TYPE_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 32;
/**
* The feature id for the '<em><b>Struct Converters</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -3540,7 +4411,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 24;
+ public static final int XML_MAPPED_SUPERCLASS__STRUCT_CONVERTERS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 33;
/**
* The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
@@ -3548,7 +4419,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__PROPERTIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 25;
+ public static final int XML_MAPPED_SUPERCLASS__PROPERTIES = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 34;
/**
* The feature id for the '<em><b>Optimistic Locking</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -3556,7 +4427,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 26;
+ public static final int XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 35;
/**
* The feature id for the '<em><b>Copy Policy</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -3564,7 +4435,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 27;
+ public static final int XML_MAPPED_SUPERCLASS__COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 36;
/**
* The feature id for the '<em><b>Instantiation Copy Policy</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -3572,7 +4443,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 28;
+ public static final int XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 37;
/**
* The feature id for the '<em><b>Clone Copy Policy</b></em>' containment reference.
* <!-- begin-user-doc -->
@@ -3580,7 +4451,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 29;
+ public static final int XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 38;
/**
* The feature id for the '<em><b>Exclude Default Mappings</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -3588,7 +4459,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 30;
+ public static final int XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 39;
/**
* The number of structural features of the '<em>Xml Mapped Superclass</em>' class.
* <!-- begin-user-doc -->
@@ -3596,16 +4467,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @generated
* @ordered
*/
- public static final int XML_MAPPED_SUPERCLASS_FEATURE_COUNT = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 31;
- /**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMutable <em>Xml Mutable</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlMutable
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable()
- * @generated
- */
- public static final int XML_MUTABLE = 38;
+ public static final int XML_MAPPED_SUPERCLASS_FEATURE_COUNT = OrmPackage.XML_MAPPED_SUPERCLASS_FEATURE_COUNT + 40;
/**
* The feature id for the '<em><b>Mutable</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -3623,15 +4485,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_MUTABLE_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery <em>Xml Named Stored Procedure Query</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlNamedStoredProcedureQuery()
- * @generated
- */
- public static final int XML_NAMED_STORED_PROCEDURE_QUERY = 40;
- /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3696,15 +4549,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_NAMED_STORED_PROCEDURE_QUERY_FEATURE_COUNT = 7;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlObjectTypeConverter <em>Xml Object Type Converter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlObjectTypeConverter
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlObjectTypeConverter()
- * @generated
- */
- public static final int XML_OBJECT_TYPE_CONVERTER = 41;
- /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3753,15 +4597,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_OBJECT_TYPE_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 4;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany <em>Xml One To Many</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany()
- * @generated
- */
- public static final int XML_ONE_TO_MANY = 42;
- /**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3970,62 +4805,133 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_ONE_TO_MANY__ATTRIBUTE_TYPE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 7;
/**
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 8;
+ /**
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__REPLICATION_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 9;
+ /**
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 10;
+ /**
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__PINNED_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 11;
+ /**
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__RANGE_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 12;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__VALUE_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 13;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__HASH_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 14;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__UNION_PARTITIONING = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 15;
+ /**
+ * The feature id for the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_MANY__PARTITIONED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 16;
+ /**
* The feature id for the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 8;
+ public static final int XML_ONE_TO_MANY__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 17;
/**
- * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
+ * The feature id for the '<em><b>Non Cacheable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_MANY__ACCESS_METHODS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 9;
+ public static final int XML_ONE_TO_MANY__NON_CACHEABLE = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 18;
/**
- * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_MANY__PROPERTIES = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 10;
+ public static final int XML_ONE_TO_MANY__ACCESS_METHODS = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 19;
/**
- * The feature id for the '<em><b>Private Owned</b></em>' attribute.
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_MANY__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 11;
+ public static final int XML_ONE_TO_MANY__PROPERTIES = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 20;
/**
- * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
+ * The feature id for the '<em><b>Private Owned</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_MANY__JOIN_FETCH = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 12;
+ public static final int XML_ONE_TO_MANY__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 21;
/**
- * The number of structural features of the '<em>Xml One To Many</em>' class.
+ * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_MANY_FEATURE_COUNT = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 13;
+ public static final int XML_ONE_TO_MANY__JOIN_FETCH = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 22;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne <em>Xml One To One</em>}' class.
+ * The number of structural features of the '<em>Xml One To Many</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne()
* @generated
+ * @ordered
*/
- public static final int XML_ONE_TO_ONE = 43;
+ public static final int XML_ONE_TO_MANY_FEATURE_COUNT = OrmPackage.XML_ONE_TO_MANY_FEATURE_COUNT + 23;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -4139,62 +5045,133 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_ONE_TO_ONE__BATCH_FETCH = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 0;
/**
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 1;
+ /**
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 2;
+ /**
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 3;
+ /**
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__PINNED_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 4;
+ /**
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__RANGE_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 5;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__VALUE_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 6;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__HASH_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 7;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__UNION_PARTITIONING = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 8;
+ /**
+ * The feature id for the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ONE_TO_ONE__PARTITIONED = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 9;
+ /**
* The feature id for the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_ONE__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 1;
+ public static final int XML_ONE_TO_ONE__CASCADE_ON_DELETE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 10;
/**
- * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
+ * The feature id for the '<em><b>Non Cacheable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_ONE__ACCESS_METHODS = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 2;
+ public static final int XML_ONE_TO_ONE__NON_CACHEABLE = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 11;
/**
- * The feature id for the '<em><b>Properties</b></em>' containment reference list.
+ * The feature id for the '<em><b>Access Methods</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_ONE__PROPERTIES = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 3;
+ public static final int XML_ONE_TO_ONE__ACCESS_METHODS = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 12;
/**
- * The feature id for the '<em><b>Private Owned</b></em>' attribute.
+ * The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_ONE__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 4;
+ public static final int XML_ONE_TO_ONE__PROPERTIES = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 13;
/**
- * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
+ * The feature id for the '<em><b>Private Owned</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_ONE__JOIN_FETCH = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 5;
+ public static final int XML_ONE_TO_ONE__PRIVATE_OWNED = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 14;
/**
- * The number of structural features of the '<em>Xml One To One</em>' class.
+ * The feature id for the '<em><b>Join Fetch</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_ONE_TO_ONE_FEATURE_COUNT = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 6;
+ public static final int XML_ONE_TO_ONE__JOIN_FETCH = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 15;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOptimisticLocking <em>Xml Optimistic Locking</em>}' class.
+ * The number of structural features of the '<em>Xml One To One</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlOptimisticLocking
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLocking()
* @generated
+ * @ordered
*/
- public static final int XML_OPTIMISTIC_LOCKING = 44;
+ public static final int XML_ONE_TO_ONE_FEATURE_COUNT = OrmPackage.XML_ONE_TO_ONE_FEATURE_COUNT + 16;
/**
* The feature id for the '<em><b>Type</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -4228,15 +5205,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_OPTIMISTIC_LOCKING_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOrderColumn <em>Xml Order Column</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlOrderColumn
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOrderColumn()
- * @generated
- */
- public static final int XML_ORDER_COLUMN = 45;
- /**
* The feature id for the '<em><b>Column Definition</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4293,14 +5261,30 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_ORDER_COLUMN_FEATURE_COUNT = OrmPackage.XML_ORDER_COLUMN_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults <em>Xml Persistence Unit Defaults</em>}' class.
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPartitioning <em>Xml Partitioning</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitDefaults()
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning()
* @generated
*/
- public static final int XML_PERSISTENCE_UNIT_DEFAULTS = 46;
+ public static final int XML_PARTITIONING = 49;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_PARTITIONING_22__NAME;
+ /**
+ * The number of structural features of the '<em>Xml Partitioning</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_PARTITIONING_22_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -4374,15 +5358,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT = OrmPackage.XML_PERSISTENCE_UNIT_DEFAULTS_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata <em>Xml Persistence Unit Metadata</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPersistenceUnitMetadata()
- * @generated
- */
- public static final int XML_PERSISTENCE_UNIT_METADATA = 47;
- /**
* The feature id for the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4423,14 +5398,30 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_PERSISTENCE_UNIT_METADATA_FEATURE_COUNT = OrmPackage.XML_PERSISTENCE_UNIT_METADATA_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPrimaryKey <em>Xml Primary Key</em>}' class.
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPinnedPartitioning <em>Xml Pinned Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPinnedPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning()
+ * @generated
+ */
+ public static final int XML_PINNED_PARTITIONING = 52;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPrimaryKey
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrimaryKey()
* @generated
+ * @ordered
+ */
+ public static final int XML_PINNED_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_PINNED_PARTITIONING_22__NAME;
+ /**
+ * The number of structural features of the '<em>Xml Pinned Partitioning</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
*/
- public static final int XML_PRIMARY_KEY = 48;
+ public static final int XML_PINNED_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_PINNED_PARTITIONING_22_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Validation</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -4464,15 +5455,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_PRIMARY_KEY_FEATURE_COUNT = EclipseLinkOrmV1_1Package.XML_PRIMARY_KEY_11_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPrivateOwned <em>Xml Private Owned</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPrivateOwned
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPrivateOwned()
- * @generated
- */
- public static final int XML_PRIVATE_OWNED = 49;
- /**
* The feature id for the '<em><b>Private Owned</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4489,15 +5471,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_PRIVATE_OWNED_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlProperty <em>Xml Property</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlProperty
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlProperty()
- * @generated
- */
- public static final int XML_PROPERTY = 50;
- /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4530,15 +5503,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_PROPERTY_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPropertyContainer <em>Xml Property Container</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPropertyContainer
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer()
- * @generated
- */
- public static final int XML_PROPERTY_CONTAINER = 51;
- /**
* The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4555,15 +5519,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_PROPERTY_CONTAINER_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlQueryContainer <em>Xml Query Container</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlQueryContainer
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer()
- * @generated
- */
- public static final int XML_QUERY_CONTAINER = 52;
- /**
* The feature id for the '<em><b>Named Stored Procedure Queries</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4580,15 +5535,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_QUERY_CONTAINER_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlQueryRedirectors <em>Xml Query Redirectors</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlQueryRedirectors
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryRedirectors()
- * @generated
- */
- public static final int XML_QUERY_REDIRECTORS = 53;
- /**
* The feature id for the '<em><b>All Queries</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4653,14 +5599,30 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_QUERY_REDIRECTORS_FEATURE_COUNT = EclipseLinkOrmV2_0Package.XML_QUERY_REDIRECTORS_20_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlReadOnly <em>Xml Read Only</em>}' class.
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlRangePartitioning <em>Xml Range Partitioning</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlReadOnly
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly()
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlRangePartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning()
* @generated
*/
- public static final int XML_READ_ONLY = 54;
+ public static final int XML_RANGE_PARTITIONING = 59;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_RANGE_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_RANGE_PARTITIONING_22__NAME;
+ /**
+ * The number of structural features of the '<em>Xml Range Partitioning</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_RANGE_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_RANGE_PARTITIONING_22_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Read Only</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -4678,14 +5640,30 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_READ_ONLY_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlReturnInsert <em>Xml Return Insert</em>}' class.
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlReplicationPartitioning <em>Xml Replication Partitioning</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlReturnInsert
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReturnInsert()
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlReplicationPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning()
* @generated
*/
- public static final int XML_RETURN_INSERT = 55;
+ public static final int XML_REPLICATION_PARTITIONING = 61;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_REPLICATION_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_REPLICATION_PARTITIONING_22__NAME;
+ /**
+ * The number of structural features of the '<em>Xml Replication Partitioning</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_REPLICATION_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_REPLICATION_PARTITIONING_22_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Return Only</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -4703,14 +5681,86 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_RETURN_INSERT_FEATURE_COUNT = EclipseLinkOrmV2_1Package.XML_RETURN_INSERT_21_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlStoredProcedureParameter <em>Xml Stored Procedure Parameter</em>}' class.
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlRoundRobinPartitioning <em>Xml Round Robin Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlRoundRobinPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning()
+ * @generated
+ */
+ public static final int XML_ROUND_ROBIN_PARTITIONING = 63;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ROUND_ROBIN_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_ROUND_ROBIN_PARTITIONING_22__NAME;
+ /**
+ * The number of structural features of the '<em>Xml Round Robin Partitioning</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_ROUND_ROBIN_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_ROUND_ROBIN_PARTITIONING_22_FEATURE_COUNT + 0;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_SECONDARY_TABLE__NAME = OrmPackage.XML_SECONDARY_TABLE__NAME;
+ /**
+ * The feature id for the '<em><b>Catalog</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_SECONDARY_TABLE__CATALOG = OrmPackage.XML_SECONDARY_TABLE__CATALOG;
+ /**
+ * The feature id for the '<em><b>Schema</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlStoredProcedureParameter
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStoredProcedureParameter()
* @generated
+ * @ordered
+ */
+ public static final int XML_SECONDARY_TABLE__SCHEMA = OrmPackage.XML_SECONDARY_TABLE__SCHEMA;
+ /**
+ * The feature id for the '<em><b>Unique Constraints</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
*/
- public static final int XML_STORED_PROCEDURE_PARAMETER = 56;
+ public static final int XML_SECONDARY_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_SECONDARY_TABLE__UNIQUE_CONSTRAINTS;
+ /**
+ * The feature id for the '<em><b>Primary Key Join Columns</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_SECONDARY_TABLE__PRIMARY_KEY_JOIN_COLUMNS = OrmPackage.XML_SECONDARY_TABLE__PRIMARY_KEY_JOIN_COLUMNS;
+ /**
+ * The feature id for the '<em><b>Creation Suffix</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_SECONDARY_TABLE__CREATION_SUFFIX = OrmPackage.XML_SECONDARY_TABLE_FEATURE_COUNT + 0;
+ /**
+ * The number of structural features of the '<em>Xml Secondary Table</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_SECONDARY_TABLE_FEATURE_COUNT = OrmPackage.XML_SECONDARY_TABLE_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Direction</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -4768,15 +5818,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_STORED_PROCEDURE_PARAMETER_FEATURE_COUNT = 6;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlStructConverter <em>Xml Struct Converter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlStructConverter
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlStructConverter()
- * @generated
- */
- public static final int XML_STRUCT_CONVERTER = 57;
- /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4801,14 +5842,157 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_STRUCT_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTimeOfDay <em>Xml Time Of Day</em>}' class.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTimeOfDay
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTimeOfDay()
* @generated
+ * @ordered
+ */
+ public static final int XML_TABLE__NAME = OrmPackage.XML_TABLE__NAME;
+ /**
+ * The feature id for the '<em><b>Catalog</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE__CATALOG = OrmPackage.XML_TABLE__CATALOG;
+ /**
+ * The feature id for the '<em><b>Schema</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
*/
- public static final int XML_TIME_OF_DAY = 58;
+ public static final int XML_TABLE__SCHEMA = OrmPackage.XML_TABLE__SCHEMA;
+ /**
+ * The feature id for the '<em><b>Unique Constraints</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE__UNIQUE_CONSTRAINTS = OrmPackage.XML_TABLE__UNIQUE_CONSTRAINTS;
+ /**
+ * The feature id for the '<em><b>Creation Suffix</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE__CREATION_SUFFIX = OrmPackage.XML_TABLE_FEATURE_COUNT + 0;
+ /**
+ * The number of structural features of the '<em>Xml Table</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_FEATURE_COUNT = OrmPackage.XML_TABLE_FEATURE_COUNT + 1;
+ /**
+ * The feature id for the '<em><b>Description</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__DESCRIPTION = OrmPackage.XML_TABLE_GENERATOR__DESCRIPTION;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__NAME = OrmPackage.XML_TABLE_GENERATOR__NAME;
+ /**
+ * The feature id for the '<em><b>Initial Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__INITIAL_VALUE = OrmPackage.XML_TABLE_GENERATOR__INITIAL_VALUE;
+ /**
+ * The feature id for the '<em><b>Allocation Size</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__ALLOCATION_SIZE = OrmPackage.XML_TABLE_GENERATOR__ALLOCATION_SIZE;
+ /**
+ * The feature id for the '<em><b>Table</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__TABLE = OrmPackage.XML_TABLE_GENERATOR__TABLE;
+ /**
+ * The feature id for the '<em><b>Catalog</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__CATALOG = OrmPackage.XML_TABLE_GENERATOR__CATALOG;
+ /**
+ * The feature id for the '<em><b>Schema</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__SCHEMA = OrmPackage.XML_TABLE_GENERATOR__SCHEMA;
+ /**
+ * The feature id for the '<em><b>Pk Column Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__PK_COLUMN_NAME = OrmPackage.XML_TABLE_GENERATOR__PK_COLUMN_NAME;
+ /**
+ * The feature id for the '<em><b>Value Column Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__VALUE_COLUMN_NAME = OrmPackage.XML_TABLE_GENERATOR__VALUE_COLUMN_NAME;
+ /**
+ * The feature id for the '<em><b>Pk Column Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__PK_COLUMN_VALUE = OrmPackage.XML_TABLE_GENERATOR__PK_COLUMN_VALUE;
+ /**
+ * The feature id for the '<em><b>Unique Constraints</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__UNIQUE_CONSTRAINTS = OrmPackage.XML_TABLE_GENERATOR__UNIQUE_CONSTRAINTS;
+ /**
+ * The feature id for the '<em><b>Creation Suffix</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR__CREATION_SUFFIX = OrmPackage.XML_TABLE_GENERATOR_FEATURE_COUNT + 0;
+ /**
+ * The number of structural features of the '<em>Xml Table Generator</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_TABLE_GENERATOR_FEATURE_COUNT = OrmPackage.XML_TABLE_GENERATOR_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Hour</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -4850,15 +6034,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_TIME_OF_DAY_FEATURE_COUNT = 4;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTransformation <em>Xml Transformation</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTransformation
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransformation()
- * @generated
- */
- public static final int XML_TRANSFORMATION = 59;
- /**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4907,15 +6082,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_TRANSFORMATION_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTransient <em>Xml Transient</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTransient
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTransient()
- * @generated
- */
- public static final int XML_TRANSIENT = 60;
- /**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4956,15 +6122,6 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_TRANSIENT_FEATURE_COUNT = OrmPackage.XML_TRANSIENT_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTypeConverter <em>Xml Type Converter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTypeConverter
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeConverter()
- * @generated
- */
- public static final int XML_TYPE_CONVERTER = 61;
- /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4997,14 +6154,55 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_TYPE_CONVERTER_FEATURE_COUNT = XML_NAMED_CONVERTER_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlVariableOneToOne <em>Xml Variable One To One</em>}' class.
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlUnionPartitioning <em>Xml Union Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlUnionPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUnionPartitioning()
+ * @generated
+ */
+ public static final int XML_UNION_PARTITIONING = 73;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_UNION_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_UNION_PARTITIONING_22__NAME;
+ /**
+ * The number of structural features of the '<em>Xml Union Partitioning</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_UNION_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_UNION_PARTITIONING_22_FEATURE_COUNT + 0;
+ /**
+ * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlValuePartitioning <em>Xml Value Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlValuePartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlValuePartitioning()
+ * @generated
+ */
+ public static final int XML_VALUE_PARTITIONING = 74;
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlVariableOneToOne
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVariableOneToOne()
* @generated
+ * @ordered
*/
- public static final int XML_VARIABLE_ONE_TO_ONE = 62;
+ public static final int XML_VALUE_PARTITIONING__NAME = EclipseLinkOrmV2_2Package.XML_VALUE_PARTITIONING_22__NAME;
+ /**
+ * The number of structural features of the '<em>Xml Value Partitioning</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VALUE_PARTITIONING_FEATURE_COUNT = EclipseLinkOrmV2_2Package.XML_VALUE_PARTITIONING_22_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -5038,22 +6236,93 @@ public class EclipseLinkOrmPackage extends EPackageImpl
*/
public static final int XML_VARIABLE_ONE_TO_ONE__PROPERTIES = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 1;
/**
- * The number of structural features of the '<em>Xml Variable One To One</em>' class.
+ * The feature id for the '<em><b>Partitioning</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- public static final int XML_VARIABLE_ONE_TO_ONE_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2;
+ public static final int XML_VARIABLE_ONE_TO_ONE__PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlVersion <em>Xml Version</em>}' class.
+ * The feature id for the '<em><b>Replication Partitioning</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlVersion
- * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlVersion()
* @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE__REPLICATION_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 3;
+ /**
+ * The feature id for the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 4;
+ /**
+ * The feature id for the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE__PINNED_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 5;
+ /**
+ * The feature id for the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE__RANGE_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 6;
+ /**
+ * The feature id for the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
*/
- public static final int XML_VERSION = 63;
+ public static final int XML_VARIABLE_ONE_TO_ONE__VALUE_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 7;
+ /**
+ * The feature id for the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE__HASH_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 8;
+ /**
+ * The feature id for the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE__UNION_PARTITIONING = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 9;
+ /**
+ * The feature id for the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE__PARTITIONED = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 10;
+ /**
+ * The feature id for the '<em><b>Non Cacheable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE__NON_CACHEABLE = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 11;
+ /**
+ * The number of structural features of the '<em>Xml Variable One To One</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ public static final int XML_VARIABLE_ONE_TO_ONE_FEATURE_COUNT = OrmPackage.ABSTRACT_XML_ATTRIBUTE_MAPPING_FEATURE_COUNT + 12;
/**
* The feature id for the '<em><b>Access</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -5198,7 +6467,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheCoordinationType()
* @generated
*/
- public static final int CACHE_COORDINATION_TYPE = 64;
+ public static final int CACHE_COORDINATION_TYPE = 77;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.CacheType <em>Cache Type</em>}' enum.
* <!-- begin-user-doc -->
@@ -5207,7 +6476,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getCacheType()
* @generated
*/
- public static final int CACHE_TYPE = 65;
+ public static final int CACHE_TYPE = 78;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlChangeTrackingType <em>Xml Change Tracking Type</em>}' enum.
* <!-- begin-user-doc -->
@@ -5216,7 +6485,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingType()
* @generated
*/
- public static final int XML_CHANGE_TRACKING_TYPE = 66;
+ public static final int XML_CHANGE_TRACKING_TYPE = 79;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlDirection <em>Xml Direction</em>}' enum.
* <!-- begin-user-doc -->
@@ -5225,7 +6494,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlDirection()
* @generated
*/
- public static final int XML_DIRECTION = 67;
+ public static final int XML_DIRECTION = 80;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.ExistenceType <em>Existence Type</em>}' enum.
* <!-- begin-user-doc -->
@@ -5234,7 +6503,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getExistenceType()
* @generated
*/
- public static final int EXISTENCE_TYPE = 68;
+ public static final int EXISTENCE_TYPE = 81;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinFetchType <em>Xml Join Fetch Type</em>}' enum.
* <!-- begin-user-doc -->
@@ -5243,7 +6512,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetchType()
* @generated
*/
- public static final int XML_JOIN_FETCH_TYPE = 69;
+ public static final int XML_JOIN_FETCH_TYPE = 82;
/**
* The meta object id for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOptimisticLockingType <em>Xml Optimistic Locking Type</em>}' enum.
* <!-- begin-user-doc -->
@@ -5252,7 +6521,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOptimisticLockingType()
* @generated
*/
- public static final int XML_OPTIMISTIC_LOCKING_TYPE = 70;
+ public static final int XML_OPTIMISTIC_LOCKING_TYPE = 83;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -5348,6 +6617,12 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* <!-- end-user-doc -->
* @generated
*/
+ private EClass xmlCollectionTableEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass xmlConversionValueEClass = null;
/**
* <!-- begin-user-doc -->
@@ -5468,6 +6743,12 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* <!-- end-user-doc -->
* @generated
*/
+ private EClass xmlJoinTableEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass xmlManyToManyEClass = null;
/**
* <!-- begin-user-doc -->
@@ -5594,6 +6875,12 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* <!-- end-user-doc -->
* @generated
*/
+ private EClass xmlSecondaryTableEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass xmlStoredProcedureParameterEClass = null;
/**
* <!-- begin-user-doc -->
@@ -5606,6 +6893,18 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* <!-- end-user-doc -->
* @generated
*/
+ private EClass xmlTableEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xmlTableGeneratorEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass xmlTimeOfDayEClass = null;
/**
* <!-- begin-user-doc -->
@@ -5642,6 +6941,54 @@ public class EclipseLinkOrmPackage extends EPackageImpl
* <!-- end-user-doc -->
* @generated
*/
+ private EClass xmlHashPartitioningEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xmlPartitioningEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xmlPinnedPartitioningEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xmlRangePartitioningEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xmlReplicationPartitioningEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xmlRoundRobinPartitioningEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xmlUnionPartitioningEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xmlValuePartitioningEClass = null;
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EEnum cacheCoordinationTypeEEnum = null;
/**
* <!-- begin-user-doc -->
@@ -6280,6 +7627,19 @@ public class EclipseLinkOrmPackage extends EPackageImpl
}
/**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlCollectionTable <em>Xml Collection Table</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Collection Table</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlCollectionTable
+ * @generated
+ */
+ public EClass getXmlCollectionTable()
+ {
+ return xmlCollectionTableEClass;
+ }
+
+ /**
* Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlConversionValue <em>Xml Conversion Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -6890,6 +8250,19 @@ public class EclipseLinkOrmPackage extends EPackageImpl
}
/**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinTable <em>Xml Join Table</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Join Table</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinTable
+ * @generated
+ */
+ public EClass getXmlJoinTable()
+ {
+ return xmlJoinTableEClass;
+ }
+
+ /**
* Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany <em>Xml Many To Many</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -7569,6 +8942,19 @@ public class EclipseLinkOrmPackage extends EPackageImpl
}
/**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlSecondaryTable <em>Xml Secondary Table</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Secondary Table</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlSecondaryTable
+ * @generated
+ */
+ public EClass getXmlSecondaryTable()
+ {
+ return xmlSecondaryTableEClass;
+ }
+
+ /**
* Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlStoredProcedureParameter <em>Xml Stored Procedure Parameter</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -7693,6 +9079,32 @@ public class EclipseLinkOrmPackage extends EPackageImpl
}
/**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTable <em>Xml Table</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Table</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTable
+ * @generated
+ */
+ public EClass getXmlTable()
+ {
+ return xmlTableEClass;
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTableGenerator <em>Xml Table Generator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Table Generator</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTableGenerator
+ * @generated
+ */
+ public EClass getXmlTableGenerator()
+ {
+ return xmlTableGeneratorEClass;
+ }
+
+ /**
* Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTimeOfDay <em>Xml Time Of Day</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -7855,6 +9267,110 @@ public class EclipseLinkOrmPackage extends EPackageImpl
}
/**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlHashPartitioning <em>Xml Hash Partitioning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Hash Partitioning</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlHashPartitioning
+ * @generated
+ */
+ public EClass getXmlHashPartitioning()
+ {
+ return xmlHashPartitioningEClass;
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPartitioning <em>Xml Partitioning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Partitioning</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPartitioning
+ * @generated
+ */
+ public EClass getXmlPartitioning()
+ {
+ return xmlPartitioningEClass;
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPinnedPartitioning <em>Xml Pinned Partitioning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Pinned Partitioning</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPinnedPartitioning
+ * @generated
+ */
+ public EClass getXmlPinnedPartitioning()
+ {
+ return xmlPinnedPartitioningEClass;
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlRangePartitioning <em>Xml Range Partitioning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Range Partitioning</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlRangePartitioning
+ * @generated
+ */
+ public EClass getXmlRangePartitioning()
+ {
+ return xmlRangePartitioningEClass;
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlReplicationPartitioning <em>Xml Replication Partitioning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Replication Partitioning</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlReplicationPartitioning
+ * @generated
+ */
+ public EClass getXmlReplicationPartitioning()
+ {
+ return xmlReplicationPartitioningEClass;
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlRoundRobinPartitioning <em>Xml Round Robin Partitioning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Round Robin Partitioning</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlRoundRobinPartitioning
+ * @generated
+ */
+ public EClass getXmlRoundRobinPartitioning()
+ {
+ return xmlRoundRobinPartitioningEClass;
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlUnionPartitioning <em>Xml Union Partitioning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Union Partitioning</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlUnionPartitioning
+ * @generated
+ */
+ public EClass getXmlUnionPartitioning()
+ {
+ return xmlUnionPartitioningEClass;
+ }
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlValuePartitioning <em>Xml Value Partitioning</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xml Value Partitioning</em>'.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlValuePartitioning
+ * @generated
+ */
+ public EClass getXmlValuePartitioning()
+ {
+ return xmlValuePartitioningEClass;
+ }
+
+ /**
* Returns the meta object for enum '{@link org.eclipse.jpt.eclipselink.core.resource.orm.CacheCoordinationType <em>Cache Coordination Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -8030,6 +9546,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl
createEAttribute(xmlCloneCopyPolicyEClass, XML_CLONE_COPY_POLICY__METHOD);
createEAttribute(xmlCloneCopyPolicyEClass, XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD);
+ xmlCollectionTableEClass = createEClass(XML_COLLECTION_TABLE);
+
xmlConversionValueEClass = createEClass(XML_CONVERSION_VALUE);
createEAttribute(xmlConversionValueEClass, XML_CONVERSION_VALUE__DATA_VALUE);
createEAttribute(xmlConversionValueEClass, XML_CONVERSION_VALUE__OBJECT_VALUE);
@@ -8086,6 +9604,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlFetchGroupEClass = createEClass(XML_FETCH_GROUP);
+ xmlHashPartitioningEClass = createEClass(XML_HASH_PARTITIONING);
+
xmlIdEClass = createEClass(XML_ID);
xmlIndexEClass = createEClass(XML_INDEX);
@@ -8095,6 +9615,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlJoinFetchEClass = createEClass(XML_JOIN_FETCH);
createEAttribute(xmlJoinFetchEClass, XML_JOIN_FETCH__JOIN_FETCH);
+ xmlJoinTableEClass = createEClass(XML_JOIN_TABLE);
+
xmlManyToManyEClass = createEClass(XML_MANY_TO_MANY);
xmlManyToOneEClass = createEClass(XML_MANY_TO_ONE);
@@ -8138,11 +9660,15 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlOrderColumnEClass = createEClass(XML_ORDER_COLUMN);
+ xmlPartitioningEClass = createEClass(XML_PARTITIONING);
+
xmlPersistenceUnitDefaultsEClass = createEClass(XML_PERSISTENCE_UNIT_DEFAULTS);
xmlPersistenceUnitMetadataEClass = createEClass(XML_PERSISTENCE_UNIT_METADATA);
createEAttribute(xmlPersistenceUnitMetadataEClass, XML_PERSISTENCE_UNIT_METADATA__EXCLUDE_DEFAULT_MAPPINGS);
+ xmlPinnedPartitioningEClass = createEClass(XML_PINNED_PARTITIONING);
+
xmlPrimaryKeyEClass = createEClass(XML_PRIMARY_KEY);
xmlPrivateOwnedEClass = createEClass(XML_PRIVATE_OWNED);
@@ -8161,11 +9687,19 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlQueryRedirectorsEClass = createEClass(XML_QUERY_REDIRECTORS);
+ xmlRangePartitioningEClass = createEClass(XML_RANGE_PARTITIONING);
+
xmlReadOnlyEClass = createEClass(XML_READ_ONLY);
createEAttribute(xmlReadOnlyEClass, XML_READ_ONLY__READ_ONLY);
+ xmlReplicationPartitioningEClass = createEClass(XML_REPLICATION_PARTITIONING);
+
xmlReturnInsertEClass = createEClass(XML_RETURN_INSERT);
+ xmlRoundRobinPartitioningEClass = createEClass(XML_ROUND_ROBIN_PARTITIONING);
+
+ xmlSecondaryTableEClass = createEClass(XML_SECONDARY_TABLE);
+
xmlStoredProcedureParameterEClass = createEClass(XML_STORED_PROCEDURE_PARAMETER);
createEAttribute(xmlStoredProcedureParameterEClass, XML_STORED_PROCEDURE_PARAMETER__DIRECTION);
createEAttribute(xmlStoredProcedureParameterEClass, XML_STORED_PROCEDURE_PARAMETER__NAME);
@@ -8177,6 +9711,10 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlStructConverterEClass = createEClass(XML_STRUCT_CONVERTER);
createEAttribute(xmlStructConverterEClass, XML_STRUCT_CONVERTER__CONVERTER);
+ xmlTableEClass = createEClass(XML_TABLE);
+
+ xmlTableGeneratorEClass = createEClass(XML_TABLE_GENERATOR);
+
xmlTimeOfDayEClass = createEClass(XML_TIME_OF_DAY);
createEAttribute(xmlTimeOfDayEClass, XML_TIME_OF_DAY__HOUR);
createEAttribute(xmlTimeOfDayEClass, XML_TIME_OF_DAY__MINUTE);
@@ -8191,6 +9729,10 @@ public class EclipseLinkOrmPackage extends EPackageImpl
createEAttribute(xmlTypeConverterEClass, XML_TYPE_CONVERTER__DATA_TYPE);
createEAttribute(xmlTypeConverterEClass, XML_TYPE_CONVERTER__OBJECT_TYPE);
+ xmlUnionPartitioningEClass = createEClass(XML_UNION_PARTITIONING);
+
+ xmlValuePartitioningEClass = createEClass(XML_VALUE_PARTITIONING);
+
xmlVariableOneToOneEClass = createEClass(XML_VARIABLE_ONE_TO_ONE);
xmlVersionEClass = createEClass(XML_VERSION);
@@ -8266,6 +9808,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlBasicMapEClass.getESuperTypes().add(this.getXmlAttributeMapping());
xmlBasicMapEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlBasicMap_2_2());
xmlBatchFetchEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlBatchFetch_2_1());
+ xmlCollectionTableEClass.getESuperTypes().add(theOrmPackage.getXmlCollectionTable());
+ xmlCollectionTableEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlCollectionTable_2_2());
xmlConverterEClass.getESuperTypes().add(this.getXmlNamedConverter());
xmlConvertibleMappingEClass.getESuperTypes().add(theOrmPackage.getXmlConvertibleMapping());
xmlConvertibleMappingEClass.getESuperTypes().add(this.getXmlConverterHolder());
@@ -8299,10 +9843,13 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlEntityEClass.getESuperTypes().add(this.getXmlQueryContainer());
xmlEntityEClass.getESuperTypes().add(this.getXmlPropertyContainer());
xmlEntityMappingsEClass.getESuperTypes().add(theOrmPackage.getXmlEntityMappings());
+ xmlEntityMappingsEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlEntityMappings_2_1());
+ xmlEntityMappingsEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlEntityMappings_2_2());
xmlEntityMappingsEClass.getESuperTypes().add(this.getXmlConvertersHolder());
xmlEntityMappingsEClass.getESuperTypes().add(this.getXmlQueryContainer());
xmlFetchAttributeEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlFetchAttribute_2_1());
xmlFetchGroupEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlFetchGroup_2_1());
+ xmlHashPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlHashPartitioning_2_2());
xmlIdEClass.getESuperTypes().add(theOrmPackage.getXmlId());
xmlIdEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlId_2_1());
xmlIdEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlId_2_2());
@@ -8310,6 +9857,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlIdEClass.getESuperTypes().add(this.getXmlMutable());
xmlIdEClass.getESuperTypes().add(this.getXmlConvertibleMapping());
xmlIndexEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlIndex_2_2());
+ xmlJoinTableEClass.getESuperTypes().add(theOrmPackage.getXmlJoinTable());
+ xmlJoinTableEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlJoinTable_2_2());
xmlManyToManyEClass.getESuperTypes().add(theOrmPackage.getXmlManyToMany());
xmlManyToManyEClass.getESuperTypes().add(theEclipseLinkOrmV2_0Package.getXmlManyToMany_2_0());
xmlManyToManyEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlManyToMany_2_1());
@@ -8318,6 +9867,7 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlManyToManyEClass.getESuperTypes().add(this.getXmlJoinFetch());
xmlManyToOneEClass.getESuperTypes().add(theOrmPackage.getXmlManyToOne());
xmlManyToOneEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlManyToOne_2_1());
+ xmlManyToOneEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlManyToOne_2_2());
xmlManyToOneEClass.getESuperTypes().add(this.getXmlAttributeMapping());
xmlManyToOneEClass.getESuperTypes().add(this.getXmlJoinFetch());
xmlMappedSuperclassEClass.getESuperTypes().add(theOrmPackage.getXmlMappedSuperclass());
@@ -8347,22 +9897,36 @@ public class EclipseLinkOrmPackage extends EPackageImpl
xmlOneToOneEClass.getESuperTypes().add(this.getXmlJoinFetch());
xmlOrderColumnEClass.getESuperTypes().add(theOrmPackage.getXmlOrderColumn());
xmlOrderColumnEClass.getESuperTypes().add(theEclipseLinkOrmV2_0Package.getXmlOrderColumn_2_0());
+ xmlPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlPartitioning_2_2());
xmlPersistenceUnitDefaultsEClass.getESuperTypes().add(theOrmPackage.getXmlPersistenceUnitDefaults());
xmlPersistenceUnitDefaultsEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlPersistenceUnitDefaults_2_1());
xmlPersistenceUnitMetadataEClass.getESuperTypes().add(theOrmPackage.getXmlPersistenceUnitMetadata());
+ xmlPinnedPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlPinnedPartitioning_2_2());
xmlPrimaryKeyEClass.getESuperTypes().add(theEclipseLinkOrmV1_1Package.getXmlPrimaryKey_1_1());
xmlPrimaryKeyEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlPrimaryKey_2_1());
xmlQueryRedirectorsEClass.getESuperTypes().add(theEclipseLinkOrmV2_0Package.getXmlQueryRedirectors_2_0());
+ xmlRangePartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlRangePartitioning_2_2());
+ xmlReplicationPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlReplicationPartitioning_2_2());
xmlReturnInsertEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlReturnInsert_2_1());
+ xmlRoundRobinPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlRoundRobinPartitioning_2_2());
+ xmlSecondaryTableEClass.getESuperTypes().add(theOrmPackage.getXmlSecondaryTable());
+ xmlSecondaryTableEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlSecondaryTable_2_2());
xmlStructConverterEClass.getESuperTypes().add(this.getXmlNamedConverter());
+ xmlTableEClass.getESuperTypes().add(theOrmPackage.getXmlTable());
+ xmlTableEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlTable_2_2());
+ xmlTableGeneratorEClass.getESuperTypes().add(theOrmPackage.getXmlTableGenerator());
+ xmlTableGeneratorEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlTableGenerator_2_2());
xmlTransformationEClass.getESuperTypes().add(theOrmPackage.getAbstractXmlAttributeMapping());
xmlTransformationEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlTransformation_2_1());
xmlTransformationEClass.getESuperTypes().add(this.getXmlAttributeMapping());
xmlTransientEClass.getESuperTypes().add(theOrmPackage.getXmlTransient());
xmlTransientEClass.getESuperTypes().add(this.getXmlAttributeMapping());
xmlTypeConverterEClass.getESuperTypes().add(this.getXmlNamedConverter());
+ xmlUnionPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlUnionPartitioning_2_2());
+ xmlValuePartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlValuePartitioning_2_2());
xmlVariableOneToOneEClass.getESuperTypes().add(theOrmPackage.getAbstractXmlAttributeMapping());
xmlVariableOneToOneEClass.getESuperTypes().add(this.getXmlAttributeMapping());
+ xmlVariableOneToOneEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlVariableOneToOne_2_2());
xmlVersionEClass.getESuperTypes().add(theOrmPackage.getXmlVersion());
xmlVersionEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlVersion_2_1());
xmlVersionEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlVersion_2_2());
@@ -8424,6 +9988,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl
initEAttribute(getXmlCloneCopyPolicy_Method(), theXMLTypePackage.getString(), "method", null, 0, 1, XmlCloneCopyPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getXmlCloneCopyPolicy_WorkingCopyMethod(), theXMLTypePackage.getString(), "workingCopyMethod", null, 0, 1, XmlCloneCopyPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(xmlCollectionTableEClass, XmlCollectionTable.class, "XmlCollectionTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlConversionValueEClass, XmlConversionValue.class, "XmlConversionValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getXmlConversionValue_DataValue(), theXMLTypePackage.getString(), "dataValue", null, 0, 1, XmlConversionValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getXmlConversionValue_ObjectValue(), theXMLTypePackage.getString(), "objectValue", null, 0, 1, XmlConversionValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -8480,6 +10046,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl
initEClass(xmlFetchGroupEClass, XmlFetchGroup.class, "XmlFetchGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(xmlHashPartitioningEClass, XmlHashPartitioning.class, "XmlHashPartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlIdEClass, XmlId.class, "XmlId", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(xmlIndexEClass, XmlIndex.class, "XmlIndex", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -8489,6 +10057,8 @@ public class EclipseLinkOrmPackage extends EPackageImpl
initEClass(xmlJoinFetchEClass, XmlJoinFetch.class, "XmlJoinFetch", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getXmlJoinFetch_JoinFetch(), this.getXmlJoinFetchType(), "joinFetch", null, 0, 1, XmlJoinFetch.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(xmlJoinTableEClass, XmlJoinTable.class, "XmlJoinTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlManyToManyEClass, XmlManyToMany.class, "XmlManyToMany", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(xmlManyToOneEClass, XmlManyToOne.class, "XmlManyToOne", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -8532,11 +10102,15 @@ public class EclipseLinkOrmPackage extends EPackageImpl
initEClass(xmlOrderColumnEClass, XmlOrderColumn.class, "XmlOrderColumn", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(xmlPartitioningEClass, XmlPartitioning.class, "XmlPartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlPersistenceUnitDefaultsEClass, XmlPersistenceUnitDefaults.class, "XmlPersistenceUnitDefaults", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(xmlPersistenceUnitMetadataEClass, XmlPersistenceUnitMetadata.class, "XmlPersistenceUnitMetadata", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getXmlPersistenceUnitMetadata_ExcludeDefaultMappings(), theXMLTypePackage.getBoolean(), "excludeDefaultMappings", null, 0, 1, XmlPersistenceUnitMetadata.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(xmlPinnedPartitioningEClass, XmlPinnedPartitioning.class, "XmlPinnedPartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlPrimaryKeyEClass, XmlPrimaryKey.class, "XmlPrimaryKey", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(xmlPrivateOwnedEClass, XmlPrivateOwned.class, "XmlPrivateOwned", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -8555,11 +10129,19 @@ public class EclipseLinkOrmPackage extends EPackageImpl
initEClass(xmlQueryRedirectorsEClass, XmlQueryRedirectors.class, "XmlQueryRedirectors", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(xmlRangePartitioningEClass, XmlRangePartitioning.class, "XmlRangePartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlReadOnlyEClass, XmlReadOnly.class, "XmlReadOnly", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getXmlReadOnly_ReadOnly(), theXMLTypePackage.getBooleanObject(), "readOnly", null, 0, 1, XmlReadOnly.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(xmlReplicationPartitioningEClass, XmlReplicationPartitioning.class, "XmlReplicationPartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlReturnInsertEClass, XmlReturnInsert.class, "XmlReturnInsert", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(xmlRoundRobinPartitioningEClass, XmlRoundRobinPartitioning.class, "XmlRoundRobinPartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(xmlSecondaryTableEClass, XmlSecondaryTable.class, "XmlSecondaryTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlStoredProcedureParameterEClass, XmlStoredProcedureParameter.class, "XmlStoredProcedureParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getXmlStoredProcedureParameter_Direction(), this.getXmlDirection(), "direction", null, 0, 1, XmlStoredProcedureParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getXmlStoredProcedureParameter_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlStoredProcedureParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -8571,6 +10153,10 @@ public class EclipseLinkOrmPackage extends EPackageImpl
initEClass(xmlStructConverterEClass, XmlStructConverter.class, "XmlStructConverter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getXmlStructConverter_Converter(), theXMLTypePackage.getString(), "converter", null, 0, 1, XmlStructConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(xmlTableEClass, XmlTable.class, "XmlTable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(xmlTableGeneratorEClass, XmlTableGenerator.class, "XmlTableGenerator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlTimeOfDayEClass, XmlTimeOfDay.class, "XmlTimeOfDay", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getXmlTimeOfDay_Hour(), theXMLTypePackage.getIntObject(), "hour", null, 0, 1, XmlTimeOfDay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getXmlTimeOfDay_Minute(), theXMLTypePackage.getIntObject(), "minute", null, 0, 1, XmlTimeOfDay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -8585,6 +10171,10 @@ public class EclipseLinkOrmPackage extends EPackageImpl
initEAttribute(getXmlTypeConverter_DataType(), theXMLTypePackage.getString(), "dataType", null, 0, 1, XmlTypeConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getXmlTypeConverter_ObjectType(), theXMLTypePackage.getString(), "objectType", null, 0, 1, XmlTypeConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(xmlUnionPartitioningEClass, XmlUnionPartitioning.class, "XmlUnionPartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(xmlValuePartitioningEClass, XmlValuePartitioning.class, "XmlValuePartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
initEClass(xmlVariableOneToOneEClass, XmlVariableOneToOne.class, "XmlVariableOneToOne", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(xmlVersionEClass, XmlVersion.class, "XmlVersion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -8986,6 +10576,16 @@ public class EclipseLinkOrmPackage extends EPackageImpl
public static final EAttribute XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD = eINSTANCE.getXmlCloneCopyPolicy_WorkingCopyMethod();
/**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlCollectionTable <em>Xml Collection Table</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlCollectionTable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable()
+ * @generated
+ */
+ public static final EClass XML_COLLECTION_TABLE = eINSTANCE.getXmlCollectionTable();
+
+ /**
* The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlConversionValue <em>Xml Conversion Value</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -9386,6 +10986,16 @@ public class EclipseLinkOrmPackage extends EPackageImpl
public static final EAttribute XML_JOIN_FETCH__JOIN_FETCH = eINSTANCE.getXmlJoinFetch_JoinFetch();
/**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinTable <em>Xml Join Table</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinTable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable()
+ * @generated
+ */
+ public static final EClass XML_JOIN_TABLE = eINSTANCE.getXmlJoinTable();
+
+ /**
* The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany <em>Xml Many To Many</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -9828,6 +11438,16 @@ public class EclipseLinkOrmPackage extends EPackageImpl
public static final EClass XML_RETURN_INSERT = eINSTANCE.getXmlReturnInsert();
/**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlSecondaryTable <em>Xml Secondary Table</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlSecondaryTable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlSecondaryTable()
+ * @generated
+ */
+ public static final EClass XML_SECONDARY_TABLE = eINSTANCE.getXmlSecondaryTable();
+
+ /**
* The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlStoredProcedureParameter <em>Xml Stored Procedure Parameter</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -9904,6 +11524,26 @@ public class EclipseLinkOrmPackage extends EPackageImpl
public static final EAttribute XML_STRUCT_CONVERTER__CONVERTER = eINSTANCE.getXmlStructConverter_Converter();
/**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTable <em>Xml Table</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTable
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTable()
+ * @generated
+ */
+ public static final EClass XML_TABLE = eINSTANCE.getXmlTable();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTableGenerator <em>Xml Table Generator</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlTableGenerator
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTableGenerator()
+ * @generated
+ */
+ public static final EClass XML_TABLE_GENERATOR = eINSTANCE.getXmlTableGenerator();
+
+ /**
* The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlTimeOfDay <em>Xml Time Of Day</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -10012,6 +11652,86 @@ public class EclipseLinkOrmPackage extends EPackageImpl
public static final EClass XML_VERSION = eINSTANCE.getXmlVersion();
/**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlHashPartitioning <em>Xml Hash Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlHashPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning()
+ * @generated
+ */
+ public static final EClass XML_HASH_PARTITIONING = eINSTANCE.getXmlHashPartitioning();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPartitioning <em>Xml Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning()
+ * @generated
+ */
+ public static final EClass XML_PARTITIONING = eINSTANCE.getXmlPartitioning();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPinnedPartitioning <em>Xml Pinned Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlPinnedPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning()
+ * @generated
+ */
+ public static final EClass XML_PINNED_PARTITIONING = eINSTANCE.getXmlPinnedPartitioning();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlRangePartitioning <em>Xml Range Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlRangePartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning()
+ * @generated
+ */
+ public static final EClass XML_RANGE_PARTITIONING = eINSTANCE.getXmlRangePartitioning();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlReplicationPartitioning <em>Xml Replication Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlReplicationPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning()
+ * @generated
+ */
+ public static final EClass XML_REPLICATION_PARTITIONING = eINSTANCE.getXmlReplicationPartitioning();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlRoundRobinPartitioning <em>Xml Round Robin Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlRoundRobinPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning()
+ * @generated
+ */
+ public static final EClass XML_ROUND_ROBIN_PARTITIONING = eINSTANCE.getXmlRoundRobinPartitioning();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlUnionPartitioning <em>Xml Union Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlUnionPartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlUnionPartitioning()
+ * @generated
+ */
+ public static final EClass XML_UNION_PARTITIONING = eINSTANCE.getXmlUnionPartitioning();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlValuePartitioning <em>Xml Value Partitioning</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.XmlValuePartitioning
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlValuePartitioning()
+ * @generated
+ */
+ public static final EClass XML_VALUE_PARTITIONING = eINSTANCE.getXmlValuePartitioning();
+
+ /**
* The meta object literal for the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.CacheCoordinationType <em>Cache Coordination Type</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlBasic.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlBasic.java
index 1b477e695a..34a50a5a96 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlBasic.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlBasic.java
@@ -1458,7 +1458,7 @@ public class XmlBasic extends org.eclipse.jpt.core.resource.orm.XmlBasic impleme
}
protected static Translator buildTableGeneratorTranslator() {
- return XmlTableGenerator.buildTranslator(EclipseLink1_1.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator());
+ return org.eclipse.jpt.eclipselink.core.resource.orm.XmlTableGenerator.buildTranslator(EclipseLink1_1.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator());
}
protected static Translator buildSequenceGeneratorTranslator() {
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlCollectionTable.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlCollectionTable.java
new file mode 100644
index 0000000000..5da5e2003e
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlCollectionTable.java
@@ -0,0 +1,265 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Collection Table</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlCollectionTable extends org.eclipse.jpt.core.resource.orm.XmlCollectionTable implements XmlCollectionTable_2_2
+{
+ /**
+ * The default value of the '{@link #getCreationSuffix() <em>Creation Suffix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreationSuffix()
+ * @generated
+ * @ordered
+ */
+ protected static final String CREATION_SUFFIX_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCreationSuffix() <em>Creation Suffix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreationSuffix()
+ * @generated
+ * @ordered
+ */
+ protected String creationSuffix = CREATION_SUFFIX_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlCollectionTable()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_COLLECTION_TABLE;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Creation Suffix</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Creation Suffix</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Creation Suffix</em>' attribute.
+ * @see #setCreationSuffix(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable_2_2_CreationSuffix()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getCreationSuffix()
+ {
+ return creationSuffix;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlCollectionTable#getCreationSuffix <em>Creation Suffix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Creation Suffix</em>' attribute.
+ * @see #getCreationSuffix()
+ * @generated
+ */
+ public void setCreationSuffix(String newCreationSuffix)
+ {
+ String oldCreationSuffix = creationSuffix;
+ creationSuffix = newCreationSuffix;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_COLLECTION_TABLE__CREATION_SUFFIX, oldCreationSuffix, creationSuffix));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_COLLECTION_TABLE__CREATION_SUFFIX:
+ return getCreationSuffix();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_COLLECTION_TABLE__CREATION_SUFFIX:
+ setCreationSuffix((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_COLLECTION_TABLE__CREATION_SUFFIX:
+ setCreationSuffix(CREATION_SUFFIX_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_COLLECTION_TABLE__CREATION_SUFFIX:
+ return CREATION_SUFFIX_EDEFAULT == null ? creationSuffix != null : !CREATION_SUFFIX_EDEFAULT.equals(creationSuffix);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == XmlCollectionTable_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_COLLECTION_TABLE__CREATION_SUFFIX: return EclipseLinkOrmV2_2Package.XML_COLLECTION_TABLE_22__CREATION_SUFFIX;
+ default: return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == XmlCollectionTable_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_COLLECTION_TABLE_22__CREATION_SUFFIX: return EclipseLinkOrmPackage.XML_COLLECTION_TABLE__CREATION_SUFFIX;
+ default: return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (creationSuffix: ");
+ result.append(creationSuffix);
+ result.append(')');
+ return result.toString();
+ }
+
+
+ // ********** translators **********
+
+ public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) {
+ return new SimpleTranslator(
+ elementName,
+ structuralFeature,
+ EclipseLinkOrmPackage.eINSTANCE.getXmlCollectionTable(),
+ buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildNameTranslator(),
+ buildCatalogTranslator(),
+ buildSchemaTranslator(),
+ buildCreationSuffixTranslator(),
+ buildJoinColumnTranslator(),
+ buildUniqueConstraintTranslator()};
+ }
+
+ protected static Translator buildCreationSuffixTranslator() {
+ return new Translator(EclipseLink2_2.CREATION_SUFFIX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlCollectionTable_2_2_CreationSuffix(), Translator.DOM_ATTRIBUTE);
+ }
+
+} // XmlCollectionTable
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlElementCollection.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlElementCollection.java
index e66c8b1e74..72a1a51d83 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlElementCollection.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlElementCollection.java
@@ -25,7 +25,6 @@ import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
import org.eclipse.jpt.core.resource.orm.CascadeType;
import org.eclipse.jpt.core.resource.orm.JPA;
import org.eclipse.jpt.core.resource.orm.XmlAssociationOverride;
-import org.eclipse.jpt.core.resource.orm.XmlCollectionTable;
import org.eclipse.jpt.core.resource.orm.XmlColumn;
import org.eclipse.jpt.core.resource.orm.XmlJoinColumn;
import org.eclipse.jpt.core.resource.orm.v2_0.JPA2_0;
@@ -42,6 +41,15 @@ import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.XmlElementCollection_2
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlElementCollection_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2;
import org.eclipse.wst.common.internal.emf.resource.Translator;
/**
@@ -262,6 +270,106 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT;
/**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected XmlPartitioning_2_2 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 XmlReplicationPartitioning_2_2 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 XmlRoundRobinPartitioning_2_2 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 XmlPinnedPartitioning_2_2 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 XmlRangePartitioning_2_2 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 XmlValuePartitioning_2_2 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 XmlHashPartitioning_2_2 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 XmlUnionPartitioning_2_2 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 #getCascadeOnDelete() <em>Cascade On Delete</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -282,6 +390,26 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
/**
+ * The default value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NON_CACHEABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -944,6 +1072,521 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
}
/**
+ * Returns the value of the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioning</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>Partitioning</em>' containment reference.
+ * @see #setPartitioning(XmlPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPartitioning_2_2 getPartitioning()
+ {
+ return partitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartitioning(XmlPartitioning_2_2 newPartitioning, NotificationChain msgs)
+ {
+ XmlPartitioning_2_2 oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getPartitioning <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioning</em>' containment reference.
+ * @see #getPartitioning()
+ * @generated
+ */
+ public void setPartitioning(XmlPartitioning_2_2 newPartitioning)
+ {
+ if (newPartitioning != partitioning)
+ {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Replication Partitioning</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>Replication Partitioning</em>' containment reference.
+ * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlReplicationPartitioning_2_2 getReplicationPartitioning()
+ {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning, NotificationChain msgs)
+ {
+ XmlReplicationPartitioning_2_2 oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getReplicationPartitioning <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Replication Partitioning</em>' containment reference.
+ * @see #getReplicationPartitioning()
+ * @generated
+ */
+ public void setReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning)
+ {
+ if (newReplicationPartitioning != replicationPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING, null, msgs);
+ msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Round Robin Partitioning</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>Round Robin Partitioning</em>' containment reference.
+ * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning()
+ {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning, NotificationChain msgs)
+ {
+ XmlRoundRobinPartitioning_2_2 oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Round Robin Partitioning</em>' containment reference.
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ */
+ public void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning)
+ {
+ if (newRoundRobinPartitioning != roundRobinPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pinned Partitioning</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>Pinned Partitioning</em>' containment reference.
+ * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPinnedPartitioning_2_2 getPinnedPartitioning()
+ {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning, NotificationChain msgs)
+ {
+ XmlPinnedPartitioning_2_2 oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getPinnedPartitioning <em>Pinned Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Pinned Partitioning</em>' containment reference.
+ * @see #getPinnedPartitioning()
+ * @generated
+ */
+ public void setPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning)
+ {
+ if (newPinnedPartitioning != pinnedPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING, null, msgs);
+ msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range Partitioning</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>Range Partitioning</em>' containment reference.
+ * @see #setRangePartitioning(XmlRangePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRangePartitioning_2_2 getRangePartitioning()
+ {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning, NotificationChain msgs)
+ {
+ XmlRangePartitioning_2_2 oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getRangePartitioning <em>Range Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range Partitioning</em>' containment reference.
+ * @see #getRangePartitioning()
+ * @generated
+ */
+ public void setRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning)
+ {
+ if (newRangePartitioning != rangePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING, null, msgs);
+ msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Partitioning</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>Value Partitioning</em>' containment reference.
+ * @see #setValuePartitioning(XmlValuePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlValuePartitioning_2_2 getValuePartitioning()
+ {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning, NotificationChain msgs)
+ {
+ XmlValuePartitioning_2_2 oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getValuePartitioning <em>Value Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Partitioning</em>' containment reference.
+ * @see #getValuePartitioning()
+ * @generated
+ */
+ public void setValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning)
+ {
+ if (newValuePartitioning != valuePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING, null, msgs);
+ msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hash Partitioning</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>Hash Partitioning</em>' containment reference.
+ * @see #setHashPartitioning(XmlHashPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlHashPartitioning_2_2 getHashPartitioning()
+ {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning, NotificationChain msgs)
+ {
+ XmlHashPartitioning_2_2 oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getHashPartitioning <em>Hash Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hash Partitioning</em>' containment reference.
+ * @see #getHashPartitioning()
+ * @generated
+ */
+ public void setHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning)
+ {
+ if (newHashPartitioning != hashPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING, null, msgs);
+ msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Union Partitioning</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>Union Partitioning</em>' containment reference.
+ * @see #setUnionPartitioning(XmlUnionPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlUnionPartitioning_2_2 getUnionPartitioning()
+ {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning, NotificationChain msgs)
+ {
+ XmlUnionPartitioning_2_2 oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getUnionPartitioning <em>Union Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Union Partitioning</em>' containment reference.
+ * @see #getUnionPartitioning()
+ * @generated
+ */
+ public void setUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning)
+ {
+ if (newUnionPartitioning != unionPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING, null, msgs);
+ msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioned</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partitioned</em>' attribute.
+ * @see #setPartitioned(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioned()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getPartitioned()
+ {
+ return partitioned;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#getPartitioned <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioned</em>' attribute.
+ * @see #getPartitioned()
+ * @generated
+ */
+ public void setPartitioned(String newPartitioned)
+ {
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED, oldPartitioned, partitioned));
+ }
+
+ /**
* Returns the value of the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -979,6 +1622,41 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
}
/**
+ * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Non Cacheable</em>' attribute.
+ * @see #setNonCacheable(boolean)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection_2_2_NonCacheable()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * @generated
+ */
+ public boolean isNonCacheable()
+ {
+ return nonCacheable;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlElementCollection#isNonCacheable <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Non Cacheable</em>' attribute.
+ * @see #isNonCacheable()
+ * @generated
+ */
+ public void setNonCacheable(boolean newNonCacheable)
+ {
+ boolean oldNonCacheable = nonCacheable;
+ nonCacheable = newNonCacheable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE, oldNonCacheable, nonCacheable));
+ }
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -1012,6 +1690,22 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
return ((InternalEList<?>)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs);
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH:
return basicSetBatchFetch(null, msgs);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -1058,8 +1752,28 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
return getBatchFetch();
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
return getAttributeType();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING:
+ return getPartitioning();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED:
+ return getPartitioned();
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE:
return getCascadeOnDelete();
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE:
+ return isNonCacheable();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -1129,9 +1843,39 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
setAttributeType((String)newValue);
return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE:
setCascadeOnDelete((Boolean)newValue);
return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE:
+ setNonCacheable((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -1194,9 +1938,39 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
setAttributeType(ATTRIBUTE_TYPE_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE:
setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE:
+ setNonCacheable(NON_CACHEABLE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -1243,8 +2017,28 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
return batchFetch != null;
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE:
return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING:
+ return partitioning != null;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE:
return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete);
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE:
+ return nonCacheable != NON_CACHEABLE_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -1357,11 +2151,28 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlElementCollection_2_2.class)
{
switch (derivedFeatureID)
{
case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE;
+ case EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NON_CACHEABLE;
default: return -1;
}
}
@@ -1476,11 +2287,28 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PINNED_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__RANGE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__VALUE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__HASH_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__UNION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlElementCollection_2_2.class)
{
switch (baseFeatureID)
{
case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE;
+ case EclipseLinkOrmV2_2Package.XML_ELEMENT_COLLECTION_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__NON_CACHEABLE;
default: return -1;
}
}
@@ -1506,8 +2334,12 @@ public class XmlElementCollection extends org.eclipse.jpt.core.resource.orm.XmlE
result.append(joinFetch);
result.append(", attributeType: ");
result.append(attributeType);
+ result.append(", partitioned: ");
+ result.append(partitioned);
result.append(", cascadeOnDelete: ");
result.append(cascadeOnDelete);
+ result.append(", nonCacheable: ");
+ result.append(nonCacheable);
result.append(')');
return result.toString();
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntity.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntity.java
index 5a3076d7c5..7c96e23b0f 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntity.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntity.java
@@ -23,6 +23,8 @@ import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
import org.eclipse.jpt.core.resource.orm.CascadeType;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.orm.OrmPackage;
import org.eclipse.jpt.core.resource.orm.XmlClassReference;
import org.eclipse.jpt.core.utility.TextRange;
import org.eclipse.jpt.eclipselink.core.resource.orm.v1_1.EclipseLink1_1;
@@ -39,7 +41,16 @@ import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlEntity_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2;
import org.eclipse.wst.common.internal.emf.resource.Translator;
/**
@@ -156,6 +167,106 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
protected String parentClass = PARENT_CLASS_EDEFAULT;
/**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected XmlPartitioning_2_2 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 XmlReplicationPartitioning_2_2 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 XmlRoundRobinPartitioning_2_2 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 XmlPinnedPartitioning_2_2 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 XmlRangePartitioning_2_2 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 XmlValuePartitioning_2_2 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 XmlHashPartitioning_2_2 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 XmlUnionPartitioning_2_2 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 cached value of the '{@link #getAdditionalCriteria() <em>Additional Criteria</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1393,6 +1504,521 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
}
/**
+ * Returns the value of the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioning</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>Partitioning</em>' containment reference.
+ * @see #setPartitioning(XmlPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPartitioning_2_2 getPartitioning()
+ {
+ return partitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartitioning(XmlPartitioning_2_2 newPartitioning, NotificationChain msgs)
+ {
+ XmlPartitioning_2_2 oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getPartitioning <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioning</em>' containment reference.
+ * @see #getPartitioning()
+ * @generated
+ */
+ public void setPartitioning(XmlPartitioning_2_2 newPartitioning)
+ {
+ if (newPartitioning != partitioning)
+ {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Replication Partitioning</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>Replication Partitioning</em>' containment reference.
+ * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlReplicationPartitioning_2_2 getReplicationPartitioning()
+ {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning, NotificationChain msgs)
+ {
+ XmlReplicationPartitioning_2_2 oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getReplicationPartitioning <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Replication Partitioning</em>' containment reference.
+ * @see #getReplicationPartitioning()
+ * @generated
+ */
+ public void setReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning)
+ {
+ if (newReplicationPartitioning != replicationPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING, null, msgs);
+ msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Round Robin Partitioning</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>Round Robin Partitioning</em>' containment reference.
+ * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning()
+ {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning, NotificationChain msgs)
+ {
+ XmlRoundRobinPartitioning_2_2 oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Round Robin Partitioning</em>' containment reference.
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ */
+ public void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning)
+ {
+ if (newRoundRobinPartitioning != roundRobinPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING, null, msgs);
+ msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pinned Partitioning</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>Pinned Partitioning</em>' containment reference.
+ * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPinnedPartitioning_2_2 getPinnedPartitioning()
+ {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning, NotificationChain msgs)
+ {
+ XmlPinnedPartitioning_2_2 oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getPinnedPartitioning <em>Pinned Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Pinned Partitioning</em>' containment reference.
+ * @see #getPinnedPartitioning()
+ * @generated
+ */
+ public void setPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning)
+ {
+ if (newPinnedPartitioning != pinnedPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING, null, msgs);
+ msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range Partitioning</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>Range Partitioning</em>' containment reference.
+ * @see #setRangePartitioning(XmlRangePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRangePartitioning_2_2 getRangePartitioning()
+ {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning, NotificationChain msgs)
+ {
+ XmlRangePartitioning_2_2 oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getRangePartitioning <em>Range Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range Partitioning</em>' containment reference.
+ * @see #getRangePartitioning()
+ * @generated
+ */
+ public void setRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning)
+ {
+ if (newRangePartitioning != rangePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING, null, msgs);
+ msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Partitioning</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>Value Partitioning</em>' containment reference.
+ * @see #setValuePartitioning(XmlValuePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlValuePartitioning_2_2 getValuePartitioning()
+ {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning, NotificationChain msgs)
+ {
+ XmlValuePartitioning_2_2 oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getValuePartitioning <em>Value Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Partitioning</em>' containment reference.
+ * @see #getValuePartitioning()
+ * @generated
+ */
+ public void setValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning)
+ {
+ if (newValuePartitioning != valuePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING, null, msgs);
+ msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hash Partitioning</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>Hash Partitioning</em>' containment reference.
+ * @see #setHashPartitioning(XmlHashPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlHashPartitioning_2_2 getHashPartitioning()
+ {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning, NotificationChain msgs)
+ {
+ XmlHashPartitioning_2_2 oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getHashPartitioning <em>Hash Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hash Partitioning</em>' containment reference.
+ * @see #getHashPartitioning()
+ * @generated
+ */
+ public void setHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning)
+ {
+ if (newHashPartitioning != hashPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING, null, msgs);
+ msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Union Partitioning</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>Union Partitioning</em>' containment reference.
+ * @see #setUnionPartitioning(XmlUnionPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlUnionPartitioning_2_2 getUnionPartitioning()
+ {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning, NotificationChain msgs)
+ {
+ XmlUnionPartitioning_2_2 oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getUnionPartitioning <em>Union Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Union Partitioning</em>' containment reference.
+ * @see #getUnionPartitioning()
+ * @generated
+ */
+ public void setUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning)
+ {
+ if (newUnionPartitioning != unionPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING, null, msgs);
+ msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioned</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partitioned</em>' attribute.
+ * @see #setPartitioned(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioned()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getPartitioned()
+ {
+ return partitioned;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntity#getPartitioned <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioned</em>' attribute.
+ * @see #getPartitioned()
+ * @generated
+ */
+ public void setPartitioned(String newPartitioned)
+ {
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__PARTITIONED, oldPartitioned, partitioned));
+ }
+
+ /**
* Returns the value of the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -1604,6 +2230,22 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
return ((InternalEList<?>)getFetchGroups()).basicRemove(otherEnd, msgs);
case EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR:
return basicSetClassExtractor(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
case EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA:
return basicSetAdditionalCriteria(null, msgs);
case EclipseLinkOrmPackage.XML_ENTITY__INDEX:
@@ -1662,6 +2304,24 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
return getClassExtractor();
case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS:
return getParentClass();
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING:
+ return getPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONED:
+ return getPartitioned();
case EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA:
return getAdditionalCriteria();
case EclipseLinkOrmPackage.XML_ENTITY__CASCADE_ON_DELETE:
@@ -1737,6 +2397,33 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS:
setParentClass((String)newValue);
return;
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
case EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA:
setAdditionalCriteria((XmlAdditionalCriteria_2_2)newValue);
return;
@@ -1835,6 +2522,33 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS:
setParentClass(PARENT_CLASS_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA:
setAdditionalCriteria((XmlAdditionalCriteria_2_2)null);
return;
@@ -1920,6 +2634,24 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
return classExtractor != null;
case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS:
return PARENT_CLASS_EDEFAULT == null ? parentClass != null : !PARENT_CLASS_EDEFAULT.equals(parentClass);
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING:
+ return partitioning != null;
+ case EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
case EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA:
return additionalCriteria != null;
case EclipseLinkOrmPackage.XML_ENTITY__CASCADE_ON_DELETE:
@@ -2012,6 +2744,22 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlEntity_2_2.class)
{
switch (derivedFeatureID)
@@ -2135,6 +2883,22 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY__PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY__PINNED_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY__RANGE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY__VALUE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY__HASH_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY__UNION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ENTITY__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlEntity_2_2.class)
{
switch (baseFeatureID)
@@ -2221,6 +2985,8 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
StringBuffer result = new StringBuffer(super.toString());
result.append(" (parentClass: ");
result.append(parentClass);
+ result.append(", partitioned: ");
+ result.append(partitioned);
result.append(", cascadeOnDelete: ");
result.append(cascadeOnDelete);
result.append(", readOnly: ");
@@ -2411,5 +3177,17 @@ public class XmlEntity extends org.eclipse.jpt.core.resource.orm.XmlEntity imple
protected static Translator buildIndexTranslator() {
return XmlIndex.buildTranslator(EclipseLink2_2.INDEX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntity_2_2_Index());
}
+
+ protected static Translator buildTableTranslator() {
+ return XmlTable.buildTranslator(JPA.TABLE, OrmPackage.eINSTANCE.getXmlEntity_Table());
+ }
+
+ protected static Translator buildSecondaryTableTranslator() {
+ return XmlSecondaryTable.buildTranslator(JPA.SECONDARY_TABLE, OrmPackage.eINSTANCE.getXmlEntity_SecondaryTables());
+ }
+
+ protected static Translator buildTableGeneratorTranslator() {
+ return XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator());
+ }
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntityMappings.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntityMappings.java
index 1537a0300e..3fe01090c7 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntityMappings.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlEntityMappings.java
@@ -11,14 +11,27 @@
package org.eclipse.jpt.eclipselink.core.resource.orm;
import java.util.Collection;
+import org.eclipse.emf.common.notify.Notification;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2;
import org.eclipse.jpt.core.internal.utility.translators.SimpleRootTranslator;
import org.eclipse.jpt.core.resource.orm.JPA;
import org.eclipse.jpt.core.resource.orm.OrmPackage;
@@ -26,7 +39,6 @@ import org.eclipse.jpt.core.resource.orm.SqlResultSetMapping;
import org.eclipse.jpt.core.resource.orm.XmlNamedNativeQuery;
import org.eclipse.jpt.core.resource.orm.XmlNamedQuery;
import org.eclipse.jpt.core.resource.orm.XmlSequenceGenerator;
-import org.eclipse.jpt.core.resource.orm.XmlTableGenerator;
import org.eclipse.jpt.eclipselink.core.resource.orm.v1_1.EclipseLink1_1;
import org.eclipse.jpt.eclipselink.core.resource.orm.v1_2.EclipseLink1_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_0.EclipseLink2_0;
@@ -55,9 +67,99 @@ import org.eclipse.wst.common.internal.emf.resource.Translator;
* @model kind="class"
* @generated
*/
-public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEntityMappings implements XmlConvertersHolder, XmlQueryContainer
+public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEntityMappings implements XmlEntityMappings_2_1, XmlEntityMappings_2_2, XmlConvertersHolder, XmlQueryContainer
{
/**
+ * The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAccessMethods()
+ * @generated
+ * @ordered
+ */
+ protected XmlAccessMethods accessMethods;
+
+ /**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected EList<XmlPartitioning_2_2> partitioning;
+
+ /**
+ * The cached value of the '{@link #getReplicationPartitioning() <em>Replication Partitioning</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getReplicationPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected EList<XmlReplicationPartitioning_2_2> replicationPartitioning;
+
+ /**
+ * The cached value of the '{@link #getRoundRobinPartitioning() <em>Round Robin Partitioning</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected EList<XmlRoundRobinPartitioning_2_2> roundRobinPartitioning;
+
+ /**
+ * The cached value of the '{@link #getPinnedPartitioning() <em>Pinned Partitioning</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPinnedPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected EList<XmlPinnedPartitioning_2_2> pinnedPartitioning;
+
+ /**
+ * The cached value of the '{@link #getRangePartitioning() <em>Range Partitioning</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRangePartitioning()
+ * @generated
+ * @ordered
+ */
+ protected EList<XmlRangePartitioning_2_2> rangePartitioning;
+
+ /**
+ * The cached value of the '{@link #getValuePartitioning() <em>Value Partitioning</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValuePartitioning()
+ * @generated
+ * @ordered
+ */
+ protected EList<XmlValuePartitioning_2_2> valuePartitioning;
+
+ /**
+ * The cached value of the '{@link #getHashPartitioning() <em>Hash Partitioning</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHashPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected EList<XmlHashPartitioning_2_2> hashPartitioning;
+
+ /**
+ * The cached value of the '{@link #getUnionPartitioning() <em>Union Partitioning</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUnionPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected EList<XmlUnionPartitioning_2_2> unionPartitioning;
+
+ /**
* The cached value of the '{@link #getConverters() <em>Converters</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -129,6 +231,250 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
}
/**
+ * Returns the value of the '<em><b>Access Methods</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Access Methods</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>Access Methods</em>' containment reference.
+ * @see #setAccessMethods(XmlAccessMethods)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlAccessMethods getAccessMethods()
+ {
+ return accessMethods;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs)
+ {
+ XmlAccessMethods oldAccessMethods = accessMethods;
+ accessMethods = newAccessMethods;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS, oldAccessMethods, newAccessMethods);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlEntityMappings#getAccessMethods <em>Access Methods</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Access Methods</em>' containment reference.
+ * @see #getAccessMethods()
+ * @generated
+ */
+ public void setAccessMethods(XmlAccessMethods newAccessMethods)
+ {
+ if (newAccessMethods != accessMethods)
+ {
+ NotificationChain msgs = null;
+ if (accessMethods != null)
+ msgs = ((InternalEObject)accessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS, null, msgs);
+ if (newAccessMethods != null)
+ msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS, null, msgs);
+ msgs = basicSetAccessMethods(newAccessMethods, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS, newAccessMethods, newAccessMethods));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Partitioning</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioning</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partitioning</em>' containment reference list.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_Partitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<XmlPartitioning_2_2> getPartitioning()
+ {
+ if (partitioning == null)
+ {
+ partitioning = new EObjectContainmentEList<XmlPartitioning_2_2>(XmlPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING);
+ }
+ return partitioning;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Replication Partitioning</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Replication Partitioning</em>' containment reference list.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_ReplicationPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<XmlReplicationPartitioning_2_2> getReplicationPartitioning()
+ {
+ if (replicationPartitioning == null)
+ {
+ replicationPartitioning = new EObjectContainmentEList<XmlReplicationPartitioning_2_2>(XmlReplicationPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING);
+ }
+ return replicationPartitioning;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Round Robin Partitioning</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Round Robin Partitioning</em>' containment reference list.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_RoundRobinPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<XmlRoundRobinPartitioning_2_2> getRoundRobinPartitioning()
+ {
+ if (roundRobinPartitioning == null)
+ {
+ roundRobinPartitioning = new EObjectContainmentEList<XmlRoundRobinPartitioning_2_2>(XmlRoundRobinPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING);
+ }
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pinned Partitioning</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Pinned Partitioning</em>' containment reference list.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_PinnedPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<XmlPinnedPartitioning_2_2> getPinnedPartitioning()
+ {
+ if (pinnedPartitioning == null)
+ {
+ pinnedPartitioning = new EObjectContainmentEList<XmlPinnedPartitioning_2_2>(XmlPinnedPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING);
+ }
+ return pinnedPartitioning;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range Partitioning</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Range Partitioning</em>' containment reference list.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_RangePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<XmlRangePartitioning_2_2> getRangePartitioning()
+ {
+ if (rangePartitioning == null)
+ {
+ rangePartitioning = new EObjectContainmentEList<XmlRangePartitioning_2_2>(XmlRangePartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING);
+ }
+ return rangePartitioning;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Partitioning</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value Partitioning</em>' containment reference list.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_ValuePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<XmlValuePartitioning_2_2> getValuePartitioning()
+ {
+ if (valuePartitioning == null)
+ {
+ valuePartitioning = new EObjectContainmentEList<XmlValuePartitioning_2_2>(XmlValuePartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING);
+ }
+ return valuePartitioning;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hash Partitioning</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Hash Partitioning</em>' containment reference list.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_HashPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<XmlHashPartitioning_2_2> getHashPartitioning()
+ {
+ if (hashPartitioning == null)
+ {
+ hashPartitioning = new EObjectContainmentEList<XmlHashPartitioning_2_2>(XmlHashPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING);
+ }
+ return hashPartitioning;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Union Partitioning</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Union Partitioning</em>' containment reference list.
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_UnionPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public EList<XmlUnionPartitioning_2_2> getUnionPartitioning()
+ {
+ if (unionPartitioning == null)
+ {
+ unionPartitioning = new EObjectContainmentEList<XmlUnionPartitioning_2_2>(XmlUnionPartitioning_2_2.class, this, EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING);
+ }
+ return unionPartitioning;
+ }
+
+ /**
* Returns the value of the '<em><b>Converters</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlConverter}.
* <!-- begin-user-doc -->
@@ -253,6 +599,24 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
{
switch (featureID)
{
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS:
+ return basicSetAccessMethods(null, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING:
+ return ((InternalEList<?>)getPartitioning()).basicRemove(otherEnd, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING:
+ return ((InternalEList<?>)getReplicationPartitioning()).basicRemove(otherEnd, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING:
+ return ((InternalEList<?>)getRoundRobinPartitioning()).basicRemove(otherEnd, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING:
+ return ((InternalEList<?>)getPinnedPartitioning()).basicRemove(otherEnd, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING:
+ return ((InternalEList<?>)getRangePartitioning()).basicRemove(otherEnd, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING:
+ return ((InternalEList<?>)getValuePartitioning()).basicRemove(otherEnd, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING:
+ return ((InternalEList<?>)getHashPartitioning()).basicRemove(otherEnd, msgs);
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING:
+ return ((InternalEList<?>)getUnionPartitioning()).basicRemove(otherEnd, msgs);
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS:
return ((InternalEList<?>)getConverters()).basicRemove(otherEnd, msgs);
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS:
@@ -277,6 +641,24 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
{
switch (featureID)
{
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS:
+ return getAccessMethods();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING:
+ return getPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING:
+ return getUnionPartitioning();
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS:
return getConverters();
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS:
@@ -302,6 +684,41 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
{
switch (featureID)
{
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS:
+ setAccessMethods((XmlAccessMethods)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING:
+ getPartitioning().clear();
+ getPartitioning().addAll((Collection<? extends XmlPartitioning_2_2>)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING:
+ getReplicationPartitioning().clear();
+ getReplicationPartitioning().addAll((Collection<? extends XmlReplicationPartitioning_2_2>)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING:
+ getRoundRobinPartitioning().clear();
+ getRoundRobinPartitioning().addAll((Collection<? extends XmlRoundRobinPartitioning_2_2>)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING:
+ getPinnedPartitioning().clear();
+ getPinnedPartitioning().addAll((Collection<? extends XmlPinnedPartitioning_2_2>)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING:
+ getRangePartitioning().clear();
+ getRangePartitioning().addAll((Collection<? extends XmlRangePartitioning_2_2>)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING:
+ getValuePartitioning().clear();
+ getValuePartitioning().addAll((Collection<? extends XmlValuePartitioning_2_2>)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING:
+ getHashPartitioning().clear();
+ getHashPartitioning().addAll((Collection<? extends XmlHashPartitioning_2_2>)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING:
+ getUnionPartitioning().clear();
+ getUnionPartitioning().addAll((Collection<? extends XmlUnionPartitioning_2_2>)newValue);
+ return;
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS:
getConverters().clear();
getConverters().addAll((Collection<? extends XmlConverter>)newValue);
@@ -336,6 +753,33 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
{
switch (featureID)
{
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS:
+ setAccessMethods((XmlAccessMethods)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING:
+ getPartitioning().clear();
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING:
+ getReplicationPartitioning().clear();
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING:
+ getRoundRobinPartitioning().clear();
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING:
+ getPinnedPartitioning().clear();
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING:
+ getRangePartitioning().clear();
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING:
+ getValuePartitioning().clear();
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING:
+ getHashPartitioning().clear();
+ return;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING:
+ getUnionPartitioning().clear();
+ return;
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS:
getConverters().clear();
return;
@@ -365,6 +809,24 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
{
switch (featureID)
{
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS:
+ return accessMethods != null;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING:
+ return partitioning != null && !partitioning.isEmpty();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null && !replicationPartitioning.isEmpty();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null && !roundRobinPartitioning.isEmpty();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING:
+ return pinnedPartitioning != null && !pinnedPartitioning.isEmpty();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING:
+ return rangePartitioning != null && !rangePartitioning.isEmpty();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING:
+ return valuePartitioning != null && !valuePartitioning.isEmpty();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING:
+ return hashPartitioning != null && !hashPartitioning.isEmpty();
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING:
+ return unionPartitioning != null && !unionPartitioning.isEmpty();
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__CONVERTERS:
return converters != null && !converters.isEmpty();
case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__TYPE_CONVERTERS:
@@ -387,6 +849,36 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
{
+ if (baseClass == XmlAccessMethodsHolder.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == XmlEntityMappings_2_1.class)
+ {
+ switch (derivedFeatureID)
+ {
+ default: return -1;
+ }
+ }
+ if (baseClass == XmlEntityMappings_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING;
+ default: return -1;
+ }
+ }
if (baseClass == XmlConvertersHolder.class)
{
switch (derivedFeatureID)
@@ -417,6 +909,36 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
{
+ if (baseClass == XmlAccessMethodsHolder.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ACCESS_METHODS;
+ default: return -1;
+ }
+ }
+ if (baseClass == XmlEntityMappings_2_1.class)
+ {
+ switch (baseFeatureID)
+ {
+ default: return -1;
+ }
+ }
+ if (baseClass == XmlEntityMappings_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__PINNED_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__RANGE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__VALUE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__HASH_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_ENTITY_MAPPINGS_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ENTITY_MAPPINGS__UNION_PARTITIONING;
+ default: return -1;
+ }
+ }
if (baseClass == XmlConvertersHolder.class)
{
switch (baseFeatureID)
@@ -502,6 +1024,14 @@ public class XmlEntityMappings extends org.eclipse.jpt.core.resource.orm.XmlEnti
XmlStructConverter.buildTranslator(EclipseLink.STRUCT_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConvertersHolder_StructConverters()),
XmlSequenceGenerator.buildTranslator(JPA.SEQUENCE_GENERATOR, OrmPackage.eINSTANCE.getXmlEntityMappings_SequenceGenerators()),
XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlEntityMappings_TableGenerators()),
+ XmlPartitioning.buildTranslator(EclipseLink2_2.PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntityMappings_2_2_Partitioning()),
+ XmlReplicationPartitioning.buildTranslator(EclipseLink2_2.REPLICATION_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntityMappings_2_2_ReplicationPartitioning()),
+ XmlRoundRobinPartitioning.buildTranslator(EclipseLink2_2.ROUND_ROBIN_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntityMappings_2_2_RoundRobinPartitioning()),
+ XmlPinnedPartitioning.buildTranslator(EclipseLink2_2.PINNED_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntityMappings_2_2_PinnedPartitioning()),
+ XmlRangePartitioning.buildTranslator(EclipseLink2_2.RANGE_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntityMappings_2_2_RangePartitioning()),
+ XmlValuePartitioning.buildTranslator(EclipseLink2_2.VALUE_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntityMappings_2_2_ValuePartitioning()),
+ XmlHashPartitioning.buildTranslator(EclipseLink2_2.HASH_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntityMappings_2_2_HashPartitioning()),
+ XmlUnionPartitioning.buildTranslator(EclipseLink2_2.UNION_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntityMappings_2_2_UnionPartitioning()),
XmlNamedQuery.buildTranslator(JPA.NAMED_QUERY, OrmPackage.eINSTANCE.getXmlQueryContainer_NamedQueries()),
XmlNamedNativeQuery.buildTranslator(JPA.NAMED_NATIVE_QUERY, OrmPackage.eINSTANCE.getXmlQueryContainer_NamedNativeQueries()),
XmlNamedStoredProcedureQuery.buildTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY, EclipseLinkOrmPackage.eINSTANCE.getXmlQueryContainer_NamedStoredProcedureQueries()),
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlHashPartitioning.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlHashPartitioning.java
new file mode 100644
index 0000000000..ef67ba33f5
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlHashPartitioning.java
@@ -0,0 +1,219 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.xml.AbstractJpaEObject;
+
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Hash Partitioning</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlHashPartitioning extends AbstractJpaEObject implements XmlHashPartitioning_2_2
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlHashPartitioning()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_HASH_PARTITIONING;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning_2_2_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlHashPartitioning#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_HASH_PARTITIONING__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_HASH_PARTITIONING__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_HASH_PARTITIONING__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_HASH_PARTITIONING__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_HASH_PARTITIONING__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ********** translators **********
+
+ public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) {
+ return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildNameTranslator()
+ };
+ }
+
+ protected static Translator buildNameTranslator() {
+ return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlHashPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE);
+ }
+} // XmlHashPartitioning
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlId.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlId.java
index 99b7feed72..3e689b996f 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlId.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlId.java
@@ -1140,5 +1140,10 @@ public class XmlId extends org.eclipse.jpt.core.resource.orm.XmlId implements Xm
protected static Translator buildEnumeratedTranslator() {
return new Translator(JPA.ENUMERATED, OrmPackage.eINSTANCE.getXmlConvertibleMapping_Enumerated());
- }
+ }
+
+ protected static Translator buildTableGeneratorTranslator() {
+ return XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator());
+ }
+
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlJoinTable.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlJoinTable.java
new file mode 100644
index 0000000000..67a1775467
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlJoinTable.java
@@ -0,0 +1,265 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Join Table</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlJoinTable extends org.eclipse.jpt.core.resource.orm.XmlJoinTable implements XmlJoinTable_2_2
+{
+ /**
+ * The default value of the '{@link #getCreationSuffix() <em>Creation Suffix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreationSuffix()
+ * @generated
+ * @ordered
+ */
+ protected static final String CREATION_SUFFIX_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCreationSuffix() <em>Creation Suffix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreationSuffix()
+ * @generated
+ * @ordered
+ */
+ protected String creationSuffix = CREATION_SUFFIX_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlJoinTable()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_JOIN_TABLE;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Creation Suffix</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Creation Suffix</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Creation Suffix</em>' attribute.
+ * @see #setCreationSuffix(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable_2_2_CreationSuffix()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getCreationSuffix()
+ {
+ return creationSuffix;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinTable#getCreationSuffix <em>Creation Suffix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Creation Suffix</em>' attribute.
+ * @see #getCreationSuffix()
+ * @generated
+ */
+ public void setCreationSuffix(String newCreationSuffix)
+ {
+ String oldCreationSuffix = creationSuffix;
+ creationSuffix = newCreationSuffix;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_JOIN_TABLE__CREATION_SUFFIX, oldCreationSuffix, creationSuffix));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_JOIN_TABLE__CREATION_SUFFIX:
+ return getCreationSuffix();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_JOIN_TABLE__CREATION_SUFFIX:
+ setCreationSuffix((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_JOIN_TABLE__CREATION_SUFFIX:
+ setCreationSuffix(CREATION_SUFFIX_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_JOIN_TABLE__CREATION_SUFFIX:
+ return CREATION_SUFFIX_EDEFAULT == null ? creationSuffix != null : !CREATION_SUFFIX_EDEFAULT.equals(creationSuffix);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == XmlJoinTable_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_JOIN_TABLE__CREATION_SUFFIX: return EclipseLinkOrmV2_2Package.XML_JOIN_TABLE_22__CREATION_SUFFIX;
+ default: return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == XmlJoinTable_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_JOIN_TABLE_22__CREATION_SUFFIX: return EclipseLinkOrmPackage.XML_JOIN_TABLE__CREATION_SUFFIX;
+ default: return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (creationSuffix: ");
+ result.append(creationSuffix);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ********** translators **********
+
+ public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) {
+ return new SimpleTranslator(
+ elementName,
+ structuralFeature,
+ EclipseLinkOrmPackage.eINSTANCE.getXmlJoinTable(),
+ buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildNameTranslator(),
+ buildCatalogTranslator(),
+ buildSchemaTranslator(),
+ buildCreationSuffixTranslator(),
+ buildJoinColumnTranslator(),
+ buildInverseJoinColumnTranslator(),
+ buildUniqueConstraintTranslator()
+ };
+ }
+
+ protected static Translator buildCreationSuffixTranslator() {
+ return new Translator(EclipseLink2_2.CREATION_SUFFIX, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlJoinTable_2_2_CreationSuffix(), Translator.DOM_ATTRIBUTE);
+ }
+} // XmlJoinTable
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToMany.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToMany.java
index 8907944703..a4ccd1a4b8 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToMany.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToMany.java
@@ -22,6 +22,8 @@ import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
import org.eclipse.jpt.core.resource.orm.CascadeType;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.orm.OrmPackage;
import org.eclipse.jpt.core.resource.orm.XmlAssociationOverride;
import org.eclipse.jpt.core.resource.orm.XmlAttributeOverride;
import org.eclipse.jpt.core.resource.orm.v2_0.JPA2_0;
@@ -37,7 +39,16 @@ import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Pack
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2;
import org.eclipse.wst.common.internal.emf.resource.Translator;
/**
@@ -164,6 +175,106 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT;
/**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected XmlPartitioning_2_2 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 XmlReplicationPartitioning_2_2 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 XmlRoundRobinPartitioning_2_2 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 XmlPinnedPartitioning_2_2 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 XmlRangePartitioning_2_2 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 XmlValuePartitioning_2_2 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 XmlHashPartitioning_2_2 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 XmlUnionPartitioning_2_2 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 #getCascadeOnDelete() <em>Cascade On Delete</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -184,6 +295,26 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
/**
+ * The default value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NON_CACHEABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT;
+
+ /**
* The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -672,6 +803,521 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
}
/**
+ * Returns the value of the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioning</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>Partitioning</em>' containment reference.
+ * @see #setPartitioning(XmlPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPartitioning_2_2 getPartitioning()
+ {
+ return partitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartitioning(XmlPartitioning_2_2 newPartitioning, NotificationChain msgs)
+ {
+ XmlPartitioning_2_2 oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getPartitioning <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioning</em>' containment reference.
+ * @see #getPartitioning()
+ * @generated
+ */
+ public void setPartitioning(XmlPartitioning_2_2 newPartitioning)
+ {
+ if (newPartitioning != partitioning)
+ {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Replication Partitioning</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>Replication Partitioning</em>' containment reference.
+ * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlReplicationPartitioning_2_2 getReplicationPartitioning()
+ {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning, NotificationChain msgs)
+ {
+ XmlReplicationPartitioning_2_2 oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getReplicationPartitioning <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Replication Partitioning</em>' containment reference.
+ * @see #getReplicationPartitioning()
+ * @generated
+ */
+ public void setReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning)
+ {
+ if (newReplicationPartitioning != replicationPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING, null, msgs);
+ msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Round Robin Partitioning</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>Round Robin Partitioning</em>' containment reference.
+ * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning()
+ {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning, NotificationChain msgs)
+ {
+ XmlRoundRobinPartitioning_2_2 oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Round Robin Partitioning</em>' containment reference.
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ */
+ public void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning)
+ {
+ if (newRoundRobinPartitioning != roundRobinPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs);
+ msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pinned Partitioning</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>Pinned Partitioning</em>' containment reference.
+ * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPinnedPartitioning_2_2 getPinnedPartitioning()
+ {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning, NotificationChain msgs)
+ {
+ XmlPinnedPartitioning_2_2 oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getPinnedPartitioning <em>Pinned Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Pinned Partitioning</em>' containment reference.
+ * @see #getPinnedPartitioning()
+ * @generated
+ */
+ public void setPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning)
+ {
+ if (newPinnedPartitioning != pinnedPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING, null, msgs);
+ msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range Partitioning</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>Range Partitioning</em>' containment reference.
+ * @see #setRangePartitioning(XmlRangePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRangePartitioning_2_2 getRangePartitioning()
+ {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning, NotificationChain msgs)
+ {
+ XmlRangePartitioning_2_2 oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getRangePartitioning <em>Range Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range Partitioning</em>' containment reference.
+ * @see #getRangePartitioning()
+ * @generated
+ */
+ public void setRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning)
+ {
+ if (newRangePartitioning != rangePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING, null, msgs);
+ msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Partitioning</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>Value Partitioning</em>' containment reference.
+ * @see #setValuePartitioning(XmlValuePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlValuePartitioning_2_2 getValuePartitioning()
+ {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning, NotificationChain msgs)
+ {
+ XmlValuePartitioning_2_2 oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getValuePartitioning <em>Value Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Partitioning</em>' containment reference.
+ * @see #getValuePartitioning()
+ * @generated
+ */
+ public void setValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning)
+ {
+ if (newValuePartitioning != valuePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING, null, msgs);
+ msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hash Partitioning</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>Hash Partitioning</em>' containment reference.
+ * @see #setHashPartitioning(XmlHashPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlHashPartitioning_2_2 getHashPartitioning()
+ {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning, NotificationChain msgs)
+ {
+ XmlHashPartitioning_2_2 oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getHashPartitioning <em>Hash Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hash Partitioning</em>' containment reference.
+ * @see #getHashPartitioning()
+ * @generated
+ */
+ public void setHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning)
+ {
+ if (newHashPartitioning != hashPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING, null, msgs);
+ msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Union Partitioning</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>Union Partitioning</em>' containment reference.
+ * @see #setUnionPartitioning(XmlUnionPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlUnionPartitioning_2_2 getUnionPartitioning()
+ {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning, NotificationChain msgs)
+ {
+ XmlUnionPartitioning_2_2 oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getUnionPartitioning <em>Union Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Union Partitioning</em>' containment reference.
+ * @see #getUnionPartitioning()
+ * @generated
+ */
+ public void setUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning)
+ {
+ if (newUnionPartitioning != unionPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING, null, msgs);
+ msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioned</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partitioned</em>' attribute.
+ * @see #setPartitioned(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioned()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getPartitioned()
+ {
+ return partitioned;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#getPartitioned <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioned</em>' attribute.
+ * @see #getPartitioned()
+ * @generated
+ */
+ public void setPartitioned(String newPartitioned)
+ {
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED, oldPartitioned, partitioned));
+ }
+
+ /**
* Returns the value of the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -707,6 +1353,41 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
}
/**
+ * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Non Cacheable</em>' attribute.
+ * @see #setNonCacheable(boolean)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany_2_2_NonCacheable()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * @generated
+ */
+ public boolean isNonCacheable()
+ {
+ return nonCacheable;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToMany#isNonCacheable <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Non Cacheable</em>' attribute.
+ * @see #isNonCacheable()
+ * @generated
+ */
+ public void setNonCacheable(boolean newNonCacheable)
+ {
+ boolean oldNonCacheable = nonCacheable;
+ nonCacheable = newNonCacheable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE, oldNonCacheable, nonCacheable));
+ }
+
+ /**
* Returns the value of the '<em><b>Access Methods</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
@@ -811,6 +1492,22 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
return ((InternalEList<?>)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs);
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__BATCH_FETCH:
return basicSetBatchFetch(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS:
return basicSetAccessMethods(null, msgs);
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES:
@@ -845,8 +1542,28 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
return getBatchFetch();
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE:
return getAttributeType();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING:
+ return getPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED:
+ return getPartitioned();
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE:
return getCascadeOnDelete();
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE:
+ return isNonCacheable();
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS:
return getAccessMethods();
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES:
@@ -893,9 +1610,39 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE:
setAttributeType((String)newValue);
return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE:
setCascadeOnDelete((Boolean)newValue);
return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE:
+ setNonCacheable((Boolean)newValue);
+ return;
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS:
setAccessMethods((XmlAccessMethods)newValue);
return;
@@ -944,9 +1691,39 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE:
setAttributeType(ATTRIBUTE_TYPE_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE:
setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE:
+ setNonCacheable(NON_CACHEABLE_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS:
setAccessMethods((XmlAccessMethods)null);
return;
@@ -986,8 +1763,28 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
return batchFetch != null;
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ATTRIBUTE_TYPE:
return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING:
+ return partitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE:
return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete);
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE:
+ return nonCacheable != NON_CACHEABLE_EDEFAULT;
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ACCESS_METHODS:
return accessMethods != null;
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PROPERTIES:
@@ -1056,11 +1853,28 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlManyToMany_2_2.class)
{
switch (derivedFeatureID)
{
case EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__CASCADE_ON_DELETE;
+ case EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__NON_CACHEABLE;
default: return -1;
}
}
@@ -1156,11 +1970,28 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PINNED_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__RANGE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__VALUE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__HASH_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__UNION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlManyToMany_2_2.class)
{
switch (baseFeatureID)
{
case EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__CASCADE_ON_DELETE;
+ case EclipseLinkOrmV2_2Package.XML_MANY_TO_MANY_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_MANY_TO_MANY__NON_CACHEABLE;
default: return -1;
}
}
@@ -1213,8 +2044,12 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
result.append(mapKeyConvert);
result.append(", attributeType: ");
result.append(attributeType);
+ result.append(", partitioned: ");
+ result.append(partitioned);
result.append(", cascadeOnDelete: ");
result.append(cascadeOnDelete);
+ result.append(", nonCacheable: ");
+ result.append(nonCacheable);
result.append(", joinFetch: ");
result.append(joinFetch);
result.append(')');
@@ -1321,4 +2156,8 @@ public class XmlManyToMany extends org.eclipse.jpt.core.resource.orm.XmlManyToMa
return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlManyToMany_2_2_CascadeOnDelete());
}
+ protected static Translator buildJoinTableTranslator() {
+ return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableMapping_JoinTable());
+ }
+
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToOne.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToOne.java
index 9dee8cfd55..0cfb43f68f 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToOne.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlManyToOne.java
@@ -22,8 +22,21 @@ import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.EclipseLink2_1;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.XmlManyToOne_2_1;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlManyToOne_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2;
import org.eclipse.jpt.core.internal.utility.translators.EmptyTagBooleanTranslator;
import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.orm.OrmPackage;
import org.eclipse.jpt.core.utility.TextRange;
import org.eclipse.wst.common.internal.emf.resource.Translator;
@@ -48,7 +61,7 @@ import org.eclipse.wst.common.internal.emf.resource.Translator;
* @model kind="class"
* @generated
*/
-public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne implements XmlManyToOne_2_1, XmlAttributeMapping, XmlJoinFetch
+public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne implements XmlManyToOne_2_1, XmlManyToOne_2_2, XmlAttributeMapping, XmlJoinFetch
{
/**
* The cached value of the '{@link #getBatchFetch() <em>Batch Fetch</em>}' containment reference.
@@ -61,6 +74,126 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
protected XmlBatchFetch batchFetch;
/**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected XmlPartitioning_2_2 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 XmlReplicationPartitioning_2_2 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 XmlRoundRobinPartitioning_2_2 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 XmlPinnedPartitioning_2_2 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 XmlRangePartitioning_2_2 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 XmlValuePartitioning_2_2 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 XmlHashPartitioning_2_2 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 XmlUnionPartitioning_2_2 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 #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NON_CACHEABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT;
+
+ /**
* The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -178,6 +311,556 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
}
/**
+ * Returns the value of the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioning</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>Partitioning</em>' containment reference.
+ * @see #setPartitioning(XmlPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPartitioning_2_2 getPartitioning()
+ {
+ return partitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartitioning(XmlPartitioning_2_2 newPartitioning, NotificationChain msgs)
+ {
+ XmlPartitioning_2_2 oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getPartitioning <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioning</em>' containment reference.
+ * @see #getPartitioning()
+ * @generated
+ */
+ public void setPartitioning(XmlPartitioning_2_2 newPartitioning)
+ {
+ if (newPartitioning != partitioning)
+ {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Replication Partitioning</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>Replication Partitioning</em>' containment reference.
+ * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlReplicationPartitioning_2_2 getReplicationPartitioning()
+ {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning, NotificationChain msgs)
+ {
+ XmlReplicationPartitioning_2_2 oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getReplicationPartitioning <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Replication Partitioning</em>' containment reference.
+ * @see #getReplicationPartitioning()
+ * @generated
+ */
+ public void setReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning)
+ {
+ if (newReplicationPartitioning != replicationPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Round Robin Partitioning</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>Round Robin Partitioning</em>' containment reference.
+ * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning()
+ {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning, NotificationChain msgs)
+ {
+ XmlRoundRobinPartitioning_2_2 oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Round Robin Partitioning</em>' containment reference.
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ */
+ public void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning)
+ {
+ if (newRoundRobinPartitioning != roundRobinPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pinned Partitioning</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>Pinned Partitioning</em>' containment reference.
+ * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPinnedPartitioning_2_2 getPinnedPartitioning()
+ {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning, NotificationChain msgs)
+ {
+ XmlPinnedPartitioning_2_2 oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getPinnedPartitioning <em>Pinned Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Pinned Partitioning</em>' containment reference.
+ * @see #getPinnedPartitioning()
+ * @generated
+ */
+ public void setPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning)
+ {
+ if (newPinnedPartitioning != pinnedPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range Partitioning</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>Range Partitioning</em>' containment reference.
+ * @see #setRangePartitioning(XmlRangePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRangePartitioning_2_2 getRangePartitioning()
+ {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning, NotificationChain msgs)
+ {
+ XmlRangePartitioning_2_2 oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getRangePartitioning <em>Range Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range Partitioning</em>' containment reference.
+ * @see #getRangePartitioning()
+ * @generated
+ */
+ public void setRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning)
+ {
+ if (newRangePartitioning != rangePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Partitioning</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>Value Partitioning</em>' containment reference.
+ * @see #setValuePartitioning(XmlValuePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlValuePartitioning_2_2 getValuePartitioning()
+ {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning, NotificationChain msgs)
+ {
+ XmlValuePartitioning_2_2 oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getValuePartitioning <em>Value Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Partitioning</em>' containment reference.
+ * @see #getValuePartitioning()
+ * @generated
+ */
+ public void setValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning)
+ {
+ if (newValuePartitioning != valuePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hash Partitioning</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>Hash Partitioning</em>' containment reference.
+ * @see #setHashPartitioning(XmlHashPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlHashPartitioning_2_2 getHashPartitioning()
+ {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning, NotificationChain msgs)
+ {
+ XmlHashPartitioning_2_2 oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getHashPartitioning <em>Hash Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hash Partitioning</em>' containment reference.
+ * @see #getHashPartitioning()
+ * @generated
+ */
+ public void setHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning)
+ {
+ if (newHashPartitioning != hashPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Union Partitioning</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>Union Partitioning</em>' containment reference.
+ * @see #setUnionPartitioning(XmlUnionPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlUnionPartitioning_2_2 getUnionPartitioning()
+ {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning, NotificationChain msgs)
+ {
+ XmlUnionPartitioning_2_2 oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getUnionPartitioning <em>Union Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Union Partitioning</em>' containment reference.
+ * @see #getUnionPartitioning()
+ * @generated
+ */
+ public void setUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning)
+ {
+ if (newUnionPartitioning != unionPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioned</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partitioned</em>' attribute.
+ * @see #setPartitioned(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioned()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getPartitioned()
+ {
+ return partitioned;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#getPartitioned <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioned</em>' attribute.
+ * @see #getPartitioned()
+ * @generated
+ */
+ public void setPartitioned(String newPartitioned)
+ {
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED, oldPartitioned, partitioned));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Non Cacheable</em>' attribute.
+ * @see #setNonCacheable(boolean)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToOne_2_2_NonCacheable()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * @generated
+ */
+ public boolean isNonCacheable()
+ {
+ return nonCacheable;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlManyToOne#isNonCacheable <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Non Cacheable</em>' attribute.
+ * @see #isNonCacheable()
+ * @generated
+ */
+ public void setNonCacheable(boolean newNonCacheable)
+ {
+ boolean oldNonCacheable = nonCacheable;
+ nonCacheable = newNonCacheable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE, oldNonCacheable, nonCacheable));
+ }
+
+ /**
* Returns the value of the '<em><b>Join Fetch</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlJoinFetchType}.
* <!-- begin-user-doc -->
@@ -310,6 +993,22 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
{
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH:
return basicSetBatchFetch(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS:
return basicSetAccessMethods(null, msgs);
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES:
@@ -330,6 +1029,26 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
{
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH:
return getBatchFetch();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING:
+ return getPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED:
+ return getPartitioned();
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE:
+ return isNonCacheable();
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS:
return getAccessMethods();
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES:
@@ -354,6 +1073,36 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH:
setBatchFetch((XmlBatchFetch)newValue);
return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE:
+ setNonCacheable((Boolean)newValue);
+ return;
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS:
setAccessMethods((XmlAccessMethods)newValue);
return;
@@ -381,6 +1130,36 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH:
setBatchFetch((XmlBatchFetch)null);
return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE:
+ setNonCacheable(NON_CACHEABLE_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS:
setAccessMethods((XmlAccessMethods)null);
return;
@@ -406,6 +1185,26 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
{
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__BATCH_FETCH:
return batchFetch != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING:
+ return partitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE:
+ return nonCacheable != NON_CACHEABLE_EDEFAULT;
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ACCESS_METHODS:
return accessMethods != null;
case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PROPERTIES:
@@ -439,6 +1238,30 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED;
+ default: return -1;
+ }
+ }
+ if (baseClass == XmlManyToOne_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_MANY_TO_ONE_22__NON_CACHEABLE;
+ default: return -1;
+ }
+ }
if (baseClass == XmlAccessMethodsHolder.class)
{
switch (derivedFeatureID)
@@ -496,6 +1319,30 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PINNED_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__RANGE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__VALUE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__HASH_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__UNION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__PARTITIONED;
+ default: return -1;
+ }
+ }
+ if (baseClass == XmlManyToOne_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_MANY_TO_ONE_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_MANY_TO_ONE__NON_CACHEABLE;
+ default: return -1;
+ }
+ }
if (baseClass == XmlAccessMethodsHolder.class)
{
switch (baseFeatureID)
@@ -541,7 +1388,11 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- result.append(" (joinFetch: ");
+ result.append(" (partitioned: ");
+ result.append(partitioned);
+ result.append(", nonCacheable: ");
+ result.append(nonCacheable);
+ result.append(", joinFetch: ");
result.append(joinFetch);
result.append(')');
return result.toString();
@@ -601,4 +1452,8 @@ public class XmlManyToOne extends org.eclipse.jpt.core.resource.orm.XmlManyToOne
return XmlBatchFetch.buildTranslator(EclipseLink2_1.BATCH_FETCH, EclipseLinkOrmPackage.eINSTANCE.getXmlBatchFetchHolder_BatchFetch());
}
+ protected static Translator buildJoinTableTranslator() {
+ return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableMapping_JoinTable());
+ }
+
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlMappedSuperclass.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlMappedSuperclass.java
index 5a32b9ab28..a01b517410 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlMappedSuperclass.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlMappedSuperclass.java
@@ -51,7 +51,16 @@ import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.XmlMappedSuperclass_2_
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlMappedSuperclass_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2;
import org.eclipse.wst.common.internal.emf.resource.Translator;
/**
@@ -258,6 +267,106 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
protected String parentClass = PARENT_CLASS_EDEFAULT;
/**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected XmlPartitioning_2_2 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 XmlReplicationPartitioning_2_2 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 XmlRoundRobinPartitioning_2_2 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 XmlPinnedPartitioning_2_2 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 XmlRangePartitioning_2_2 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 XmlValuePartitioning_2_2 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 XmlHashPartitioning_2_2 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 XmlUnionPartitioning_2_2 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 cached value of the '{@link #getAdditionalCriteria() <em>Additional Criteria</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1665,6 +1774,521 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
}
/**
+ * Returns the value of the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioning</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>Partitioning</em>' containment reference.
+ * @see #setPartitioning(XmlPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPartitioning_2_2 getPartitioning()
+ {
+ return partitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartitioning(XmlPartitioning_2_2 newPartitioning, NotificationChain msgs)
+ {
+ XmlPartitioning_2_2 oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getPartitioning <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioning</em>' containment reference.
+ * @see #getPartitioning()
+ * @generated
+ */
+ public void setPartitioning(XmlPartitioning_2_2 newPartitioning)
+ {
+ if (newPartitioning != partitioning)
+ {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Replication Partitioning</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>Replication Partitioning</em>' containment reference.
+ * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlReplicationPartitioning_2_2 getReplicationPartitioning()
+ {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning, NotificationChain msgs)
+ {
+ XmlReplicationPartitioning_2_2 oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getReplicationPartitioning <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Replication Partitioning</em>' containment reference.
+ * @see #getReplicationPartitioning()
+ * @generated
+ */
+ public void setReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning)
+ {
+ if (newReplicationPartitioning != replicationPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, null, msgs);
+ msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Round Robin Partitioning</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>Round Robin Partitioning</em>' containment reference.
+ * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning()
+ {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning, NotificationChain msgs)
+ {
+ XmlRoundRobinPartitioning_2_2 oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Round Robin Partitioning</em>' containment reference.
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ */
+ public void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning)
+ {
+ if (newRoundRobinPartitioning != roundRobinPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, null, msgs);
+ msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pinned Partitioning</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>Pinned Partitioning</em>' containment reference.
+ * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPinnedPartitioning_2_2 getPinnedPartitioning()
+ {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning, NotificationChain msgs)
+ {
+ XmlPinnedPartitioning_2_2 oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getPinnedPartitioning <em>Pinned Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Pinned Partitioning</em>' containment reference.
+ * @see #getPinnedPartitioning()
+ * @generated
+ */
+ public void setPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning)
+ {
+ if (newPinnedPartitioning != pinnedPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING, null, msgs);
+ msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range Partitioning</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>Range Partitioning</em>' containment reference.
+ * @see #setRangePartitioning(XmlRangePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRangePartitioning_2_2 getRangePartitioning()
+ {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning, NotificationChain msgs)
+ {
+ XmlRangePartitioning_2_2 oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getRangePartitioning <em>Range Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range Partitioning</em>' containment reference.
+ * @see #getRangePartitioning()
+ * @generated
+ */
+ public void setRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning)
+ {
+ if (newRangePartitioning != rangePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING, null, msgs);
+ msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Partitioning</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>Value Partitioning</em>' containment reference.
+ * @see #setValuePartitioning(XmlValuePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlValuePartitioning_2_2 getValuePartitioning()
+ {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning, NotificationChain msgs)
+ {
+ XmlValuePartitioning_2_2 oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getValuePartitioning <em>Value Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Partitioning</em>' containment reference.
+ * @see #getValuePartitioning()
+ * @generated
+ */
+ public void setValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning)
+ {
+ if (newValuePartitioning != valuePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING, null, msgs);
+ msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hash Partitioning</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>Hash Partitioning</em>' containment reference.
+ * @see #setHashPartitioning(XmlHashPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlHashPartitioning_2_2 getHashPartitioning()
+ {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning, NotificationChain msgs)
+ {
+ XmlHashPartitioning_2_2 oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getHashPartitioning <em>Hash Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hash Partitioning</em>' containment reference.
+ * @see #getHashPartitioning()
+ * @generated
+ */
+ public void setHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning)
+ {
+ if (newHashPartitioning != hashPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING, null, msgs);
+ msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Union Partitioning</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>Union Partitioning</em>' containment reference.
+ * @see #setUnionPartitioning(XmlUnionPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlUnionPartitioning_2_2 getUnionPartitioning()
+ {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning, NotificationChain msgs)
+ {
+ XmlUnionPartitioning_2_2 oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getUnionPartitioning <em>Union Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Union Partitioning</em>' containment reference.
+ * @see #getUnionPartitioning()
+ * @generated
+ */
+ public void setUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning)
+ {
+ if (newUnionPartitioning != unionPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING, null, msgs);
+ msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioned</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partitioned</em>' attribute.
+ * @see #setPartitioned(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioned()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getPartitioned()
+ {
+ return partitioned;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlMappedSuperclass#getPartitioned <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioned</em>' attribute.
+ * @see #getPartitioned()
+ * @generated
+ */
+ public void setPartitioned(String newPartitioned)
+ {
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED, oldPartitioned, partitioned));
+ }
+
+ /**
* Returns the value of the '<em><b>Additional Criteria</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
@@ -1795,6 +2419,22 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
return ((InternalEList<?>)getSqlResultSetMappings()).basicRemove(otherEnd, msgs);
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__QUERY_REDIRECTORS:
return basicSetQueryRedirectors(null, msgs);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA:
return basicSetAdditionalCriteria(null, msgs);
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__CUSTOMIZER:
@@ -1865,6 +2505,24 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
return getQueryRedirectors();
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS:
return getParentClass();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING:
+ return getPartitioning();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED:
+ return getPartitioned();
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA:
return getAdditionalCriteria();
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY:
@@ -1964,6 +2622,33 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS:
setParentClass((String)newValue);
return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA:
setAdditionalCriteria((XmlAdditionalCriteria_2_2)newValue);
return;
@@ -2076,6 +2761,33 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS:
setParentClass(PARENT_CLASS_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA:
setAdditionalCriteria((XmlAdditionalCriteria_2_2)null);
return;
@@ -2168,6 +2880,24 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
return queryRedirectors != null;
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARENT_CLASS:
return PARENT_CLASS_EDEFAULT == null ? parentClass != null : !PARENT_CLASS_EDEFAULT.equals(parentClass);
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING:
+ return partitioning != null;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ADDITIONAL_CRITERIA:
return additionalCriteria != null;
case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__READ_ONLY:
@@ -2304,6 +3034,22 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlMappedSuperclass_2_2.class)
{
switch (derivedFeatureID)
@@ -2467,6 +3213,22 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PINNED_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__RANGE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__VALUE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__HASH_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__UNION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_MAPPED_SUPERCLASS__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlMappedSuperclass_2_2.class)
{
switch (baseFeatureID)
@@ -2545,6 +3307,8 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
result.append(cacheable);
result.append(", parentClass: ");
result.append(parentClass);
+ result.append(", partitioned: ");
+ result.append(partitioned);
result.append(", readOnly: ");
result.append(readOnly);
result.append(", existenceChecking: ");
@@ -2703,7 +3467,7 @@ public class XmlMappedSuperclass extends org.eclipse.jpt.core.resource.orm.XmlMa
}
protected static Translator buildTableGeneratorTranslator() {
- return XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator());
+ return org.eclipse.jpt.eclipselink.core.resource.orm.XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlGeneratorContainer_TableGenerator());
}
protected static Translator buildNamedQueryTranslator() {
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToMany.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToMany.java
index a9e113ecca..8ac5a27e93 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToMany.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToMany.java
@@ -23,6 +23,8 @@ import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.jpt.core.internal.utility.translators.EmptyTagBooleanTranslator;
import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
import org.eclipse.jpt.core.resource.orm.CascadeType;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.orm.OrmPackage;
import org.eclipse.jpt.core.resource.orm.XmlAssociationOverride;
import org.eclipse.jpt.core.resource.orm.v2_0.JPA2_0;
import org.eclipse.jpt.core.resource.orm.v2_0.OrmV2_0Package;
@@ -37,7 +39,16 @@ import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Pack
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.XmlOneToMany_2_1;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlOneToMany_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2;
import org.eclipse.wst.common.internal.emf.resource.Translator;
/**
@@ -164,6 +175,106 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
protected String attributeType = ATTRIBUTE_TYPE_EDEFAULT;
/**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected XmlPartitioning_2_2 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 XmlReplicationPartitioning_2_2 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 XmlRoundRobinPartitioning_2_2 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 XmlPinnedPartitioning_2_2 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 XmlRangePartitioning_2_2 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 XmlValuePartitioning_2_2 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 XmlHashPartitioning_2_2 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 XmlUnionPartitioning_2_2 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 #getCascadeOnDelete() <em>Cascade On Delete</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -184,6 +295,26 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
/**
+ * The default value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NON_CACHEABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT;
+
+ /**
* The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -727,6 +858,521 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
}
/**
+ * Returns the value of the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioning</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>Partitioning</em>' containment reference.
+ * @see #setPartitioning(XmlPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPartitioning_2_2 getPartitioning()
+ {
+ return partitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartitioning(XmlPartitioning_2_2 newPartitioning, NotificationChain msgs)
+ {
+ XmlPartitioning_2_2 oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getPartitioning <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioning</em>' containment reference.
+ * @see #getPartitioning()
+ * @generated
+ */
+ public void setPartitioning(XmlPartitioning_2_2 newPartitioning)
+ {
+ if (newPartitioning != partitioning)
+ {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Replication Partitioning</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>Replication Partitioning</em>' containment reference.
+ * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlReplicationPartitioning_2_2 getReplicationPartitioning()
+ {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning, NotificationChain msgs)
+ {
+ XmlReplicationPartitioning_2_2 oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getReplicationPartitioning <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Replication Partitioning</em>' containment reference.
+ * @see #getReplicationPartitioning()
+ * @generated
+ */
+ public void setReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning)
+ {
+ if (newReplicationPartitioning != replicationPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING, null, msgs);
+ msgs = basicSetReplicationPartitioning(newReplicationPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Round Robin Partitioning</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>Round Robin Partitioning</em>' containment reference.
+ * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning()
+ {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning, NotificationChain msgs)
+ {
+ XmlRoundRobinPartitioning_2_2 oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Round Robin Partitioning</em>' containment reference.
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ */
+ public void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning)
+ {
+ if (newRoundRobinPartitioning != roundRobinPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, null, msgs);
+ msgs = basicSetRoundRobinPartitioning(newRoundRobinPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pinned Partitioning</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>Pinned Partitioning</em>' containment reference.
+ * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPinnedPartitioning_2_2 getPinnedPartitioning()
+ {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning, NotificationChain msgs)
+ {
+ XmlPinnedPartitioning_2_2 oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getPinnedPartitioning <em>Pinned Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Pinned Partitioning</em>' containment reference.
+ * @see #getPinnedPartitioning()
+ * @generated
+ */
+ public void setPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning)
+ {
+ if (newPinnedPartitioning != pinnedPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING, null, msgs);
+ msgs = basicSetPinnedPartitioning(newPinnedPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range Partitioning</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>Range Partitioning</em>' containment reference.
+ * @see #setRangePartitioning(XmlRangePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRangePartitioning_2_2 getRangePartitioning()
+ {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning, NotificationChain msgs)
+ {
+ XmlRangePartitioning_2_2 oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getRangePartitioning <em>Range Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range Partitioning</em>' containment reference.
+ * @see #getRangePartitioning()
+ * @generated
+ */
+ public void setRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning)
+ {
+ if (newRangePartitioning != rangePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING, null, msgs);
+ msgs = basicSetRangePartitioning(newRangePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Partitioning</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>Value Partitioning</em>' containment reference.
+ * @see #setValuePartitioning(XmlValuePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlValuePartitioning_2_2 getValuePartitioning()
+ {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning, NotificationChain msgs)
+ {
+ XmlValuePartitioning_2_2 oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getValuePartitioning <em>Value Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Partitioning</em>' containment reference.
+ * @see #getValuePartitioning()
+ * @generated
+ */
+ public void setValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning)
+ {
+ if (newValuePartitioning != valuePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING, null, msgs);
+ msgs = basicSetValuePartitioning(newValuePartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hash Partitioning</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>Hash Partitioning</em>' containment reference.
+ * @see #setHashPartitioning(XmlHashPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlHashPartitioning_2_2 getHashPartitioning()
+ {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning, NotificationChain msgs)
+ {
+ XmlHashPartitioning_2_2 oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getHashPartitioning <em>Hash Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hash Partitioning</em>' containment reference.
+ * @see #getHashPartitioning()
+ * @generated
+ */
+ public void setHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning)
+ {
+ if (newHashPartitioning != hashPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING, null, msgs);
+ msgs = basicSetHashPartitioning(newHashPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Union Partitioning</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>Union Partitioning</em>' containment reference.
+ * @see #setUnionPartitioning(XmlUnionPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlUnionPartitioning_2_2 getUnionPartitioning()
+ {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning, NotificationChain msgs)
+ {
+ XmlUnionPartitioning_2_2 oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getUnionPartitioning <em>Union Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Union Partitioning</em>' containment reference.
+ * @see #getUnionPartitioning()
+ * @generated
+ */
+ public void setUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning)
+ {
+ if (newUnionPartitioning != unionPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING, null, msgs);
+ msgs = basicSetUnionPartitioning(newUnionPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioned</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partitioned</em>' attribute.
+ * @see #setPartitioned(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioned()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getPartitioned()
+ {
+ return partitioned;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#getPartitioned <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioned</em>' attribute.
+ * @see #getPartitioned()
+ * @generated
+ */
+ public void setPartitioned(String newPartitioned)
+ {
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED, oldPartitioned, partitioned));
+ }
+
+ /**
* Returns the value of the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -762,6 +1408,41 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
}
/**
+ * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Non Cacheable</em>' attribute.
+ * @see #setNonCacheable(boolean)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToMany_2_2_NonCacheable()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * @generated
+ */
+ public boolean isNonCacheable()
+ {
+ return nonCacheable;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToMany#isNonCacheable <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Non Cacheable</em>' attribute.
+ * @see #isNonCacheable()
+ * @generated
+ */
+ public void setNonCacheable(boolean newNonCacheable)
+ {
+ boolean oldNonCacheable = nonCacheable;
+ nonCacheable = newNonCacheable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE, oldNonCacheable, nonCacheable));
+ }
+
+ /**
* Returns the value of the '<em><b>Access Methods</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
@@ -866,6 +1547,22 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
return ((InternalEList<?>)getMapKeyAssociationOverrides()).basicRemove(otherEnd, msgs);
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__BATCH_FETCH:
return basicSetBatchFetch(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS:
return basicSetAccessMethods(null, msgs);
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES:
@@ -900,8 +1597,28 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
return getBatchFetch();
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE:
return getAttributeType();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING:
+ return getPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED:
+ return getPartitioned();
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE:
return getCascadeOnDelete();
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE:
+ return isNonCacheable();
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS:
return getAccessMethods();
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES:
@@ -950,9 +1667,39 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE:
setAttributeType((String)newValue);
return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE:
setCascadeOnDelete((Boolean)newValue);
return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE:
+ setNonCacheable((Boolean)newValue);
+ return;
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS:
setAccessMethods((XmlAccessMethods)newValue);
return;
@@ -1004,9 +1751,39 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE:
setAttributeType(ATTRIBUTE_TYPE_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE:
setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE:
+ setNonCacheable(NON_CACHEABLE_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS:
setAccessMethods((XmlAccessMethods)null);
return;
@@ -1049,8 +1826,28 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
return batchFetch != null;
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ATTRIBUTE_TYPE:
return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING:
+ return partitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE:
return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete);
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE:
+ return nonCacheable != NON_CACHEABLE_EDEFAULT;
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ACCESS_METHODS:
return accessMethods != null;
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PROPERTIES:
@@ -1121,11 +1918,28 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlOneToMany_2_2.class)
{
switch (derivedFeatureID)
{
case EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__CASCADE_ON_DELETE;
+ case EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__NON_CACHEABLE;
default: return -1;
}
}
@@ -1229,11 +2043,28 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PINNED_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__RANGE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__VALUE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__HASH_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__UNION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlOneToMany_2_2.class)
{
switch (baseFeatureID)
{
case EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__CASCADE_ON_DELETE;
+ case EclipseLinkOrmV2_2Package.XML_ONE_TO_MANY_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_ONE_TO_MANY__NON_CACHEABLE;
default: return -1;
}
}
@@ -1294,8 +2125,12 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
result.append(mapKeyConvert);
result.append(", attributeType: ");
result.append(attributeType);
+ result.append(", partitioned: ");
+ result.append(partitioned);
result.append(", cascadeOnDelete: ");
result.append(cascadeOnDelete);
+ result.append(", nonCacheable: ");
+ result.append(nonCacheable);
result.append(", privateOwned: ");
result.append(privateOwned);
result.append(", joinFetch: ");
@@ -1411,4 +2246,8 @@ public class XmlOneToMany extends org.eclipse.jpt.core.resource.orm.XmlOneToMany
return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToMany_2_2_CascadeOnDelete());
}
+ protected static Translator buildJoinTableTranslator() {
+ return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableMapping_JoinTable());
+ }
+
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToOne.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToOne.java
index d829d05150..8572121b47 100644
--- a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToOne.java
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlOneToOne.java
@@ -24,10 +24,21 @@ import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.EclipseLink2_1;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_1.XmlOneToOne_2_1;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2;
import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlOneToOne_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2;
import org.eclipse.jpt.core.internal.utility.translators.EmptyTagBooleanTranslator;
import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
import org.eclipse.jpt.core.resource.orm.CascadeType;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.orm.OrmPackage;
import org.eclipse.jpt.core.utility.TextRange;
import org.eclipse.wst.common.internal.emf.resource.Translator;
@@ -65,6 +76,106 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
protected XmlBatchFetch batchFetch;
/**
+ * The cached value of the '{@link #getPartitioning() <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartitioning()
+ * @generated
+ * @ordered
+ */
+ protected XmlPartitioning_2_2 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 XmlReplicationPartitioning_2_2 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 XmlRoundRobinPartitioning_2_2 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 XmlPinnedPartitioning_2_2 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 XmlRangePartitioning_2_2 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 XmlValuePartitioning_2_2 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 XmlHashPartitioning_2_2 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 XmlUnionPartitioning_2_2 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 #getCascadeOnDelete() <em>Cascade On Delete</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -85,6 +196,26 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
protected Boolean cascadeOnDelete = CASCADE_ON_DELETE_EDEFAULT;
/**
+ * The default value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean NON_CACHEABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isNonCacheable() <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isNonCacheable()
+ * @generated
+ * @ordered
+ */
+ protected boolean nonCacheable = NON_CACHEABLE_EDEFAULT;
+
+ /**
* The cached value of the '{@link #getAccessMethods() <em>Access Methods</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -222,6 +353,521 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
}
/**
+ * Returns the value of the '<em><b>Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioning</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>Partitioning</em>' containment reference.
+ * @see #setPartitioning(XmlPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPartitioning_2_2 getPartitioning()
+ {
+ return partitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPartitioning(XmlPartitioning_2_2 newPartitioning, NotificationChain msgs)
+ {
+ XmlPartitioning_2_2 oldPartitioning = partitioning;
+ partitioning = newPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING, oldPartitioning, newPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getPartitioning <em>Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioning</em>' containment reference.
+ * @see #getPartitioning()
+ * @generated
+ */
+ public void setPartitioning(XmlPartitioning_2_2 newPartitioning)
+ {
+ if (newPartitioning != partitioning)
+ {
+ NotificationChain msgs = null;
+ if (partitioning != null)
+ msgs = ((InternalEObject)partitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING, null, msgs);
+ if (newPartitioning != null)
+ msgs = ((InternalEObject)newPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING, null, msgs);
+ msgs = basicSetPartitioning(newPartitioning, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING, newPartitioning, newPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Replication Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Replication Partitioning</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>Replication Partitioning</em>' containment reference.
+ * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlReplicationPartitioning_2_2 getReplicationPartitioning()
+ {
+ return replicationPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning, NotificationChain msgs)
+ {
+ XmlReplicationPartitioning_2_2 oldReplicationPartitioning = replicationPartitioning;
+ replicationPartitioning = newReplicationPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING, oldReplicationPartitioning, newReplicationPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getReplicationPartitioning <em>Replication Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Replication Partitioning</em>' containment reference.
+ * @see #getReplicationPartitioning()
+ * @generated
+ */
+ public void setReplicationPartitioning(XmlReplicationPartitioning_2_2 newReplicationPartitioning)
+ {
+ if (newReplicationPartitioning != replicationPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (replicationPartitioning != null)
+ msgs = ((InternalEObject)replicationPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING, null, msgs);
+ if (newReplicationPartitioning != null)
+ msgs = ((InternalEObject)newReplicationPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING, newReplicationPartitioning, newReplicationPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Round Robin Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Round Robin Partitioning</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>Round Robin Partitioning</em>' containment reference.
+ * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning()
+ {
+ return roundRobinPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning, NotificationChain msgs)
+ {
+ XmlRoundRobinPartitioning_2_2 oldRoundRobinPartitioning = roundRobinPartitioning;
+ roundRobinPartitioning = newRoundRobinPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, oldRoundRobinPartitioning, newRoundRobinPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getRoundRobinPartitioning <em>Round Robin Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Round Robin Partitioning</em>' containment reference.
+ * @see #getRoundRobinPartitioning()
+ * @generated
+ */
+ public void setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2 newRoundRobinPartitioning)
+ {
+ if (newRoundRobinPartitioning != roundRobinPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (roundRobinPartitioning != null)
+ msgs = ((InternalEObject)roundRobinPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, null, msgs);
+ if (newRoundRobinPartitioning != null)
+ msgs = ((InternalEObject)newRoundRobinPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING, newRoundRobinPartitioning, newRoundRobinPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Pinned Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pinned Partitioning</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>Pinned Partitioning</em>' containment reference.
+ * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlPinnedPartitioning_2_2 getPinnedPartitioning()
+ {
+ return pinnedPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning, NotificationChain msgs)
+ {
+ XmlPinnedPartitioning_2_2 oldPinnedPartitioning = pinnedPartitioning;
+ pinnedPartitioning = newPinnedPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING, oldPinnedPartitioning, newPinnedPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getPinnedPartitioning <em>Pinned Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Pinned Partitioning</em>' containment reference.
+ * @see #getPinnedPartitioning()
+ * @generated
+ */
+ public void setPinnedPartitioning(XmlPinnedPartitioning_2_2 newPinnedPartitioning)
+ {
+ if (newPinnedPartitioning != pinnedPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (pinnedPartitioning != null)
+ msgs = ((InternalEObject)pinnedPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING, null, msgs);
+ if (newPinnedPartitioning != null)
+ msgs = ((InternalEObject)newPinnedPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING, newPinnedPartitioning, newPinnedPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Range Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Range Partitioning</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>Range Partitioning</em>' containment reference.
+ * @see #setRangePartitioning(XmlRangePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlRangePartitioning_2_2 getRangePartitioning()
+ {
+ return rangePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning, NotificationChain msgs)
+ {
+ XmlRangePartitioning_2_2 oldRangePartitioning = rangePartitioning;
+ rangePartitioning = newRangePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING, oldRangePartitioning, newRangePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getRangePartitioning <em>Range Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Range Partitioning</em>' containment reference.
+ * @see #getRangePartitioning()
+ * @generated
+ */
+ public void setRangePartitioning(XmlRangePartitioning_2_2 newRangePartitioning)
+ {
+ if (newRangePartitioning != rangePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (rangePartitioning != null)
+ msgs = ((InternalEObject)rangePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING, null, msgs);
+ if (newRangePartitioning != null)
+ msgs = ((InternalEObject)newRangePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING, newRangePartitioning, newRangePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Value Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value Partitioning</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>Value Partitioning</em>' containment reference.
+ * @see #setValuePartitioning(XmlValuePartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlValuePartitioning_2_2 getValuePartitioning()
+ {
+ return valuePartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning, NotificationChain msgs)
+ {
+ XmlValuePartitioning_2_2 oldValuePartitioning = valuePartitioning;
+ valuePartitioning = newValuePartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING, oldValuePartitioning, newValuePartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getValuePartitioning <em>Value Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value Partitioning</em>' containment reference.
+ * @see #getValuePartitioning()
+ * @generated
+ */
+ public void setValuePartitioning(XmlValuePartitioning_2_2 newValuePartitioning)
+ {
+ if (newValuePartitioning != valuePartitioning)
+ {
+ NotificationChain msgs = null;
+ if (valuePartitioning != null)
+ msgs = ((InternalEObject)valuePartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING, null, msgs);
+ if (newValuePartitioning != null)
+ msgs = ((InternalEObject)newValuePartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING, newValuePartitioning, newValuePartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Hash Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Hash Partitioning</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>Hash Partitioning</em>' containment reference.
+ * @see #setHashPartitioning(XmlHashPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlHashPartitioning_2_2 getHashPartitioning()
+ {
+ return hashPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning, NotificationChain msgs)
+ {
+ XmlHashPartitioning_2_2 oldHashPartitioning = hashPartitioning;
+ hashPartitioning = newHashPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING, oldHashPartitioning, newHashPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getHashPartitioning <em>Hash Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Hash Partitioning</em>' containment reference.
+ * @see #getHashPartitioning()
+ * @generated
+ */
+ public void setHashPartitioning(XmlHashPartitioning_2_2 newHashPartitioning)
+ {
+ if (newHashPartitioning != hashPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (hashPartitioning != null)
+ msgs = ((InternalEObject)hashPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING, null, msgs);
+ if (newHashPartitioning != null)
+ msgs = ((InternalEObject)newHashPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING, newHashPartitioning, newHashPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Union Partitioning</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Union Partitioning</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>Union Partitioning</em>' containment reference.
+ * @see #setUnionPartitioning(XmlUnionPartitioning_2_2)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning()
+ * @model containment="true"
+ * @generated
+ */
+ public XmlUnionPartitioning_2_2 getUnionPartitioning()
+ {
+ return unionPartitioning;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning, NotificationChain msgs)
+ {
+ XmlUnionPartitioning_2_2 oldUnionPartitioning = unionPartitioning;
+ unionPartitioning = newUnionPartitioning;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING, oldUnionPartitioning, newUnionPartitioning);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getUnionPartitioning <em>Union Partitioning</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Union Partitioning</em>' containment reference.
+ * @see #getUnionPartitioning()
+ * @generated
+ */
+ public void setUnionPartitioning(XmlUnionPartitioning_2_2 newUnionPartitioning)
+ {
+ if (newUnionPartitioning != unionPartitioning)
+ {
+ NotificationChain msgs = null;
+ if (unionPartitioning != null)
+ msgs = ((InternalEObject)unionPartitioning).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING, null, msgs);
+ if (newUnionPartitioning != null)
+ msgs = ((InternalEObject)newUnionPartitioning).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_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, EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING, newUnionPartitioning, newUnionPartitioning));
+ }
+
+ /**
+ * Returns the value of the '<em><b>Partitioned</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partitioned</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partitioned</em>' attribute.
+ * @see #setPartitioned(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioned()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getPartitioned()
+ {
+ return partitioned;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#getPartitioned <em>Partitioned</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partitioned</em>' attribute.
+ * @see #getPartitioned()
+ * @generated
+ */
+ public void setPartitioned(String newPartitioned)
+ {
+ String oldPartitioned = partitioned;
+ partitioned = newPartitioned;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED, oldPartitioned, partitioned));
+ }
+
+ /**
* Returns the value of the '<em><b>Cascade On Delete</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -257,6 +903,41 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
}
/**
+ * Returns the value of the '<em><b>Non Cacheable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Non Cacheable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Non Cacheable</em>' attribute.
+ * @see #setNonCacheable(boolean)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlOneToOne_2_2_NonCacheable()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * @generated
+ */
+ public boolean isNonCacheable()
+ {
+ return nonCacheable;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlOneToOne#isNonCacheable <em>Non Cacheable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Non Cacheable</em>' attribute.
+ * @see #isNonCacheable()
+ * @generated
+ */
+ public void setNonCacheable(boolean newNonCacheable)
+ {
+ boolean oldNonCacheable = nonCacheable;
+ nonCacheable = newNonCacheable;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE, oldNonCacheable, nonCacheable));
+ }
+
+ /**
* Returns the value of the '<em><b>Private Owned</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -424,6 +1105,22 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
{
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH:
return basicSetBatchFetch(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING:
+ return basicSetPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING:
+ return basicSetReplicationPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return basicSetRoundRobinPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING:
+ return basicSetPinnedPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING:
+ return basicSetRangePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING:
+ return basicSetValuePartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING:
+ return basicSetHashPartitioning(null, msgs);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING:
+ return basicSetUnionPartitioning(null, msgs);
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS:
return basicSetAccessMethods(null, msgs);
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES:
@@ -444,8 +1141,28 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
{
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH:
return getBatchFetch();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING:
+ return getPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING:
+ return getReplicationPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return getRoundRobinPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING:
+ return getPinnedPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING:
+ return getRangePartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING:
+ return getValuePartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING:
+ return getHashPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING:
+ return getUnionPartitioning();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED:
+ return getPartitioned();
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE:
return getCascadeOnDelete();
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE:
+ return isNonCacheable();
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS:
return getAccessMethods();
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES:
@@ -472,9 +1189,39 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH:
setBatchFetch((XmlBatchFetch)newValue);
return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)newValue);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED:
+ setPartitioned((String)newValue);
+ return;
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE:
setCascadeOnDelete((Boolean)newValue);
return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE:
+ setNonCacheable((Boolean)newValue);
+ return;
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS:
setAccessMethods((XmlAccessMethods)newValue);
return;
@@ -505,9 +1252,39 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH:
setBatchFetch((XmlBatchFetch)null);
return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING:
+ setPartitioning((XmlPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING:
+ setReplicationPartitioning((XmlReplicationPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ setRoundRobinPartitioning((XmlRoundRobinPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING:
+ setPinnedPartitioning((XmlPinnedPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING:
+ setRangePartitioning((XmlRangePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING:
+ setValuePartitioning((XmlValuePartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING:
+ setHashPartitioning((XmlHashPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING:
+ setUnionPartitioning((XmlUnionPartitioning_2_2)null);
+ return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED:
+ setPartitioned(PARTITIONED_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE:
setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT);
return;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE:
+ setNonCacheable(NON_CACHEABLE_EDEFAULT);
+ return;
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS:
setAccessMethods((XmlAccessMethods)null);
return;
@@ -536,8 +1313,28 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
{
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__BATCH_FETCH:
return batchFetch != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING:
+ return partitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING:
+ return replicationPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING:
+ return roundRobinPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING:
+ return pinnedPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING:
+ return rangePartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING:
+ return valuePartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING:
+ return hashPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING:
+ return unionPartitioning != null;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED:
+ return PARTITIONED_EDEFAULT == null ? partitioned != null : !PARTITIONED_EDEFAULT.equals(partitioned);
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE:
return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete);
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE:
+ return nonCacheable != NON_CACHEABLE_EDEFAULT;
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ACCESS_METHODS:
return accessMethods != null;
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PROPERTIES:
@@ -573,11 +1370,28 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED: return EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlOneToOne_2_2.class)
{
switch (derivedFeatureID)
{
case EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__CASCADE_ON_DELETE;
+ case EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE: return EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__NON_CACHEABLE;
default: return -1;
}
}
@@ -646,11 +1460,28 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
default: return -1;
}
}
+ if (baseClass == XmlPartitioningGroup_2_2.class)
+ {
+ switch (baseFeatureID)
+ {
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__REPLICATION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__REPLICATION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__ROUND_ROBIN_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__ROUND_ROBIN_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PINNED_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PINNED_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__RANGE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__RANGE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__VALUE_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__VALUE_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__HASH_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__HASH_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__UNION_PARTITIONING: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__UNION_PARTITIONING;
+ case EclipseLinkOrmV2_2Package.XML_PARTITIONING_GROUP_22__PARTITIONED: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__PARTITIONED;
+ default: return -1;
+ }
+ }
if (baseClass == XmlOneToOne_2_2.class)
{
switch (baseFeatureID)
{
case EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__CASCADE_ON_DELETE;
+ case EclipseLinkOrmV2_2Package.XML_ONE_TO_ONE_22__NON_CACHEABLE: return EclipseLinkOrmPackage.XML_ONE_TO_ONE__NON_CACHEABLE;
default: return -1;
}
}
@@ -707,8 +1538,12 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
- result.append(" (cascadeOnDelete: ");
+ result.append(" (partitioned: ");
+ result.append(partitioned);
+ result.append(", cascadeOnDelete: ");
result.append(cascadeOnDelete);
+ result.append(", nonCacheable: ");
+ result.append(nonCacheable);
result.append(", privateOwned: ");
result.append(privateOwned);
result.append(", joinFetch: ");
@@ -784,4 +1619,8 @@ public class XmlOneToOne extends org.eclipse.jpt.core.resource.orm.XmlOneToOne i
return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlOneToOne_2_2_CascadeOnDelete());
}
+ protected static Translator buildJoinTableTranslator() {
+ return XmlJoinTable.buildTranslator(JPA.JOIN_TABLE, OrmPackage.eINSTANCE.getXmlJoinTableMapping_JoinTable());
+ }
+
}
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlPartitioning.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlPartitioning.java
new file mode 100644
index 0000000000..30552497a0
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlPartitioning.java
@@ -0,0 +1,220 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.xml.AbstractJpaEObject;
+
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Partitioning</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlPartitioning extends AbstractJpaEObject implements XmlPartitioning_2_2
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlPartitioning()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_PARTITIONING;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioning_2_2_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPartitioning#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PARTITIONING__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_PARTITIONING__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_PARTITIONING__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_PARTITIONING__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_PARTITIONING__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ********** translators **********
+
+ public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) {
+ return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildNameTranslator(),
+ };
+ }
+
+ protected static Translator buildNameTranslator() {
+ return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE);
+ }
+
+} // XmlPartitioning
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlPinnedPartitioning.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlPinnedPartitioning.java
new file mode 100644
index 0000000000..467a7cb97c
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlPinnedPartitioning.java
@@ -0,0 +1,219 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.xml.AbstractJpaEObject;
+
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Pinned Partitioning</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlPinnedPartitioning extends AbstractJpaEObject implements XmlPinnedPartitioning_2_2
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlPinnedPartitioning()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_PINNED_PARTITIONING;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPinnedPartitioning_2_2_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlPinnedPartitioning#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_PINNED_PARTITIONING__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ********** translators **********
+
+ public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) {
+ return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildNameTranslator()
+ };
+ }
+
+ protected static Translator buildNameTranslator() {
+ return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPinnedPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE);
+ }
+} // XmlPinnedPartitioning
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlRangePartitioning.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlRangePartitioning.java
new file mode 100644
index 0000000000..5706236290
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlRangePartitioning.java
@@ -0,0 +1,219 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.xml.AbstractJpaEObject;
+
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Range Partitioning</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlRangePartitioning extends AbstractJpaEObject implements XmlRangePartitioning_2_2
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlRangePartitioning()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_RANGE_PARTITIONING;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRangePartitioning_2_2_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlRangePartitioning#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_RANGE_PARTITIONING__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ********** translators **********
+
+ public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) {
+ return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildNameTranslator()
+ };
+ }
+
+ protected static Translator buildNameTranslator() {
+ return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlRangePartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE);
+ }
+} // XmlRangePartitioning
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlReplicationPartitioning.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlReplicationPartitioning.java
new file mode 100644
index 0000000000..9aee82a293
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlReplicationPartitioning.java
@@ -0,0 +1,219 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.xml.AbstractJpaEObject;
+
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Replication Partitioning</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlReplicationPartitioning extends AbstractJpaEObject implements XmlReplicationPartitioning_2_2
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlReplicationPartitioning()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_REPLICATION_PARTITIONING;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReplicationPartitioning_2_2_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlReplicationPartitioning#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_REPLICATION_PARTITIONING__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ********** translators **********
+
+ public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) {
+ return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildNameTranslator(),
+ };
+ }
+
+ protected static Translator buildNameTranslator() {
+ return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlReplicationPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE);
+ }
+} // XmlReplicationPartitioning
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java
new file mode 100644
index 0000000000..505caf43d4
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java
@@ -0,0 +1,219 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.core.resource.orm.JPA;
+import org.eclipse.jpt.core.resource.xml.AbstractJpaEObject;
+
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Round Robin Partitioning</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlRoundRobinPartitioning extends AbstractJpaEObject implements XmlRoundRobinPartitioning_2_2
+{
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ 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
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlRoundRobinPartitioning()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_ROUND_ROBIN_PARTITIONING;
+ }
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlRoundRobinPartitioning_2_2_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets the value of the '{@link org.eclipse.jpt.eclipselink.core.resource.orm.XmlRoundRobinPartitioning#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ public void setName(String newName)
+ {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case EclipseLinkOrmPackage.XML_ROUND_ROBIN_PARTITIONING__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+ // ********** translators **********
+
+ public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) {
+ return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildNameTranslator()
+ };
+ }
+
+ protected static Translator buildNameTranslator() {
+ return new Translator(JPA.NAME, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlRoundRobinPartitioning_2_2_Name(), Translator.DOM_ATTRIBUTE);
+ }
+} // XmlRoundRobinPartitioning
diff --git a/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlSecondaryTable.java b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlSecondaryTable.java
new file mode 100644
index 0000000000..0e910ec006
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.eclipselink.core/src/org/eclipse/jpt/eclipselink/core/resource/orm/XmlSecondaryTable.java
@@ -0,0 +1,262 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Oracle. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0, which accompanies this distribution
+ * and is available at http://www.eclipse.org/legal/epl-v10.html.
+ *
+ * Contributors:
+ * Oracle - initial API and implementation
+ ******************************************************************************/
+package org.eclipse.jpt.eclipselink.core.resource.orm;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLink2_2;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package;
+import org.eclipse.jpt.eclipselink.core.resource.orm.v2_2.XmlSecondaryTable_2_2;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xml Secondary Table</b></em>'.
+ *
+ * Provisional API: This interface is part of an interim API that is still
+ * under development and expected to change significantly before reaching
+ * stability. It is available at this early stage to solicit feedback from
+ * pioneering adopters on the understanding that any code that uses this API
+ * will almost certainly be broken (repeatedly) as the API evolves.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.jpt.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlSecondaryTable()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlSecondaryTable extends org.eclipse.jpt.core.resource.orm.XmlSecondaryTable implements XmlSecondaryTable_2_2
+{
+ /**
+ * The default value of the '{@link #getCreationSuffix() <em>Creation Suffix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreationSuffix()
+ * @generated
+ * @ordered
+ */
+ protected static final String CREATION_SUFFIX_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCreationSuffix() <em>Creation Suffix</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreationSuffix()
+ * @generated
+ * @ordered
+ */
+ protected String creationSuffix = CREATION_SUFFIX_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XmlSecondaryTable()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Ove