From a86920a2f3bf99fab903a470776c96a4670bcf72 Mon Sep 17 00:00:00 2001
From: Karen Butzke
Date: Thu, 15 Nov 2012 11:32:21 -0500
Subject: jpt.jpa.eclipselink.core move EMF generated code to model/src
---
.../.classpath | 5 +
.../build.properties | 3 +-
.../model/eclipseLinkResourceModels.genmodel | 11 +-
.../eclipselink/core/resource/orm/Attributes.java | 535 +
.../core/resource/orm/CacheCoordinationType.java | 295 +
.../eclipselink/core/resource/orm/CacheType.java | 373 +
.../core/resource/orm/EclipseLinkOrmFactory.java | 1259 ++
.../core/resource/orm/EclipseLinkOrmPackage.java | 13527 +++++++++++++++++++
.../core/resource/orm/ExistenceType.java | 295 +
.../core/resource/orm/XmlAccessMethods.java | 301 +
.../core/resource/orm/XmlAccessMethodsHolder.java | 60 +
.../core/resource/orm/XmlAdditionalCriteria.java | 221 +
.../eclipselink/core/resource/orm/XmlArray.java | 1328 ++
.../core/resource/orm/XmlAttributeMapping.java | 80 +
.../eclipselink/core/resource/orm/XmlBasic.java | 1772 +++
.../core/resource/orm/XmlBasicCollection.java | 543 +
.../eclipselink/core/resource/orm/XmlBasicMap.java | 543 +
.../core/resource/orm/XmlBatchFetch.java | 296 +
.../core/resource/orm/XmlBatchFetchHolder.java | 68 +
.../eclipselink/core/resource/orm/XmlCache.java | 1029 ++
.../core/resource/orm/XmlCacheHolder.java | 102 +
.../core/resource/orm/XmlCacheIndex.java | 196 +
.../core/resource/orm/XmlChangeTracking.java | 226 +
.../core/resource/orm/XmlChangeTrackingHolder.java | 71 +
.../core/resource/orm/XmlChangeTrackingType.java | 291 +
.../core/resource/orm/XmlCloneCopyPolicy.java | 299 +
.../core/resource/orm/XmlCollectionTable.java | 262 +
.../core/resource/orm/XmlConversionValue.java | 314 +
.../core/resource/orm/XmlConverter.java | 266 +
.../core/resource/orm/XmlConverterContainer.java | 113 +
.../core/resource/orm/XmlConvertibleMapping.java | 79 +
.../core/resource/orm/XmlCopyPolicy.java | 226 +
.../core/resource/orm/XmlCustomizer.java | 205 +
.../core/resource/orm/XmlCustomizerHolder.java | 72 +
.../core/resource/orm/XmlDirection.java | 294 +
.../core/resource/orm/XmlElementCollection.java | 2423 ++++
.../core/resource/orm/XmlEmbeddable.java | 1728 +++
.../eclipselink/core/resource/orm/XmlEmbedded.java | 583 +
.../core/resource/orm/XmlEmbeddedId.java | 476 +
.../eclipselink/core/resource/orm/XmlEntity.java | 3999 ++++++
.../core/resource/orm/XmlEntityMappings.java | 1449 ++
.../core/resource/orm/XmlFetchAttribute.java | 214 +
.../core/resource/orm/XmlFetchGroup.java | 360 +
.../eclipselink/core/resource/orm/XmlField.java | 220 +
.../core/resource/orm/XmlHashPartitioning.java | 219 +
.../jpa/eclipselink/core/resource/orm/XmlId.java | 1323 ++
.../eclipselink/core/resource/orm/XmlIndex.java | 563 +
.../resource/orm/XmlInstantiationCopyPolicy.java | 74 +
.../core/resource/orm/XmlJoinFetch.java | 79 +
.../core/resource/orm/XmlJoinFetchType.java | 242 +
.../core/resource/orm/XmlJoinField.java | 291 +
.../core/resource/orm/XmlJoinTable.java | 262 +
.../core/resource/orm/XmlManyToMany.java | 2129 +++
.../core/resource/orm/XmlManyToOne.java | 1628 +++
.../core/resource/orm/XmlMappedSuperclass.java | 4136 ++++++
.../core/resource/orm/XmlMultitenant.java | 494 +
.../core/resource/orm/XmlMultitenantHolder.java | 59 +
.../eclipselink/core/resource/orm/XmlMutable.java | 76 +
.../core/resource/orm/XmlNamedConverter.java | 218 +
.../orm/XmlNamedPlsqlStoredFunctionQuery.java | 212 +
.../orm/XmlNamedPlsqlStoredProcedureQuery.java | 212 +
.../resource/orm/XmlNamedStoredFunctionQuery.java | 212 +
.../resource/orm/XmlNamedStoredProcedureQuery.java | 644 +
.../eclipselink/core/resource/orm/XmlNoSql.java | 290 +
.../core/resource/orm/XmlObjectTypeConverter.java | 516 +
.../core/resource/orm/XmlOneToMany.java | 2292 ++++
.../eclipselink/core/resource/orm/XmlOneToOne.java | 1794 +++
.../core/resource/orm/XmlOptimisticLocking.java | 373 +
.../resource/orm/XmlOptimisticLockingType.java | 294 +
.../core/resource/orm/XmlOrderColumn.java | 260 +
.../core/resource/orm/XmlPartitioning.java | 220 +
.../resource/orm/XmlPersistenceUnitDefaults.java | 371 +
.../resource/orm/XmlPersistenceUnitMetadata.java | 233 +
.../core/resource/orm/XmlPinnedPartitioning.java | 219 +
.../core/resource/orm/XmlPlsqlRecord.java | 213 +
.../core/resource/orm/XmlPlsqlTable.java | 213 +
.../core/resource/orm/XmlPrimaryKey.java | 406 +
.../core/resource/orm/XmlPrivateOwned.java | 76 +
.../eclipselink/core/resource/orm/XmlProperty.java | 362 +
.../core/resource/orm/XmlPropertyContainer.java | 51 +
.../core/resource/orm/XmlQueryContainer.java | 51 +
.../core/resource/orm/XmlQueryRedirectors.java | 654 +
.../core/resource/orm/XmlRangePartitioning.java | 219 +
.../eclipselink/core/resource/orm/XmlReadOnly.java | 76 +
.../resource/orm/XmlReplicationPartitioning.java | 219 +
.../core/resource/orm/XmlReturnInsert.java | 211 +
.../resource/orm/XmlRoundRobinPartitioning.java | 219 +
.../core/resource/orm/XmlSecondaryTable.java | 259 +
.../resource/orm/XmlStoredProcedureParameter.java | 590 +
.../eclipselink/core/resource/orm/XmlStruct.java | 212 +
.../core/resource/orm/XmlStructConverter.java | 271 +
.../core/resource/orm/XmlStructure.java | 485 +
.../eclipselink/core/resource/orm/XmlTable.java | 261 +
.../core/resource/orm/XmlTableGenerator.java | 271 +
.../resource/orm/XmlTenantDiscriminatorColumn.java | 414 +
.../resource/orm/XmlTenantTableDiscriminator.java | 296 +
.../core/resource/orm/XmlTimeOfDay.java | 446 +
.../core/resource/orm/XmlTransformation.java | 480 +
.../core/resource/orm/XmlTransient.java | 442 +
.../core/resource/orm/XmlTypeConverter.java | 369 +
.../core/resource/orm/XmlTypeMapping.java | 26 +
.../core/resource/orm/XmlUnionPartitioning.java | 219 +
.../core/resource/orm/XmlUuidGenerator.java | 442 +
.../core/resource/orm/XmlValuePartitioning.java | 219 +
.../core/resource/orm/XmlVariableOneToOne.java | 1393 ++
.../eclipselink/core/resource/orm/XmlVersion.java | 1004 ++
.../orm/v1_1/EclipseLinkOrmV1_1Factory.java | 166 +
.../orm/v1_1/EclipseLinkOrmV1_1Package.java | 694 +
.../resource/orm/v1_1/IdValidationType_1_1.java | 257 +
.../core/resource/orm/v1_1/XmlBasic_1_1.java | 61 +
.../core/resource/orm/v1_1/XmlEntity_1_1.java | 62 +
.../resource/orm/v1_1/XmlMappedSuperclass_1_1.java | 62 +
.../core/resource/orm/v1_1/XmlPrimaryKey_1_1.java | 83 +
.../orm/v2_0/EclipseLinkOrmV2_0Factory.java | 166 +
.../orm/v2_0/EclipseLinkOrmV2_0Package.java | 1531 +++
.../resource/orm/v2_0/OrderCorrectionType_2_0.java | 257 +
.../resource/orm/v2_0/XmlCacheInterceptor_2_0.java | 65 +
.../orm/v2_0/XmlCollectionMapping_2_0.java | 66 +
.../orm/v2_0/XmlElementCollection_2_0.java | 35 +
.../core/resource/orm/v2_0/XmlEntity_2_0.java | 94 +
.../core/resource/orm/v2_0/XmlManyToMany_2_0.java | 33 +
.../XmlMapKeyAssociationOverrideContainer_2_0.java | 58 +
.../resource/orm/v2_0/XmlMappedSuperclass_2_0.java | 66 +
.../core/resource/orm/v2_0/XmlOneToMany_2_0.java | 33 +
.../core/resource/orm/v2_0/XmlOrderColumn_2_0.java | 70 +
.../resource/orm/v2_0/XmlQueryRedirectors_2_0.java | 227 +
.../core/resource/orm/v2_1/BatchFetchType_2_1.java | 265 +
.../core/resource/orm/v2_1/CacheKeyType_2_1.java | 258 +
.../core/resource/orm/v2_1/EclipseLink2_1.java | 39 +
.../orm/v2_1/EclipseLinkOrmV2_1Factory.java | 192 +
.../orm/v2_1/EclipseLinkOrmV2_1Package.java | 1973 +++
.../core/resource/orm/v2_1/XmlBasic_2_1.java | 97 +
.../core/resource/orm/v2_1/XmlBatchFetch_2_1.java | 98 +
.../orm/v2_1/XmlElementCollection_2_1.java | 37 +
.../resource/orm/v2_1/XmlEntityMappings_2_1.java | 35 +
.../core/resource/orm/v2_1/XmlEntity_2_1.java | 69 +
.../resource/orm/v2_1/XmlFetchAttribute_2_1.java | 61 +
.../orm/v2_1/XmlFetchGroupContainer_2_1.java | 53 +
.../core/resource/orm/v2_1/XmlFetchGroup_2_1.java | 107 +
.../core/resource/orm/v2_1/XmlManyToMany_2_1.java | 36 +
.../core/resource/orm/v2_1/XmlManyToOne_2_1.java | 35 +
.../resource/orm/v2_1/XmlMappedSuperclass_2_1.java | 92 +
.../core/resource/orm/v2_1/XmlOneToMany_2_1.java | 36 +
.../core/resource/orm/v2_1/XmlOneToOne_2_1.java | 35 +
.../orm/v2_1/XmlPersistenceUnitDefaults_2_1.java | 35 +
.../core/resource/orm/v2_1/XmlPrimaryKey_2_1.java | 64 +
.../resource/orm/v2_1/XmlReturnInsert_2_1.java | 61 +
.../core/resource/orm/v2_1/XmlTypeMapping_2_1.java | 61 +
.../core/resource/orm/v2_2/CacheIsolationType.java | 256 +
.../orm/v2_2/EclipseLinkOrmV2_2Factory.java | 170 +
.../orm/v2_2/EclipseLinkOrmV2_2Package.java | 4614 +++++++
.../orm/v2_2/XmlAdditionalCriteria_2_2.java | 65 +
.../resource/orm/v2_2/XmlBasicCollection_2_2.java | 65 +
.../core/resource/orm/v2_2/XmlBasicMap_2_2.java | 65 +
.../core/resource/orm/v2_2/XmlBasic_2_2.java | 65 +
.../core/resource/orm/v2_2/XmlCache_2_2.java | 63 +
.../resource/orm/v2_2/XmlCollectionTable_2_2.java | 65 +
.../orm/v2_2/XmlElementCollection_2_2.java | 90 +
.../core/resource/orm/v2_2/XmlEmbeddable_2_2.java | 34 +
.../resource/orm/v2_2/XmlEntityMappings_2_2.java | 175 +
.../core/resource/orm/v2_2/XmlEntity_2_2.java | 117 +
.../resource/orm/v2_2/XmlHashPartitioning_2_2.java | 65 +
.../core/resource/orm/v2_2/XmlId_2_2.java | 56 +
.../core/resource/orm/v2_2/XmlIndex_2_2.java | 191 +
.../core/resource/orm/v2_2/XmlJoinTable_2_2.java | 65 +
.../core/resource/orm/v2_2/XmlManyToMany_2_2.java | 90 +
.../core/resource/orm/v2_2/XmlManyToOne_2_2.java | 63 +
.../resource/orm/v2_2/XmlMappedSuperclass_2_2.java | 63 +
.../core/resource/orm/v2_2/XmlOneToMany_2_2.java | 90 +
.../core/resource/orm/v2_2/XmlOneToOne_2_2.java | 90 +
.../orm/v2_2/XmlPartitioningGroup_2_2.java | 281 +
.../resource/orm/v2_2/XmlPartitioning_2_2.java | 65 +
.../orm/v2_2/XmlPinnedPartitioning_2_2.java | 65 +
.../orm/v2_2/XmlRangePartitioning_2_2.java | 65 +
.../orm/v2_2/XmlReplicationPartitioning_2_2.java | 65 +
.../orm/v2_2/XmlRoundRobinPartitioning_2_2.java | 65 +
.../resource/orm/v2_2/XmlSecondaryTable_2_2.java | 65 +
.../resource/orm/v2_2/XmlTableGenerator_2_2.java | 65 +
.../core/resource/orm/v2_2/XmlTable_2_2.java | 65 +
.../orm/v2_2/XmlUnionPartitioning_2_2.java | 65 +
.../orm/v2_2/XmlValuePartitioning_2_2.java | 65 +
.../resource/orm/v2_2/XmlVariableOneToOne_2_2.java | 63 +
.../core/resource/orm/v2_2/XmlVersion_2_2.java | 65 +
.../orm/v2_3/EclipseLinkOrmV2_3Factory.java | 164 +
.../orm/v2_3/EclipseLinkOrmV2_3Package.java | 2605 ++++
.../core/resource/orm/v2_3/MultitenantType.java | 254 +
.../core/resource/orm/v2_3/XmlArray_2_3.java | 87 +
.../core/resource/orm/v2_3/XmlAttributes_2_3.java | 67 +
.../orm/v2_3/XmlElementCollection_2_3.java | 56 +
.../core/resource/orm/v2_3/XmlEmbeddable_2_3.java | 95 +
.../resource/orm/v2_3/XmlEntityMappings_2_3.java | 136 +
.../core/resource/orm/v2_3/XmlEntity_2_3.java | 145 +
.../resource/orm/v2_3/XmlMappedSuperclass_2_3.java | 118 +
.../core/resource/orm/v2_3/XmlMultitenant_2_3.java | 80 +
.../v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java | 59 +
.../XmlNamedPlsqlStoredProcedureQuery_2_3.java | 59 +
.../orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java | 59 +
.../orm/v2_3/XmlPersistenceUnitDefaults_2_3.java | 50 +
.../core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java | 59 +
.../core/resource/orm/v2_3/XmlPlsqlTable_2_3.java | 59 +
.../core/resource/orm/v2_3/XmlStruct_2_3.java | 59 +
.../core/resource/orm/v2_3/XmlStructure_2_3.java | 27 +
.../orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java | 118 +
.../core/resource/orm/v2_4/DataFormatType.java | 262 +
.../orm/v2_4/DatabaseChangeNotificationType.java | 229 +
.../orm/v2_4/EclipseLinkOrmV2_4Factory.java | 216 +
.../orm/v2_4/EclipseLinkOrmV2_4Package.java | 2678 ++++
.../orm/v2_4/TenantTableDiscriminatorType.java | 262 +
.../core/resource/orm/v2_4/XmlBasic_2_4.java | 84 +
.../core/resource/orm/v2_4/XmlCacheIndex_2_4.java | 50 +
.../core/resource/orm/v2_4/XmlCache_2_4.java | 63 +
.../orm/v2_4/XmlElementCollection_2_4.java | 86 +
.../core/resource/orm/v2_4/XmlEmbeddable_2_4.java | 65 +
.../core/resource/orm/v2_4/XmlEmbedded_2_4.java | 65 +
.../resource/orm/v2_4/XmlEntityMappings_2_4.java | 56 +
.../core/resource/orm/v2_4/XmlEntity_2_4.java | 83 +
.../core/resource/orm/v2_4/XmlField_2_4.java | 65 +
.../orm/v2_4/XmlGeneratorContainer2_4.java | 58 +
.../core/resource/orm/v2_4/XmlId_2_4.java | 83 +
.../core/resource/orm/v2_4/XmlJoinField_2_4.java | 92 +
.../core/resource/orm/v2_4/XmlManyToMany_2_4.java | 56 +
.../core/resource/orm/v2_4/XmlManyToOne_2_4.java | 56 +
.../resource/orm/v2_4/XmlMappedSuperclass_2_4.java | 56 +
.../core/resource/orm/v2_4/XmlMultitenant_2_4.java | 89 +
.../core/resource/orm/v2_4/XmlNoSql_2_4.java | 96 +
.../core/resource/orm/v2_4/XmlOneToMany_2_4.java | 77 +
.../core/resource/orm/v2_4/XmlOneToOne_2_4.java | 56 +
.../orm/v2_4/XmlTenantTableDiscriminator_2_4.java | 95 +
.../resource/orm/v2_4/XmlUuidGenerator_2_4.java | 33 +
.../eclipselink/core/resource/orm/Attributes.java | 535 -
.../core/resource/orm/CacheCoordinationType.java | 295 -
.../eclipselink/core/resource/orm/CacheType.java | 373 -
.../core/resource/orm/EclipseLinkOrmFactory.java | 1259 --
.../core/resource/orm/EclipseLinkOrmPackage.java | 13527 -------------------
.../core/resource/orm/ExistenceType.java | 295 -
.../core/resource/orm/XmlAccessMethods.java | 301 -
.../core/resource/orm/XmlAccessMethodsHolder.java | 60 -
.../core/resource/orm/XmlAdditionalCriteria.java | 221 -
.../eclipselink/core/resource/orm/XmlArray.java | 1328 --
.../core/resource/orm/XmlAttributeMapping.java | 80 -
.../eclipselink/core/resource/orm/XmlBasic.java | 1772 ---
.../core/resource/orm/XmlBasicCollection.java | 543 -
.../eclipselink/core/resource/orm/XmlBasicMap.java | 543 -
.../core/resource/orm/XmlBatchFetch.java | 296 -
.../core/resource/orm/XmlBatchFetchHolder.java | 68 -
.../eclipselink/core/resource/orm/XmlCache.java | 1029 --
.../core/resource/orm/XmlCacheHolder.java | 102 -
.../core/resource/orm/XmlCacheIndex.java | 196 -
.../core/resource/orm/XmlChangeTracking.java | 226 -
.../core/resource/orm/XmlChangeTrackingHolder.java | 71 -
.../core/resource/orm/XmlChangeTrackingType.java | 291 -
.../core/resource/orm/XmlCloneCopyPolicy.java | 299 -
.../core/resource/orm/XmlCollectionTable.java | 262 -
.../core/resource/orm/XmlConversionValue.java | 314 -
.../core/resource/orm/XmlConverter.java | 266 -
.../core/resource/orm/XmlConverterContainer.java | 113 -
.../core/resource/orm/XmlConvertibleMapping.java | 79 -
.../core/resource/orm/XmlCopyPolicy.java | 226 -
.../core/resource/orm/XmlCustomizer.java | 205 -
.../core/resource/orm/XmlCustomizerHolder.java | 72 -
.../core/resource/orm/XmlDirection.java | 294 -
.../core/resource/orm/XmlElementCollection.java | 2423 ----
.../core/resource/orm/XmlEmbeddable.java | 1728 ---
.../eclipselink/core/resource/orm/XmlEmbedded.java | 583 -
.../core/resource/orm/XmlEmbeddedId.java | 476 -
.../eclipselink/core/resource/orm/XmlEntity.java | 3999 ------
.../core/resource/orm/XmlEntityMappings.java | 1449 --
.../core/resource/orm/XmlFetchAttribute.java | 214 -
.../core/resource/orm/XmlFetchGroup.java | 360 -
.../eclipselink/core/resource/orm/XmlField.java | 220 -
.../core/resource/orm/XmlHashPartitioning.java | 219 -
.../jpa/eclipselink/core/resource/orm/XmlId.java | 1323 --
.../eclipselink/core/resource/orm/XmlIndex.java | 563 -
.../resource/orm/XmlInstantiationCopyPolicy.java | 74 -
.../core/resource/orm/XmlJoinFetch.java | 79 -
.../core/resource/orm/XmlJoinFetchType.java | 242 -
.../core/resource/orm/XmlJoinField.java | 291 -
.../core/resource/orm/XmlJoinTable.java | 262 -
.../core/resource/orm/XmlManyToMany.java | 2129 ---
.../core/resource/orm/XmlManyToOne.java | 1628 ---
.../core/resource/orm/XmlMappedSuperclass.java | 4136 ------
.../core/resource/orm/XmlMultitenant.java | 494 -
.../core/resource/orm/XmlMultitenantHolder.java | 59 -
.../eclipselink/core/resource/orm/XmlMutable.java | 76 -
.../core/resource/orm/XmlNamedConverter.java | 218 -
.../orm/XmlNamedPlsqlStoredFunctionQuery.java | 212 -
.../orm/XmlNamedPlsqlStoredProcedureQuery.java | 212 -
.../resource/orm/XmlNamedStoredFunctionQuery.java | 212 -
.../resource/orm/XmlNamedStoredProcedureQuery.java | 644 -
.../eclipselink/core/resource/orm/XmlNoSql.java | 290 -
.../core/resource/orm/XmlObjectTypeConverter.java | 516 -
.../core/resource/orm/XmlOneToMany.java | 2292 ----
.../eclipselink/core/resource/orm/XmlOneToOne.java | 1794 ---
.../core/resource/orm/XmlOptimisticLocking.java | 373 -
.../resource/orm/XmlOptimisticLockingType.java | 294 -
.../core/resource/orm/XmlOrderColumn.java | 260 -
.../core/resource/orm/XmlPartitioning.java | 220 -
.../resource/orm/XmlPersistenceUnitDefaults.java | 371 -
.../resource/orm/XmlPersistenceUnitMetadata.java | 233 -
.../core/resource/orm/XmlPinnedPartitioning.java | 219 -
.../core/resource/orm/XmlPlsqlRecord.java | 213 -
.../core/resource/orm/XmlPlsqlTable.java | 213 -
.../core/resource/orm/XmlPrimaryKey.java | 406 -
.../core/resource/orm/XmlPrivateOwned.java | 76 -
.../eclipselink/core/resource/orm/XmlProperty.java | 362 -
.../core/resource/orm/XmlPropertyContainer.java | 51 -
.../core/resource/orm/XmlQueryContainer.java | 51 -
.../core/resource/orm/XmlQueryRedirectors.java | 654 -
.../core/resource/orm/XmlRangePartitioning.java | 219 -
.../eclipselink/core/resource/orm/XmlReadOnly.java | 76 -
.../resource/orm/XmlReplicationPartitioning.java | 219 -
.../core/resource/orm/XmlReturnInsert.java | 211 -
.../resource/orm/XmlRoundRobinPartitioning.java | 219 -
.../core/resource/orm/XmlSecondaryTable.java | 259 -
.../resource/orm/XmlStoredProcedureParameter.java | 590 -
.../eclipselink/core/resource/orm/XmlStruct.java | 212 -
.../core/resource/orm/XmlStructConverter.java | 271 -
.../core/resource/orm/XmlStructure.java | 485 -
.../eclipselink/core/resource/orm/XmlTable.java | 261 -
.../core/resource/orm/XmlTableGenerator.java | 271 -
.../resource/orm/XmlTenantDiscriminatorColumn.java | 414 -
.../resource/orm/XmlTenantTableDiscriminator.java | 296 -
.../core/resource/orm/XmlTimeOfDay.java | 446 -
.../core/resource/orm/XmlTransformation.java | 480 -
.../core/resource/orm/XmlTransient.java | 442 -
.../core/resource/orm/XmlTypeConverter.java | 369 -
.../core/resource/orm/XmlTypeMapping.java | 26 -
.../core/resource/orm/XmlUnionPartitioning.java | 219 -
.../core/resource/orm/XmlUuidGenerator.java | 442 -
.../core/resource/orm/XmlValuePartitioning.java | 219 -
.../core/resource/orm/XmlVariableOneToOne.java | 1393 --
.../eclipselink/core/resource/orm/XmlVersion.java | 1004 --
.../orm/v1_1/EclipseLinkOrmV1_1Factory.java | 166 -
.../orm/v1_1/EclipseLinkOrmV1_1Package.java | 694 -
.../resource/orm/v1_1/IdValidationType_1_1.java | 257 -
.../core/resource/orm/v1_1/XmlBasic_1_1.java | 61 -
.../core/resource/orm/v1_1/XmlEntity_1_1.java | 62 -
.../resource/orm/v1_1/XmlMappedSuperclass_1_1.java | 62 -
.../core/resource/orm/v1_1/XmlPrimaryKey_1_1.java | 83 -
.../orm/v2_0/EclipseLinkOrmV2_0Factory.java | 166 -
.../orm/v2_0/EclipseLinkOrmV2_0Package.java | 1531 ---
.../resource/orm/v2_0/OrderCorrectionType_2_0.java | 257 -
.../resource/orm/v2_0/XmlCacheInterceptor_2_0.java | 65 -
.../orm/v2_0/XmlCollectionMapping_2_0.java | 66 -
.../orm/v2_0/XmlElementCollection_2_0.java | 35 -
.../core/resource/orm/v2_0/XmlEntity_2_0.java | 94 -
.../core/resource/orm/v2_0/XmlManyToMany_2_0.java | 33 -
.../XmlMapKeyAssociationOverrideContainer_2_0.java | 58 -
.../resource/orm/v2_0/XmlMappedSuperclass_2_0.java | 66 -
.../core/resource/orm/v2_0/XmlOneToMany_2_0.java | 33 -
.../core/resource/orm/v2_0/XmlOrderColumn_2_0.java | 70 -
.../resource/orm/v2_0/XmlQueryRedirectors_2_0.java | 227 -
.../core/resource/orm/v2_1/BatchFetchType_2_1.java | 265 -
.../core/resource/orm/v2_1/CacheKeyType_2_1.java | 258 -
.../core/resource/orm/v2_1/EclipseLink2_1.java | 39 -
.../orm/v2_1/EclipseLinkOrmV2_1Factory.java | 192 -
.../orm/v2_1/EclipseLinkOrmV2_1Package.java | 1973 ---
.../core/resource/orm/v2_1/XmlBasic_2_1.java | 97 -
.../core/resource/orm/v2_1/XmlBatchFetch_2_1.java | 98 -
.../orm/v2_1/XmlElementCollection_2_1.java | 37 -
.../resource/orm/v2_1/XmlEntityMappings_2_1.java | 35 -
.../core/resource/orm/v2_1/XmlEntity_2_1.java | 69 -
.../resource/orm/v2_1/XmlFetchAttribute_2_1.java | 61 -
.../orm/v2_1/XmlFetchGroupContainer_2_1.java | 53 -
.../core/resource/orm/v2_1/XmlFetchGroup_2_1.java | 107 -
.../core/resource/orm/v2_1/XmlManyToMany_2_1.java | 36 -
.../core/resource/orm/v2_1/XmlManyToOne_2_1.java | 35 -
.../resource/orm/v2_1/XmlMappedSuperclass_2_1.java | 92 -
.../core/resource/orm/v2_1/XmlOneToMany_2_1.java | 36 -
.../core/resource/orm/v2_1/XmlOneToOne_2_1.java | 35 -
.../orm/v2_1/XmlPersistenceUnitDefaults_2_1.java | 35 -
.../core/resource/orm/v2_1/XmlPrimaryKey_2_1.java | 64 -
.../resource/orm/v2_1/XmlReturnInsert_2_1.java | 61 -
.../core/resource/orm/v2_1/XmlTypeMapping_2_1.java | 61 -
.../core/resource/orm/v2_2/CacheIsolationType.java | 256 -
.../orm/v2_2/EclipseLinkOrmV2_2Factory.java | 170 -
.../orm/v2_2/EclipseLinkOrmV2_2Package.java | 4614 -------
.../orm/v2_2/XmlAdditionalCriteria_2_2.java | 65 -
.../resource/orm/v2_2/XmlBasicCollection_2_2.java | 65 -
.../core/resource/orm/v2_2/XmlBasicMap_2_2.java | 65 -
.../core/resource/orm/v2_2/XmlBasic_2_2.java | 65 -
.../core/resource/orm/v2_2/XmlCache_2_2.java | 63 -
.../resource/orm/v2_2/XmlCollectionTable_2_2.java | 65 -
.../orm/v2_2/XmlElementCollection_2_2.java | 90 -
.../core/resource/orm/v2_2/XmlEmbeddable_2_2.java | 34 -
.../resource/orm/v2_2/XmlEntityMappings_2_2.java | 175 -
.../core/resource/orm/v2_2/XmlEntity_2_2.java | 117 -
.../resource/orm/v2_2/XmlHashPartitioning_2_2.java | 65 -
.../core/resource/orm/v2_2/XmlId_2_2.java | 56 -
.../core/resource/orm/v2_2/XmlIndex_2_2.java | 191 -
.../core/resource/orm/v2_2/XmlJoinTable_2_2.java | 65 -
.../core/resource/orm/v2_2/XmlManyToMany_2_2.java | 90 -
.../core/resource/orm/v2_2/XmlManyToOne_2_2.java | 63 -
.../resource/orm/v2_2/XmlMappedSuperclass_2_2.java | 63 -
.../core/resource/orm/v2_2/XmlOneToMany_2_2.java | 90 -
.../core/resource/orm/v2_2/XmlOneToOne_2_2.java | 90 -
.../orm/v2_2/XmlPartitioningGroup_2_2.java | 281 -
.../resource/orm/v2_2/XmlPartitioning_2_2.java | 65 -
.../orm/v2_2/XmlPinnedPartitioning_2_2.java | 65 -
.../orm/v2_2/XmlRangePartitioning_2_2.java | 65 -
.../orm/v2_2/XmlReplicationPartitioning_2_2.java | 65 -
.../orm/v2_2/XmlRoundRobinPartitioning_2_2.java | 65 -
.../resource/orm/v2_2/XmlSecondaryTable_2_2.java | 65 -
.../resource/orm/v2_2/XmlTableGenerator_2_2.java | 65 -
.../core/resource/orm/v2_2/XmlTable_2_2.java | 65 -
.../orm/v2_2/XmlUnionPartitioning_2_2.java | 65 -
.../orm/v2_2/XmlValuePartitioning_2_2.java | 65 -
.../resource/orm/v2_2/XmlVariableOneToOne_2_2.java | 63 -
.../core/resource/orm/v2_2/XmlVersion_2_2.java | 65 -
.../orm/v2_3/EclipseLinkOrmV2_3Factory.java | 164 -
.../orm/v2_3/EclipseLinkOrmV2_3Package.java | 2605 ----
.../core/resource/orm/v2_3/MultitenantType.java | 254 -
.../core/resource/orm/v2_3/XmlArray_2_3.java | 87 -
.../core/resource/orm/v2_3/XmlAttributes_2_3.java | 67 -
.../orm/v2_3/XmlElementCollection_2_3.java | 56 -
.../core/resource/orm/v2_3/XmlEmbeddable_2_3.java | 95 -
.../resource/orm/v2_3/XmlEntityMappings_2_3.java | 136 -
.../core/resource/orm/v2_3/XmlEntity_2_3.java | 145 -
.../resource/orm/v2_3/XmlMappedSuperclass_2_3.java | 118 -
.../core/resource/orm/v2_3/XmlMultitenant_2_3.java | 80 -
.../v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java | 59 -
.../XmlNamedPlsqlStoredProcedureQuery_2_3.java | 59 -
.../orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java | 59 -
.../orm/v2_3/XmlPersistenceUnitDefaults_2_3.java | 50 -
.../core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java | 59 -
.../core/resource/orm/v2_3/XmlPlsqlTable_2_3.java | 59 -
.../core/resource/orm/v2_3/XmlStruct_2_3.java | 59 -
.../core/resource/orm/v2_3/XmlStructure_2_3.java | 27 -
.../orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java | 118 -
.../core/resource/orm/v2_4/DataFormatType.java | 262 -
.../orm/v2_4/DatabaseChangeNotificationType.java | 229 -
.../orm/v2_4/EclipseLinkOrmV2_4Factory.java | 216 -
.../orm/v2_4/EclipseLinkOrmV2_4Package.java | 2678 ----
.../orm/v2_4/TenantTableDiscriminatorType.java | 262 -
.../core/resource/orm/v2_4/XmlBasic_2_4.java | 84 -
.../core/resource/orm/v2_4/XmlCacheIndex_2_4.java | 50 -
.../core/resource/orm/v2_4/XmlCache_2_4.java | 63 -
.../orm/v2_4/XmlElementCollection_2_4.java | 86 -
.../core/resource/orm/v2_4/XmlEmbeddable_2_4.java | 65 -
.../core/resource/orm/v2_4/XmlEmbedded_2_4.java | 65 -
.../resource/orm/v2_4/XmlEntityMappings_2_4.java | 56 -
.../core/resource/orm/v2_4/XmlEntity_2_4.java | 83 -
.../core/resource/orm/v2_4/XmlField_2_4.java | 65 -
.../orm/v2_4/XmlGeneratorContainer2_4.java | 58 -
.../core/resource/orm/v2_4/XmlId_2_4.java | 83 -
.../core/resource/orm/v2_4/XmlJoinField_2_4.java | 92 -
.../core/resource/orm/v2_4/XmlManyToMany_2_4.java | 56 -
.../core/resource/orm/v2_4/XmlManyToOne_2_4.java | 56 -
.../resource/orm/v2_4/XmlMappedSuperclass_2_4.java | 56 -
.../core/resource/orm/v2_4/XmlMultitenant_2_4.java | 89 -
.../core/resource/orm/v2_4/XmlNoSql_2_4.java | 96 -
.../core/resource/orm/v2_4/XmlOneToMany_2_4.java | 77 -
.../core/resource/orm/v2_4/XmlOneToOne_2_4.java | 56 -
.../orm/v2_4/XmlTenantTableDiscriminator_2_4.java | 95 -
.../resource/orm/v2_4/XmlUuidGenerator_2_4.java | 33 -
455 files changed, 92978 insertions(+), 92971 deletions(-)
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/Attributes.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheCoordinationType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/ExistenceType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethods.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethodsHolder.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAdditionalCriteria.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlArray.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAttributeMapping.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasic.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicCollection.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicMap.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetch.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetchHolder.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCache.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheHolder.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTracking.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingHolder.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCloneCopyPolicy.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCollectionTable.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConversionValue.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverter.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverterContainer.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConvertibleMapping.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCopyPolicy.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizer.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizerHolder.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlDirection.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddable.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbedded.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddedId.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntity.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntityMappings.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchAttribute.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchGroup.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlField.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlHashPartitioning.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlId.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlIndex.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlInstantiationCopyPolicy.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetch.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetchType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinField.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinTable.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToMany.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToOne.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMappedSuperclass.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenant.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenantHolder.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMutable.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedConverter.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredFunctionQuery.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredProcedureQuery.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredFunctionQuery.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredProcedureQuery.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNoSql.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlObjectTypeConverter.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToMany.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToOne.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLocking.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLockingType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOrderColumn.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPartitioning.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitDefaults.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitMetadata.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPinnedPartitioning.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlRecord.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlTable.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrimaryKey.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrivateOwned.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlProperty.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPropertyContainer.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryContainer.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryRedirectors.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRangePartitioning.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReadOnly.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReplicationPartitioning.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReturnInsert.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlSecondaryTable.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStoredProcedureParameter.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStruct.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructConverter.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructure.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTable.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTableGenerator.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantDiscriminatorColumn.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantTableDiscriminator.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTimeOfDay.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransformation.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransient.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeConverter.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeMapping.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUnionPartitioning.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUuidGenerator.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlValuePartitioning.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVariableOneToOne.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVersion.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Factory.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Package.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/IdValidationType_1_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlBasic_1_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlEntity_1_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlMappedSuperclass_1_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlPrimaryKey_1_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/OrderCorrectionType_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCacheInterceptor_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCollectionMapping_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlElementCollection_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlEntity_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlManyToMany_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMapKeyAssociationOverrideContainer_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMappedSuperclass_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOneToMany_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlQueryRedirectors_2_0.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/BatchFetchType_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/CacheKeyType_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLink2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Factory.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Package.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBasic_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBatchFetch_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlElementCollection_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntityMappings_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntity_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchAttribute_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroupContainer_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroup_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToMany_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToOne_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlMappedSuperclass_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToMany_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToOne_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPersistenceUnitDefaults_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPrimaryKey_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlReturnInsert_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlTypeMapping_2_1.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/CacheIsolationType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Factory.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlAdditionalCriteria_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicCollection_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicMap_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasic_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCache_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEmbeddable_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlId_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlIndex_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVersion_2_2.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Factory.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Package.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlArray_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlAttributes_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlElementCollection_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEmbeddable_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntityMappings_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntity_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMappedSuperclass_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenant_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredProcedureQuery_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPersistenceUnitDefaults_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlTable_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStruct_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStructure_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DataFormatType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DatabaseChangeNotificationType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/TenantTableDiscriminatorType.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCache_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbeddable_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbedded_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntityMappings_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlField_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlGeneratorContainer2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlJoinField_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToMany_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToOne_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlNoSql_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToOne_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlTenantTableDiscriminator_2_4.java
create mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlUuidGenerator_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/Attributes.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheCoordinationType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/CacheType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmFactory.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/EclipseLinkOrmPackage.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/ExistenceType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethods.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethodsHolder.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAdditionalCriteria.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlArray.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAttributeMapping.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasic.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicCollection.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicMap.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetch.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetchHolder.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCache.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheHolder.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTracking.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingHolder.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCloneCopyPolicy.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCollectionTable.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConversionValue.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverter.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverterContainer.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConvertibleMapping.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCopyPolicy.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizer.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizerHolder.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlDirection.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlElementCollection.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddable.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbedded.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbeddedId.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntity.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntityMappings.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchAttribute.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchGroup.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlField.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlHashPartitioning.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlId.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlIndex.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlInstantiationCopyPolicy.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetch.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetchType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinField.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinTable.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToMany.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToOne.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMappedSuperclass.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenant.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMultitenantHolder.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlMutable.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedConverter.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredFunctionQuery.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedPlsqlStoredProcedureQuery.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredFunctionQuery.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNamedStoredProcedureQuery.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlNoSql.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlObjectTypeConverter.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToMany.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOneToOne.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLocking.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOptimisticLockingType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlOrderColumn.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPartitioning.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitDefaults.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPersistenceUnitMetadata.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPinnedPartitioning.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlRecord.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPlsqlTable.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrimaryKey.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPrivateOwned.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlProperty.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlPropertyContainer.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryContainer.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlQueryRedirectors.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRangePartitioning.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReadOnly.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReplicationPartitioning.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlReturnInsert.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlRoundRobinPartitioning.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlSecondaryTable.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStoredProcedureParameter.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStruct.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructConverter.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlStructure.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTable.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTableGenerator.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantDiscriminatorColumn.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTenantTableDiscriminator.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTimeOfDay.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransformation.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTransient.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeConverter.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlTypeMapping.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUnionPartitioning.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlUuidGenerator.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlValuePartitioning.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVariableOneToOne.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlVersion.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Factory.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/EclipseLinkOrmV1_1Package.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/IdValidationType_1_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlBasic_1_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlEntity_1_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlMappedSuperclass_1_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v1_1/XmlPrimaryKey_1_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Factory.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/EclipseLinkOrmV2_0Package.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/OrderCorrectionType_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCacheInterceptor_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlCollectionMapping_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlElementCollection_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlEntity_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlManyToMany_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMapKeyAssociationOverrideContainer_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlMappedSuperclass_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOneToMany_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlOrderColumn_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_0/XmlQueryRedirectors_2_0.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/BatchFetchType_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/CacheKeyType_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLink2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Factory.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/EclipseLinkOrmV2_1Package.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBasic_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlBatchFetch_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlElementCollection_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntityMappings_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlEntity_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchAttribute_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroupContainer_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlFetchGroup_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToMany_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlManyToOne_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlMappedSuperclass_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToMany_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlOneToOne_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPersistenceUnitDefaults_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlPrimaryKey_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlReturnInsert_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_1/XmlTypeMapping_2_1.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/CacheIsolationType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Factory.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/EclipseLinkOrmV2_2Package.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlAdditionalCriteria_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicCollection_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasicMap_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlBasic_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCache_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlCollectionTable_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlElementCollection_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEmbeddable_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntityMappings_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlEntity_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlHashPartitioning_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlId_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlIndex_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlJoinTable_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToMany_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlManyToOne_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlMappedSuperclass_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToMany_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlOneToOne_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioningGroup_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPartitioning_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlPinnedPartitioning_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRangePartitioning_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlReplicationPartitioning_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlRoundRobinPartitioning_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlSecondaryTable_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTableGenerator_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlTable_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlUnionPartitioning_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlValuePartitioning_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVariableOneToOne_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_2/XmlVersion_2_2.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Factory.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/EclipseLinkOrmV2_3Package.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/MultitenantType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlArray_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlAttributes_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlElementCollection_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEmbeddable_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntityMappings_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlEntity_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMappedSuperclass_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlMultitenant_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredFunctionQuery_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedPlsqlStoredProcedureQuery_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlNamedStoredFunctionQuery_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPersistenceUnitDefaults_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlRecord_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlPlsqlTable_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStruct_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlStructure_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_3/XmlTenantDiscriminatorColumn_2_3.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DataFormatType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/DatabaseChangeNotificationType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Factory.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/EclipseLinkOrmV2_4Package.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/TenantTableDiscriminatorType.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlBasic_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCacheIndex_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlCache_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlElementCollection_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbeddable_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEmbedded_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntityMappings_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlEntity_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlField_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlGeneratorContainer2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlId_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlJoinField_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToMany_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlManyToOne_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMappedSuperclass_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlMultitenant_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlNoSql_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToMany_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlOneToOne_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlTenantTableDiscriminator_2_4.java
delete mode 100644 jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/v2_4/XmlUuidGenerator_2_4.java
(limited to 'jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core')
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/.classpath b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/.classpath
index bef6ac8f6c..d2523c781b 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/.classpath
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/.classpath
@@ -1,6 +1,11 @@
+ * The following features are supported:
+ *
+ *
+ *
+ * If the meaning of the 'Structures' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Structures' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributes_2_3_Structures() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Arrays' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Arrays' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributes_2_3_Arrays() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Basic Collections' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Basic Collections' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes_BasicCollections() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Basic Maps' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Basic Maps' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes_BasicMaps() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Transformations' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Transformations' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes_Transformations() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Variable One To Ones' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Variable One To Ones' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getAttributes_VariableOneToOnes() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of 'SEND OBJECT CHANGES' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #SEND_OBJECT_CHANGES + * @model + * @generated + * @ordered + */ + public static final int SEND_OBJECT_CHANGES_VALUE = 0; + + /** + * The 'INVALIDATE CHANGED OBJECTS' literal value. + * + *+ * If the meaning of 'INVALIDATE CHANGED OBJECTS' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #INVALIDATE_CHANGED_OBJECTS + * @model + * @generated + * @ordered + */ + public static final int INVALIDATE_CHANGED_OBJECTS_VALUE = 1; + + /** + * The 'SEND NEW OBJECTS WITH CHANGES' literal value. + * + *+ * If the meaning of 'SEND NEW OBJECTS WITH CHANGES' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #SEND_NEW_OBJECTS_WITH_CHANGES + * @model + * @generated + * @ordered + */ + public static final int SEND_NEW_OBJECTS_WITH_CHANGES_VALUE = 2; + + /** + * The 'NONE' literal value. + * + *+ * If the meaning of 'NONE' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #NONE + * @model + * @generated + * @ordered + */ + public static final int NONE_VALUE = 3; + + /** + * An array of all the 'Cache Coordination Type' enumerators. + * + * + * @generated + */ + private static final CacheCoordinationType[] VALUES_ARRAY = + new CacheCoordinationType[] + { + SEND_OBJECT_CHANGES, + INVALIDATE_CHANGED_OBJECTS, + SEND_NEW_OBJECTS_WITH_CHANGES, + NONE, + }; + + /** + * A public read-only list of all the 'Cache Coordination Type' enumerators. + * + * + * @generated + */ + public static final List+ * If the meaning of 'FULL' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #FULL + * @model + * @generated + * @ordered + */ + public static final int FULL_VALUE = 0; + + /** + * The 'WEAK' literal value. + * + *+ * If the meaning of 'WEAK' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #WEAK + * @model + * @generated + * @ordered + */ + public static final int WEAK_VALUE = 1; + + /** + * The 'SOFT' literal value. + * + *+ * If the meaning of 'SOFT' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #SOFT + * @model + * @generated + * @ordered + */ + public static final int SOFT_VALUE = 2; + + /** + * The 'SOFT WEAK' literal value. + * + *+ * If the meaning of 'SOFT WEAK' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #SOFT_WEAK + * @model + * @generated + * @ordered + */ + public static final int SOFT_WEAK_VALUE = 3; + + /** + * The 'HARD WEAK' literal value. + * + *+ * If the meaning of 'HARD WEAK' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #HARD_WEAK + * @model + * @generated + * @ordered + */ + public static final int HARD_WEAK_VALUE = 4; + + /** + * The 'CACHE' literal value. + * + *+ * If the meaning of 'CACHE' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #CACHE + * @model + * @generated + * @ordered + */ + public static final int CACHE_VALUE = 5; + + /** + * The 'NONE' literal value. + * + *+ * If the meaning of 'NONE' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #NONE + * @model + * @generated + * @ordered + */ + public static final int NONE_VALUE = 6; + + /** + * An array of all the 'Cache Type' enumerators. + * + * + * @generated + */ + private static final CacheType[] VALUES_ARRAY = + new CacheType[] + { + FULL, + WEAK, + SOFT, + SOFT_WEAK, + HARD_WEAK, + CACHE, + NONE, + }; + + /** + * A public read-only list of all the 'Cache Type' enumerators. + * + * + * @generated + */ + public static final ListNote: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#eNS_URI + * @see #init() + * @generated + */ + private EclipseLinkOrmPackage() + { + super(eNS_URI, EclipseLinkOrmFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *
This method is used to initialize {@link EclipseLinkOrmPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static EclipseLinkOrmPackage init() + { + if (isInited) return (EclipseLinkOrmPackage)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmPackage.eNS_URI); + + // Obtain or create and register package + EclipseLinkOrmPackage theEclipseLinkOrmPackage = (EclipseLinkOrmPackage)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EclipseLinkOrmPackage ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EclipseLinkOrmPackage()); + + isInited = true; + + // Initialize simple dependencies + OrmPackage.eINSTANCE.eClass(); + XMLTypePackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + EclipseLinkOrmV1_1Package theEclipseLinkOrmV1_1Package = (EclipseLinkOrmV1_1Package)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV1_1Package.eNS_URI) instanceof EclipseLinkOrmV1_1Package ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV1_1Package.eNS_URI) : EclipseLinkOrmV1_1Package.eINSTANCE); + EclipseLinkOrmV2_0Package theEclipseLinkOrmV2_0Package = (EclipseLinkOrmV2_0Package)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_0Package.eNS_URI) instanceof EclipseLinkOrmV2_0Package ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_0Package.eNS_URI) : EclipseLinkOrmV2_0Package.eINSTANCE); + EclipseLinkOrmV2_1Package theEclipseLinkOrmV2_1Package = (EclipseLinkOrmV2_1Package)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_1Package.eNS_URI) instanceof EclipseLinkOrmV2_1Package ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_1Package.eNS_URI) : EclipseLinkOrmV2_1Package.eINSTANCE); + EclipseLinkOrmV2_2Package theEclipseLinkOrmV2_2Package = (EclipseLinkOrmV2_2Package)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_2Package.eNS_URI) instanceof EclipseLinkOrmV2_2Package ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_2Package.eNS_URI) : EclipseLinkOrmV2_2Package.eINSTANCE); + EclipseLinkOrmV2_3Package theEclipseLinkOrmV2_3Package = (EclipseLinkOrmV2_3Package)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_3Package.eNS_URI) instanceof EclipseLinkOrmV2_3Package ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_3Package.eNS_URI) : EclipseLinkOrmV2_3Package.eINSTANCE); + EclipseLinkOrmV2_4Package theEclipseLinkOrmV2_4Package = (EclipseLinkOrmV2_4Package)(EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_4Package.eNS_URI) instanceof EclipseLinkOrmV2_4Package ? EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_4Package.eNS_URI) : EclipseLinkOrmV2_4Package.eINSTANCE); + + // Create package meta-data objects + theEclipseLinkOrmPackage.createPackageContents(); + theEclipseLinkOrmV1_1Package.createPackageContents(); + theEclipseLinkOrmV2_0Package.createPackageContents(); + theEclipseLinkOrmV2_1Package.createPackageContents(); + theEclipseLinkOrmV2_2Package.createPackageContents(); + theEclipseLinkOrmV2_3Package.createPackageContents(); + theEclipseLinkOrmV2_4Package.createPackageContents(); + + // Initialize created meta-data + theEclipseLinkOrmPackage.initializePackageContents(); + theEclipseLinkOrmV1_1Package.initializePackageContents(); + theEclipseLinkOrmV2_0Package.initializePackageContents(); + theEclipseLinkOrmV2_1Package.initializePackageContents(); + theEclipseLinkOrmV2_2Package.initializePackageContents(); + theEclipseLinkOrmV2_3Package.initializePackageContents(); + theEclipseLinkOrmV2_4Package.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theEclipseLinkOrmPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(EclipseLinkOrmPackage.eNS_URI, theEclipseLinkOrmPackage); + return theEclipseLinkOrmPackage; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods Xml Access Methods}'. + * + * + * @return the meta object for class 'Xml Access Methods'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods + * @generated + */ + public EClass getXmlAccessMethods() + { + return xmlAccessMethodsEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getGetMethod Get Method}'. + * + * + * @return the meta object for the attribute 'Get Method'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getGetMethod() + * @see #getXmlAccessMethods() + * @generated + */ + public EAttribute getXmlAccessMethods_GetMethod() + { + return (EAttribute)xmlAccessMethodsEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getSetMethod Set Method}'. + * + * + * @return the meta object for the attribute 'Set Method'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getSetMethod() + * @see #getXmlAccessMethods() + * @generated + */ + public EAttribute getXmlAccessMethods_SetMethod() + { + return (EAttribute)xmlAccessMethodsEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder Xml Access Methods Holder}'. + * + * + * @return the meta object for class 'Xml Access Methods Holder'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder + * @generated + */ + public EClass getXmlAccessMethodsHolder() + { + return xmlAccessMethodsHolderEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder#getAccessMethods Access Methods}'. + * + * + * @return the meta object for the containment reference 'Access Methods'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder#getAccessMethods() + * @see #getXmlAccessMethodsHolder() + * @generated + */ + public EReference getXmlAccessMethodsHolder_AccessMethods() + { + return (EReference)xmlAccessMethodsHolderEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria Xml Additional Criteria}'. + * + * + * @return the meta object for class 'Xml Additional Criteria'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria + * @generated + */ + public EClass getXmlAdditionalCriteria() + { + return xmlAdditionalCriteriaEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray Xml Array}'. + * + * + * @return the meta object for class 'Xml Array'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray + * @generated + */ + public EClass getXmlArray() + { + return xmlArrayEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping Xml Attribute Mapping}'. + * + * + * @return the meta object for class 'Xml Attribute Mapping'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping + * @generated + */ + public EClass getXmlAttributeMapping() + { + return xmlAttributeMappingEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping#getAttributeType Attribute Type}'. + * + * + * @return the meta object for the attribute 'Attribute Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping#getAttributeType() + * @see #getXmlAttributeMapping() + * @generated + */ + public EAttribute getXmlAttributeMapping_AttributeType() + { + return (EAttribute)xmlAttributeMappingEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes Attributes}'. + * + * + * @return the meta object for class 'Attributes'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes + * @generated + */ + public EClass getAttributes() + { + return attributesEClass; + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getBasicCollections Basic Collections}'. + * + * + * @return the meta object for the containment reference list 'Basic Collections'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getBasicCollections() + * @see #getAttributes() + * @generated + */ + public EReference getAttributes_BasicCollections() + { + return (EReference)attributesEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getBasicMaps Basic Maps}'. + * + * + * @return the meta object for the containment reference list 'Basic Maps'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getBasicMaps() + * @see #getAttributes() + * @generated + */ + public EReference getAttributes_BasicMaps() + { + return (EReference)attributesEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getTransformations Transformations}'. + * + * + * @return the meta object for the containment reference list 'Transformations'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getTransformations() + * @see #getAttributes() + * @generated + */ + public EReference getAttributes_Transformations() + { + return (EReference)attributesEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getVariableOneToOnes Variable One To Ones}'. + * + * + * @return the meta object for the containment reference list 'Variable One To Ones'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.Attributes#getVariableOneToOnes() + * @see #getAttributes() + * @generated + */ + public EReference getAttributes_VariableOneToOnes() + { + return (EReference)attributesEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic Xml Basic}'. + * + * + * @return the meta object for class 'Xml Basic'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic + * @generated + */ + public EClass getXmlBasic() + { + return xmlBasicEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection Xml Basic Collection}'. + * + * + * @return the meta object for class 'Xml Basic Collection'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection + * @generated + */ + public EClass getXmlBasicCollection() + { + return xmlBasicCollectionEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap Xml Basic Map}'. + * + * + * @return the meta object for class 'Xml Basic Map'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap + * @generated + */ + public EClass getXmlBasicMap() + { + return xmlBasicMapEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch Xml Batch Fetch}'. + * + * + * @return the meta object for class 'Xml Batch Fetch'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch + * @generated + */ + public EClass getXmlBatchFetch() + { + return xmlBatchFetchEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder Xml Batch Fetch Holder}'. + * + * + * @return the meta object for class 'Xml Batch Fetch Holder'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder + * @generated + */ + public EClass getXmlBatchFetchHolder() + { + return xmlBatchFetchHolderEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder#getBatchFetch Batch Fetch}'. + * + * + * @return the meta object for the containment reference 'Batch Fetch'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder#getBatchFetch() + * @see #getXmlBatchFetchHolder() + * @generated + */ + public EReference getXmlBatchFetchHolder_BatchFetch() + { + return (EReference)xmlBatchFetchHolderEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache Xml Cache}'. + * + * + * @return the meta object for class 'Xml Cache'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache + * @generated + */ + public EClass getXmlCache() + { + return xmlCacheEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiry Expiry}'. + * + * + * @return the meta object for the attribute 'Expiry'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiry() + * @see #getXmlCache() + * @generated + */ + public EAttribute getXmlCache_Expiry() + { + return (EAttribute)xmlCacheEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getSize Size}'. + * + * + * @return the meta object for the attribute 'Size'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getSize() + * @see #getXmlCache() + * @generated + */ + public EAttribute getXmlCache_Size() + { + return (EAttribute)xmlCacheEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getShared Shared}'. + * + * + * @return the meta object for the attribute 'Shared'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getShared() + * @see #getXmlCache() + * @generated + */ + public EAttribute getXmlCache_Shared() + { + return (EAttribute)xmlCacheEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getType Type}'. + * + * + * @return the meta object for the attribute 'Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getType() + * @see #getXmlCache() + * @generated + */ + public EAttribute getXmlCache_Type() + { + return (EAttribute)xmlCacheEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getAlwaysRefresh Always Refresh}'. + * + * + * @return the meta object for the attribute 'Always Refresh'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getAlwaysRefresh() + * @see #getXmlCache() + * @generated + */ + public EAttribute getXmlCache_AlwaysRefresh() + { + return (EAttribute)xmlCacheEClass.getEStructuralFeatures().get(4); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getRefreshOnlyIfNewer Refresh Only If Newer}'. + * + * + * @return the meta object for the attribute 'Refresh Only If Newer'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getRefreshOnlyIfNewer() + * @see #getXmlCache() + * @generated + */ + public EAttribute getXmlCache_RefreshOnlyIfNewer() + { + return (EAttribute)xmlCacheEClass.getEStructuralFeatures().get(5); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getDisableHits Disable Hits}'. + * + * + * @return the meta object for the attribute 'Disable Hits'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getDisableHits() + * @see #getXmlCache() + * @generated + */ + public EAttribute getXmlCache_DisableHits() + { + return (EAttribute)xmlCacheEClass.getEStructuralFeatures().get(6); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getCoordinationType Coordination Type}'. + * + * + * @return the meta object for the attribute 'Coordination Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getCoordinationType() + * @see #getXmlCache() + * @generated + */ + public EAttribute getXmlCache_CoordinationType() + { + return (EAttribute)xmlCacheEClass.getEStructuralFeatures().get(7); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiryTimeOfDay Expiry Time Of Day}'. + * + * + * @return the meta object for the containment reference 'Expiry Time Of Day'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiryTimeOfDay() + * @see #getXmlCache() + * @generated + */ + public EReference getXmlCache_ExpiryTimeOfDay() + { + return (EReference)xmlCacheEClass.getEStructuralFeatures().get(8); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder Xml Cache Holder}'. + * + * + * @return the meta object for class 'Xml Cache Holder'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder + * @generated + */ + public EClass getXmlCacheHolder() + { + return xmlCacheHolderEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getCache Cache}'. + * + * + * @return the meta object for the containment reference 'Cache'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getCache() + * @see #getXmlCacheHolder() + * @generated + */ + public EReference getXmlCacheHolder_Cache() + { + return (EReference)xmlCacheHolderEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getExistenceChecking Existence Checking}'. + * + * + * @return the meta object for the attribute 'Existence Checking'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getExistenceChecking() + * @see #getXmlCacheHolder() + * @generated + */ + public EAttribute getXmlCacheHolder_ExistenceChecking() + { + return (EAttribute)xmlCacheHolderEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex Xml Cache Index}'. + * + * + * @return the meta object for class 'Xml Cache Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheIndex + * @generated + */ + public EClass getXmlCacheIndex() + { + return xmlCacheIndexEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking Xml Change Tracking}'. + * + * + * @return the meta object for class 'Xml Change Tracking'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking + * @generated + */ + public EClass getXmlChangeTracking() + { + return xmlChangeTrackingEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking#getType Type}'. + * + * + * @return the meta object for the attribute 'Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking#getType() + * @see #getXmlChangeTracking() + * @generated + */ + public EAttribute getXmlChangeTracking_Type() + { + return (EAttribute)xmlChangeTrackingEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder Xml Change Tracking Holder}'. + * + * + * @return the meta object for class 'Xml Change Tracking Holder'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder + * @generated + */ + public EClass getXmlChangeTrackingHolder() + { + return xmlChangeTrackingHolderEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder#getChangeTracking Change Tracking}'. + * + * + * @return the meta object for the containment reference 'Change Tracking'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder#getChangeTracking() + * @see #getXmlChangeTrackingHolder() + * @generated + */ + public EReference getXmlChangeTrackingHolder_ChangeTracking() + { + return (EReference)xmlChangeTrackingHolderEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy Xml Clone Copy Policy}'. + * + * + * @return the meta object for class 'Xml Clone Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy + * @generated + */ + public EClass getXmlCloneCopyPolicy() + { + return xmlCloneCopyPolicyEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getMethod Method}'. + * + * + * @return the meta object for the attribute 'Method'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getMethod() + * @see #getXmlCloneCopyPolicy() + * @generated + */ + public EAttribute getXmlCloneCopyPolicy_Method() + { + return (EAttribute)xmlCloneCopyPolicyEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getWorkingCopyMethod Working Copy Method}'. + * + * + * @return the meta object for the attribute 'Working Copy Method'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getWorkingCopyMethod() + * @see #getXmlCloneCopyPolicy() + * @generated + */ + public EAttribute getXmlCloneCopyPolicy_WorkingCopyMethod() + { + return (EAttribute)xmlCloneCopyPolicyEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable Xml Collection Table}'. + * + * + * @return the meta object for class 'Xml Collection Table'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCollectionTable + * @generated + */ + public EClass getXmlCollectionTable() + { + return xmlCollectionTableEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue Xml Conversion Value}'. + * + * + * @return the meta object for class 'Xml Conversion Value'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue + * @generated + */ + public EClass getXmlConversionValue() + { + return xmlConversionValueEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getDataValue Data Value}'. + * + * + * @return the meta object for the attribute 'Data Value'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getDataValue() + * @see #getXmlConversionValue() + * @generated + */ + public EAttribute getXmlConversionValue_DataValue() + { + return (EAttribute)xmlConversionValueEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getObjectValue Object Value}'. + * + * + * @return the meta object for the attribute 'Object Value'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getObjectValue() + * @see #getXmlConversionValue() + * @generated + */ + public EAttribute getXmlConversionValue_ObjectValue() + { + return (EAttribute)xmlConversionValueEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter Xml Converter}'. + * + * + * @return the meta object for class 'Xml Converter'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter + * @generated + */ + public EClass getXmlConverter() + { + return xmlConverterEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter#getClassName Class Name}'. + * + * + * @return the meta object for the attribute 'Class Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter#getClassName() + * @see #getXmlConverter() + * @generated + */ + public EAttribute getXmlConverter_ClassName() + { + return (EAttribute)xmlConverterEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer Xml Converter Container}'. + * + * + * @return the meta object for class 'Xml Converter Container'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer + * @generated + */ + public EClass getXmlConverterContainer() + { + return xmlConverterContainerEClass; + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getConverters Converters}'. + * + * + * @return the meta object for the containment reference list 'Converters'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getConverters() + * @see #getXmlConverterContainer() + * @generated + */ + public EReference getXmlConverterContainer_Converters() + { + return (EReference)xmlConverterContainerEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getTypeConverters Type Converters}'. + * + * + * @return the meta object for the containment reference list 'Type Converters'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getTypeConverters() + * @see #getXmlConverterContainer() + * @generated + */ + public EReference getXmlConverterContainer_TypeConverters() + { + return (EReference)xmlConverterContainerEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getObjectTypeConverters Object Type Converters}'. + * + * + * @return the meta object for the containment reference list 'Object Type Converters'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getObjectTypeConverters() + * @see #getXmlConverterContainer() + * @generated + */ + public EReference getXmlConverterContainer_ObjectTypeConverters() + { + return (EReference)xmlConverterContainerEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getStructConverters Struct Converters}'. + * + * + * @return the meta object for the containment reference list 'Struct Converters'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverterContainer#getStructConverters() + * @see #getXmlConverterContainer() + * @generated + */ + public EReference getXmlConverterContainer_StructConverters() + { + return (EReference)xmlConverterContainerEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping Xml Convertible Mapping}'. + * + * + * @return the meta object for class 'Xml Convertible Mapping'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping + * @generated + */ + public EClass getXmlConvertibleMapping() + { + return xmlConvertibleMappingEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping#getConvert Convert}'. + * + * + * @return the meta object for the attribute 'Convert'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping#getConvert() + * @see #getXmlConvertibleMapping() + * @generated + */ + public EAttribute getXmlConvertibleMapping_Convert() + { + return (EAttribute)xmlConvertibleMappingEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy Xml Copy Policy}'. + * + * + * @return the meta object for class 'Xml Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy + * @generated + */ + public EClass getXmlCopyPolicy() + { + return xmlCopyPolicyEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy#getClass_ Class}'. + * + * + * @return the meta object for the attribute 'Class'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy#getClass_() + * @see #getXmlCopyPolicy() + * @generated + */ + public EAttribute getXmlCopyPolicy_Class() + { + return (EAttribute)xmlCopyPolicyEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer Xml Customizer}'. + * + * + * @return the meta object for class 'Xml Customizer'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer + * @generated + */ + public EClass getXmlCustomizer() + { + return xmlCustomizerEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer#getCustomizerClassName Customizer Class Name}'. + * + * + * @return the meta object for the attribute 'Customizer Class Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer#getCustomizerClassName() + * @see #getXmlCustomizer() + * @generated + */ + public EAttribute getXmlCustomizer_CustomizerClassName() + { + return (EAttribute)xmlCustomizerEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder Xml Customizer Holder}'. + * + * + * @return the meta object for class 'Xml Customizer Holder'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder + * @generated + */ + public EClass getXmlCustomizerHolder() + { + return xmlCustomizerHolderEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder#getCustomizer Customizer}'. + * + * + * @return the meta object for the containment reference 'Customizer'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder#getCustomizer() + * @see #getXmlCustomizerHolder() + * @generated + */ + public EReference getXmlCustomizerHolder_Customizer() + { + return (EReference)xmlCustomizerHolderEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection Xml Element Collection}'. + * + * + * @return the meta object for class 'Xml Element Collection'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection + * @generated + */ + public EClass getXmlElementCollection() + { + return xmlElementCollectionEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable Xml Embeddable}'. + * + * + * @return the meta object for class 'Xml Embeddable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable + * @generated + */ + public EClass getXmlEmbeddable() + { + return xmlEmbeddableEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCopyPolicy Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCopyPolicy() + * @see #getXmlEmbeddable() + * @generated + */ + public EReference getXmlEmbeddable_CopyPolicy() + { + return (EReference)xmlEmbeddableEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getInstantiationCopyPolicy Instantiation Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Instantiation Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getInstantiationCopyPolicy() + * @see #getXmlEmbeddable() + * @generated + */ + public EReference getXmlEmbeddable_InstantiationCopyPolicy() + { + return (EReference)xmlEmbeddableEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCloneCopyPolicy Clone Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Clone Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCloneCopyPolicy() + * @see #getXmlEmbeddable() + * @generated + */ + public EReference getXmlEmbeddable_CloneCopyPolicy() + { + return (EReference)xmlEmbeddableEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getExcludeDefaultMappings Exclude Default Mappings}'. + * + * + * @return the meta object for the attribute 'Exclude Default Mappings'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getExcludeDefaultMappings() + * @see #getXmlEmbeddable() + * @generated + */ + public EAttribute getXmlEmbeddable_ExcludeDefaultMappings() + { + return (EAttribute)xmlEmbeddableEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded Xml Embedded}'. + * + * + * @return the meta object for class 'Xml Embedded'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded + * @generated + */ + public EClass getXmlEmbedded() + { + return xmlEmbeddedEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId Xml Embedded Id}'. + * + * + * @return the meta object for class 'Xml Embedded Id'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId + * @generated + */ + public EClass getXmlEmbeddedId() + { + return xmlEmbeddedIdEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity Xml Entity}'. + * + * + * @return the meta object for class 'Xml Entity'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity + * @generated + */ + public EClass getXmlEntity() + { + return xmlEntityEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getOptimisticLocking Optimistic Locking}'. + * + * + * @return the meta object for the containment reference 'Optimistic Locking'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getOptimisticLocking() + * @see #getXmlEntity() + * @generated + */ + public EReference getXmlEntity_OptimisticLocking() + { + return (EReference)xmlEntityEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCopyPolicy Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCopyPolicy() + * @see #getXmlEntity() + * @generated + */ + public EReference getXmlEntity_CopyPolicy() + { + return (EReference)xmlEntityEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getInstantiationCopyPolicy Instantiation Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Instantiation Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getInstantiationCopyPolicy() + * @see #getXmlEntity() + * @generated + */ + public EReference getXmlEntity_InstantiationCopyPolicy() + { + return (EReference)xmlEntityEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCloneCopyPolicy Clone Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Clone Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCloneCopyPolicy() + * @see #getXmlEntity() + * @generated + */ + public EReference getXmlEntity_CloneCopyPolicy() + { + return (EReference)xmlEntityEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getExcludeDefaultMappings Exclude Default Mappings}'. + * + * + * @return the meta object for the attribute 'Exclude Default Mappings'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getExcludeDefaultMappings() + * @see #getXmlEntity() + * @generated + */ + public EAttribute getXmlEntity_ExcludeDefaultMappings() + { + return (EAttribute)xmlEntityEClass.getEStructuralFeatures().get(4); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings Xml Entity Mappings}'. + * + * + * @return the meta object for class 'Xml Entity Mappings'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntityMappings + * @generated + */ + public EClass getXmlEntityMappings() + { + return xmlEntityMappingsEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute Xml Fetch Attribute}'. + * + * + * @return the meta object for class 'Xml Fetch Attribute'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute + * @generated + */ + public EClass getXmlFetchAttribute() + { + return xmlFetchAttributeEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup Xml Fetch Group}'. + * + * + * @return the meta object for class 'Xml Fetch Group'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup + * @generated + */ + public EClass getXmlFetchGroup() + { + return xmlFetchGroupEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField Xml Field}'. + * + * + * @return the meta object for class 'Xml Field'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlField + * @generated + */ + public EClass getXmlField() + { + return xmlFieldEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId Xml Id}'. + * + * + * @return the meta object for class 'Xml Id'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId + * @generated + */ + public EClass getXmlId() + { + return xmlIdEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex Xml Index}'. + * + * + * @return the meta object for class 'Xml Index'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex + * @generated + */ + public EClass getXmlIndex() + { + return xmlIndexEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy Xml Instantiation Copy Policy}'. + * + * + * @return the meta object for class 'Xml Instantiation Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlInstantiationCopyPolicy + * @generated + */ + public EClass getXmlInstantiationCopyPolicy() + { + return xmlInstantiationCopyPolicyEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch Xml Join Fetch}'. + * + * + * @return the meta object for class 'Xml Join Fetch'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch + * @generated + */ + public EClass getXmlJoinFetch() + { + return xmlJoinFetchEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch#getJoinFetch Join Fetch}'. + * + * + * @return the meta object for the attribute 'Join Fetch'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch#getJoinFetch() + * @see #getXmlJoinFetch() + * @generated + */ + public EAttribute getXmlJoinFetch_JoinFetch() + { + return (EAttribute)xmlJoinFetchEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField Xml Join Field}'. + * + * + * @return the meta object for class 'Xml Join Field'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField + * @generated + */ + public EClass getXmlJoinField() + { + return xmlJoinFieldEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable Xml Join Table}'. + * + * + * @return the meta object for class 'Xml Join Table'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinTable + * @generated + */ + public EClass getXmlJoinTable() + { + return xmlJoinTableEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany Xml Many To Many}'. + * + * + * @return the meta object for class 'Xml Many To Many'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany + * @generated + */ + public EClass getXmlManyToMany() + { + return xmlManyToManyEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne Xml Many To One}'. + * + * + * @return the meta object for class 'Xml Many To One'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToOne + * @generated + */ + public EClass getXmlManyToOne() + { + return xmlManyToOneEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass Xml Mapped Superclass}'. + * + * + * @return the meta object for class 'Xml Mapped Superclass'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass + * @generated + */ + public EClass getXmlMappedSuperclass() + { + return xmlMappedSuperclassEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getOptimisticLocking Optimistic Locking}'. + * + * + * @return the meta object for the containment reference 'Optimistic Locking'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getOptimisticLocking() + * @see #getXmlMappedSuperclass() + * @generated + */ + public EReference getXmlMappedSuperclass_OptimisticLocking() + { + return (EReference)xmlMappedSuperclassEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCopyPolicy Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCopyPolicy() + * @see #getXmlMappedSuperclass() + * @generated + */ + public EReference getXmlMappedSuperclass_CopyPolicy() + { + return (EReference)xmlMappedSuperclassEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getInstantiationCopyPolicy Instantiation Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Instantiation Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getInstantiationCopyPolicy() + * @see #getXmlMappedSuperclass() + * @generated + */ + public EReference getXmlMappedSuperclass_InstantiationCopyPolicy() + { + return (EReference)xmlMappedSuperclassEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCloneCopyPolicy Clone Copy Policy}'. + * + * + * @return the meta object for the containment reference 'Clone Copy Policy'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getCloneCopyPolicy() + * @see #getXmlMappedSuperclass() + * @generated + */ + public EReference getXmlMappedSuperclass_CloneCopyPolicy() + { + return (EReference)xmlMappedSuperclassEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getExcludeDefaultMappings Exclude Default Mappings}'. + * + * + * @return the meta object for the attribute 'Exclude Default Mappings'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMappedSuperclass#getExcludeDefaultMappings() + * @see #getXmlMappedSuperclass() + * @generated + */ + public EAttribute getXmlMappedSuperclass_ExcludeDefaultMappings() + { + return (EAttribute)xmlMappedSuperclassEClass.getEStructuralFeatures().get(4); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant Xml Multitenant}'. + * + * + * @return the meta object for class 'Xml Multitenant'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenant + * @generated + */ + public EClass getXmlMultitenant() + { + return xmlMultitenantEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder Xml Multitenant Holder}'. + * + * + * @return the meta object for class 'Xml Multitenant Holder'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder + * @generated + */ + public EClass getXmlMultitenantHolder() + { + return xmlMultitenantHolderEClass; + } + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder#getMultitenant Multitenant}'. + * + * + * @return the meta object for the containment reference 'Multitenant'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMultitenantHolder#getMultitenant() + * @see #getXmlMultitenantHolder() + * @generated + */ + public EReference getXmlMultitenantHolder_Multitenant() + { + return (EReference)xmlMultitenantHolderEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable Xml Mutable}'. + * + * + * @return the meta object for class 'Xml Mutable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable + * @generated + */ + public EClass getXmlMutable() + { + return xmlMutableEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable#getMutable Mutable}'. + * + * + * @return the meta object for the attribute 'Mutable'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlMutable#getMutable() + * @see #getXmlMutable() + * @generated + */ + public EAttribute getXmlMutable_Mutable() + { + return (EAttribute)xmlMutableEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter Xml Named Converter}'. + * + * + * @return the meta object for class 'Xml Named Converter'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter + * @generated + */ + public EClass getXmlNamedConverter() + { + return xmlNamedConverterEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedConverter#getName() + * @see #getXmlNamedConverter() + * @generated + */ + public EAttribute getXmlNamedConverter_Name() + { + return (EAttribute)xmlNamedConverterEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery Xml Named Plsql Stored Function Query}'. + * + * + * @return the meta object for class 'Xml Named Plsql Stored Function Query'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredFunctionQuery + * @generated + */ + public EClass getXmlNamedPlsqlStoredFunctionQuery() + { + return xmlNamedPlsqlStoredFunctionQueryEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery Xml Named Plsql Stored Procedure Query}'. + * + * + * @return the meta object for class 'Xml Named Plsql Stored Procedure Query'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedPlsqlStoredProcedureQuery + * @generated + */ + public EClass getXmlNamedPlsqlStoredProcedureQuery() + { + return xmlNamedPlsqlStoredProcedureQueryEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery Xml Named Stored Function Query}'. + * + * + * @return the meta object for class 'Xml Named Stored Function Query'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredFunctionQuery + * @generated + */ + public EClass getXmlNamedStoredFunctionQuery() + { + return xmlNamedStoredFunctionQueryEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery Xml Named Stored Procedure Query}'. + * + * + * @return the meta object for class 'Xml Named Stored Procedure Query'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery + * @generated + */ + public EClass getXmlNamedStoredProcedureQuery() + { + return xmlNamedStoredProcedureQueryEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getName() + * @see #getXmlNamedStoredProcedureQuery() + * @generated + */ + public EAttribute getXmlNamedStoredProcedureQuery_Name() + { + return (EAttribute)xmlNamedStoredProcedureQueryEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultClass Result Class}'. + * + * + * @return the meta object for the attribute 'Result Class'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultClass() + * @see #getXmlNamedStoredProcedureQuery() + * @generated + */ + public EAttribute getXmlNamedStoredProcedureQuery_ResultClass() + { + return (EAttribute)xmlNamedStoredProcedureQueryEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultSetMapping Result Set Mapping}'. + * + * + * @return the meta object for the attribute 'Result Set Mapping'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getResultSetMapping() + * @see #getXmlNamedStoredProcedureQuery() + * @generated + */ + public EAttribute getXmlNamedStoredProcedureQuery_ResultSetMapping() + { + return (EAttribute)xmlNamedStoredProcedureQueryEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getProcedureName Procedure Name}'. + * + * + * @return the meta object for the attribute 'Procedure Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getProcedureName() + * @see #getXmlNamedStoredProcedureQuery() + * @generated + */ + public EAttribute getXmlNamedStoredProcedureQuery_ProcedureName() + { + return (EAttribute)xmlNamedStoredProcedureQueryEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getReturnsResultSet Returns Result Set}'. + * + * + * @return the meta object for the attribute 'Returns Result Set'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getReturnsResultSet() + * @see #getXmlNamedStoredProcedureQuery() + * @generated + */ + public EAttribute getXmlNamedStoredProcedureQuery_ReturnsResultSet() + { + return (EAttribute)xmlNamedStoredProcedureQueryEClass.getEStructuralFeatures().get(4); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getHints Hints}'. + * + * + * @return the meta object for the containment reference list 'Hints'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getHints() + * @see #getXmlNamedStoredProcedureQuery() + * @generated + */ + public EReference getXmlNamedStoredProcedureQuery_Hints() + { + return (EReference)xmlNamedStoredProcedureQueryEClass.getEStructuralFeatures().get(5); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getParameters Parameters}'. + * + * + * @return the meta object for the containment reference list 'Parameters'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery#getParameters() + * @see #getXmlNamedStoredProcedureQuery() + * @generated + */ + public EReference getXmlNamedStoredProcedureQuery_Parameters() + { + return (EReference)xmlNamedStoredProcedureQueryEClass.getEStructuralFeatures().get(6); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql Xml No Sql}'. + * + * + * @return the meta object for class 'Xml No Sql'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNoSql + * @generated + */ + public EClass getXmlNoSql() + { + return xmlNoSqlEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter Xml Object Type Converter}'. + * + * + * @return the meta object for class 'Xml Object Type Converter'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter + * @generated + */ + public EClass getXmlObjectTypeConverter() + { + return xmlObjectTypeConverterEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDataType Data Type}'. + * + * + * @return the meta object for the attribute 'Data Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDataType() + * @see #getXmlObjectTypeConverter() + * @generated + */ + public EAttribute getXmlObjectTypeConverter_DataType() + { + return (EAttribute)xmlObjectTypeConverterEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getObjectType Object Type}'. + * + * + * @return the meta object for the attribute 'Object Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getObjectType() + * @see #getXmlObjectTypeConverter() + * @generated + */ + public EAttribute getXmlObjectTypeConverter_ObjectType() + { + return (EAttribute)xmlObjectTypeConverterEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getConversionValues Conversion Values}'. + * + * + * @return the meta object for the containment reference list 'Conversion Values'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getConversionValues() + * @see #getXmlObjectTypeConverter() + * @generated + */ + public EReference getXmlObjectTypeConverter_ConversionValues() + { + return (EReference)xmlObjectTypeConverterEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDefaultObjectValue Default Object Value}'. + * + * + * @return the meta object for the attribute 'Default Object Value'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlObjectTypeConverter#getDefaultObjectValue() + * @see #getXmlObjectTypeConverter() + * @generated + */ + public EAttribute getXmlObjectTypeConverter_DefaultObjectValue() + { + return (EAttribute)xmlObjectTypeConverterEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany Xml One To Many}'. + * + * + * @return the meta object for class 'Xml One To Many'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToMany + * @generated + */ + public EClass getXmlOneToMany() + { + return xmlOneToManyEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne Xml One To One}'. + * + * + * @return the meta object for class 'Xml One To One'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOneToOne + * @generated + */ + public EClass getXmlOneToOne() + { + return xmlOneToOneEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking Xml Optimistic Locking}'. + * + * + * @return the meta object for class 'Xml Optimistic Locking'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking + * @generated + */ + public EClass getXmlOptimisticLocking() + { + return xmlOptimisticLockingEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getType Type}'. + * + * + * @return the meta object for the attribute 'Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getType() + * @see #getXmlOptimisticLocking() + * @generated + */ + public EAttribute getXmlOptimisticLocking_Type() + { + return (EAttribute)xmlOptimisticLockingEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getCascade Cascade}'. + * + * + * @return the meta object for the attribute 'Cascade'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getCascade() + * @see #getXmlOptimisticLocking() + * @generated + */ + public EAttribute getXmlOptimisticLocking_Cascade() + { + return (EAttribute)xmlOptimisticLockingEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getSelectedColumns Selected Columns}'. + * + * + * @return the meta object for the containment reference list 'Selected Columns'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLocking#getSelectedColumns() + * @see #getXmlOptimisticLocking() + * @generated + */ + public EReference getXmlOptimisticLocking_SelectedColumns() + { + return (EReference)xmlOptimisticLockingEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn Xml Order Column}'. + * + * + * @return the meta object for class 'Xml Order Column'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOrderColumn + * @generated + */ + public EClass getXmlOrderColumn() + { + return xmlOrderColumnEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults Xml Persistence Unit Defaults}'. + * + * + * @return the meta object for class 'Xml Persistence Unit Defaults'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitDefaults + * @generated + */ + public EClass getXmlPersistenceUnitDefaults() + { + return xmlPersistenceUnitDefaultsEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata Xml Persistence Unit Metadata}'. + * + * + * @return the meta object for class 'Xml Persistence Unit Metadata'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata + * @generated + */ + public EClass getXmlPersistenceUnitMetadata() + { + return xmlPersistenceUnitMetadataEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata#isExcludeDefaultMappings Exclude Default Mappings}'. + * + * + * @return the meta object for the attribute 'Exclude Default Mappings'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPersistenceUnitMetadata#isExcludeDefaultMappings() + * @see #getXmlPersistenceUnitMetadata() + * @generated + */ + public EAttribute getXmlPersistenceUnitMetadata_ExcludeDefaultMappings() + { + return (EAttribute)xmlPersistenceUnitMetadataEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey Xml Primary Key}'. + * + * + * @return the meta object for class 'Xml Primary Key'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrimaryKey + * @generated + */ + public EClass getXmlPrimaryKey() + { + return xmlPrimaryKeyEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned Xml Private Owned}'. + * + * + * @return the meta object for class 'Xml Private Owned'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned + * @generated + */ + public EClass getXmlPrivateOwned() + { + return xmlPrivateOwnedEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned#isPrivateOwned Private Owned}'. + * + * + * @return the meta object for the attribute 'Private Owned'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPrivateOwned#isPrivateOwned() + * @see #getXmlPrivateOwned() + * @generated + */ + public EAttribute getXmlPrivateOwned_PrivateOwned() + { + return (EAttribute)xmlPrivateOwnedEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty Xml Property}'. + * + * + * @return the meta object for class 'Xml Property'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty + * @generated + */ + public EClass getXmlProperty() + { + return xmlPropertyEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getName() + * @see #getXmlProperty() + * @generated + */ + public EAttribute getXmlProperty_Name() + { + return (EAttribute)xmlPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValue() + * @see #getXmlProperty() + * @generated + */ + public EAttribute getXmlProperty_Value() + { + return (EAttribute)xmlPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValueType Value Type}'. + * + * + * @return the meta object for the attribute 'Value Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty#getValueType() + * @see #getXmlProperty() + * @generated + */ + public EAttribute getXmlProperty_ValueType() + { + return (EAttribute)xmlPropertyEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer Xml Property Container}'. + * + * + * @return the meta object for class 'Xml Property Container'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer + * @generated + */ + public EClass getXmlPropertyContainer() + { + return xmlPropertyContainerEClass; + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer#getProperties Properties}'. + * + * + * @return the meta object for the containment reference list 'Properties'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPropertyContainer#getProperties() + * @see #getXmlPropertyContainer() + * @generated + */ + public EReference getXmlPropertyContainer_Properties() + { + return (EReference)xmlPropertyContainerEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer Xml Query Container}'. + * + * + * @return the meta object for class 'Xml Query Container'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer + * @generated + */ + public EClass getXmlQueryContainer() + { + return xmlQueryContainerEClass; + } + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer#getNamedStoredProcedureQueries Named Stored Procedure Queries}'. + * + * + * @return the meta object for the containment reference list 'Named Stored Procedure Queries'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryContainer#getNamedStoredProcedureQueries() + * @see #getXmlQueryContainer() + * @generated + */ + public EReference getXmlQueryContainer_NamedStoredProcedureQueries() + { + return (EReference)xmlQueryContainerEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors Xml Query Redirectors}'. + * + * + * @return the meta object for class 'Xml Query Redirectors'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlQueryRedirectors + * @generated + */ + public EClass getXmlQueryRedirectors() + { + return xmlQueryRedirectorsEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly Xml Read Only}'. + * + * + * @return the meta object for class 'Xml Read Only'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly + * @generated + */ + public EClass getXmlReadOnly() + { + return xmlReadOnlyEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly#getReadOnly Read Only}'. + * + * + * @return the meta object for the attribute 'Read Only'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReadOnly#getReadOnly() + * @see #getXmlReadOnly() + * @generated + */ + public EAttribute getXmlReadOnly_ReadOnly() + { + return (EAttribute)xmlReadOnlyEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert Xml Return Insert}'. + * + * + * @return the meta object for class 'Xml Return Insert'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReturnInsert + * @generated + */ + public EClass getXmlReturnInsert() + { + return xmlReturnInsertEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable Xml Secondary Table}'. + * + * + * @return the meta object for class 'Xml Secondary Table'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlSecondaryTable + * @generated + */ + public EClass getXmlSecondaryTable() + { + return xmlSecondaryTableEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter Xml Stored Procedure Parameter}'. + * + * + * @return the meta object for class 'Xml Stored Procedure Parameter'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter + * @generated + */ + public EClass getXmlStoredProcedureParameter() + { + return xmlStoredProcedureParameterEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getDirection Direction}'. + * + * + * @return the meta object for the attribute 'Direction'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getDirection() + * @see #getXmlStoredProcedureParameter() + * @generated + */ + public EAttribute getXmlStoredProcedureParameter_Direction() + { + return (EAttribute)xmlStoredProcedureParameterEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getName() + * @see #getXmlStoredProcedureParameter() + * @generated + */ + public EAttribute getXmlStoredProcedureParameter_Name() + { + return (EAttribute)xmlStoredProcedureParameterEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getQueryParameter Query Parameter}'. + * + * + * @return the meta object for the attribute 'Query Parameter'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getQueryParameter() + * @see #getXmlStoredProcedureParameter() + * @generated + */ + public EAttribute getXmlStoredProcedureParameter_QueryParameter() + { + return (EAttribute)xmlStoredProcedureParameterEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getType Type}'. + * + * + * @return the meta object for the attribute 'Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getType() + * @see #getXmlStoredProcedureParameter() + * @generated + */ + public EAttribute getXmlStoredProcedureParameter_Type() + { + return (EAttribute)xmlStoredProcedureParameterEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcType Jdbc Type}'. + * + * + * @return the meta object for the attribute 'Jdbc Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcType() + * @see #getXmlStoredProcedureParameter() + * @generated + */ + public EAttribute getXmlStoredProcedureParameter_JdbcType() + { + return (EAttribute)xmlStoredProcedureParameterEClass.getEStructuralFeatures().get(4); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcTypeName Jdbc Type Name}'. + * + * + * @return the meta object for the attribute 'Jdbc Type Name'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStoredProcedureParameter#getJdbcTypeName() + * @see #getXmlStoredProcedureParameter() + * @generated + */ + public EAttribute getXmlStoredProcedureParameter_JdbcTypeName() + { + return (EAttribute)xmlStoredProcedureParameterEClass.getEStructuralFeatures().get(5); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct Xml Struct}'. + * + * + * @return the meta object for class 'Xml Struct'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStruct + * @generated + */ + public EClass getXmlStruct() + { + return xmlStructEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter Xml Struct Converter}'. + * + * + * @return the meta object for class 'Xml Struct Converter'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter + * @generated + */ + public EClass getXmlStructConverter() + { + return xmlStructConverterEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter#getConverter Converter}'. + * + * + * @return the meta object for the attribute 'Converter'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructConverter#getConverter() + * @see #getXmlStructConverter() + * @generated + */ + public EAttribute getXmlStructConverter_Converter() + { + return (EAttribute)xmlStructConverterEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure Xml Structure}'. + * + * + * @return the meta object for class 'Xml Structure'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlStructure + * @generated + */ + public EClass getXmlStructure() + { + return xmlStructureEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable Xml Table}'. + * + * + * @return the meta object for class 'Xml Table'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTable + * @generated + */ + public EClass getXmlTable() + { + return xmlTableEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator Xml Table Generator}'. + * + * + * @return the meta object for class 'Xml Table Generator'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTableGenerator + * @generated + */ + public EClass getXmlTableGenerator() + { + return xmlTableGeneratorEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn Xml Tenant Discriminator Column}'. + * + * + * @return the meta object for class 'Xml Tenant Discriminator Column'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantDiscriminatorColumn + * @generated + */ + public EClass getXmlTenantDiscriminatorColumn() + { + return xmlTenantDiscriminatorColumnEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator Xml Tenant Table Discriminator}'. + * + * + * @return the meta object for class 'Xml Tenant Table Discriminator'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTenantTableDiscriminator + * @generated + */ + public EClass getXmlTenantTableDiscriminator() + { + return xmlTenantTableDiscriminatorEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay Xml Time Of Day}'. + * + * + * @return the meta object for class 'Xml Time Of Day'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay + * @generated + */ + public EClass getXmlTimeOfDay() + { + return xmlTimeOfDayEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getHour Hour}'. + * + * + * @return the meta object for the attribute 'Hour'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getHour() + * @see #getXmlTimeOfDay() + * @generated + */ + public EAttribute getXmlTimeOfDay_Hour() + { + return (EAttribute)xmlTimeOfDayEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMinute Minute}'. + * + * + * @return the meta object for the attribute 'Minute'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMinute() + * @see #getXmlTimeOfDay() + * @generated + */ + public EAttribute getXmlTimeOfDay_Minute() + { + return (EAttribute)xmlTimeOfDayEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getSecond Second}'. + * + * + * @return the meta object for the attribute 'Second'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getSecond() + * @see #getXmlTimeOfDay() + * @generated + */ + public EAttribute getXmlTimeOfDay_Second() + { + return (EAttribute)xmlTimeOfDayEClass.getEStructuralFeatures().get(2); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMillisecond Millisecond}'. + * + * + * @return the meta object for the attribute 'Millisecond'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTimeOfDay#getMillisecond() + * @see #getXmlTimeOfDay() + * @generated + */ + public EAttribute getXmlTimeOfDay_Millisecond() + { + return (EAttribute)xmlTimeOfDayEClass.getEStructuralFeatures().get(3); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation Xml Transformation}'. + * + * + * @return the meta object for class 'Xml Transformation'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransformation + * @generated + */ + public EClass getXmlTransformation() + { + return xmlTransformationEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient Xml Transient}'. + * + * + * @return the meta object for class 'Xml Transient'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTransient + * @generated + */ + public EClass getXmlTransient() + { + return xmlTransientEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter Xml Type Converter}'. + * + * + * @return the meta object for class 'Xml Type Converter'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter + * @generated + */ + public EClass getXmlTypeConverter() + { + return xmlTypeConverterEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getDataType Data Type}'. + * + * + * @return the meta object for the attribute 'Data Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getDataType() + * @see #getXmlTypeConverter() + * @generated + */ + public EAttribute getXmlTypeConverter_DataType() + { + return (EAttribute)xmlTypeConverterEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getObjectType Object Type}'. + * + * + * @return the meta object for the attribute 'Object Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeConverter#getObjectType() + * @see #getXmlTypeConverter() + * @generated + */ + public EAttribute getXmlTypeConverter_ObjectType() + { + return (EAttribute)xmlTypeConverterEClass.getEStructuralFeatures().get(1); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping Xml Type Mapping}'. + * + * + * @return the meta object for class 'Xml Type Mapping'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlTypeMapping + * @generated + */ + public EClass getXmlTypeMapping() + { + return xmlTypeMappingEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne Xml Variable One To One}'. + * + * + * @return the meta object for class 'Xml Variable One To One'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne + * @generated + */ + public EClass getXmlVariableOneToOne() + { + return xmlVariableOneToOneEClass; + } + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#getTargetInterface Target Interface}'. + * + * + * @return the meta object for the attribute 'Target Interface'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVariableOneToOne#getTargetInterface() + * @see #getXmlVariableOneToOne() + * @generated + */ + public EAttribute getXmlVariableOneToOne_TargetInterface() + { + return (EAttribute)xmlVariableOneToOneEClass.getEStructuralFeatures().get(0); + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion Xml Version}'. + * + * + * @return the meta object for class 'Xml Version'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlVersion + * @generated + */ + public EClass getXmlVersion() + { + return xmlVersionEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning Xml Hash Partitioning}'. + * + * + * @return the meta object for class 'Xml Hash Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlHashPartitioning + * @generated + */ + public EClass getXmlHashPartitioning() + { + return xmlHashPartitioningEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning Xml Partitioning}'. + * + * + * @return the meta object for class 'Xml Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPartitioning + * @generated + */ + public EClass getXmlPartitioning() + { + return xmlPartitioningEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning Xml Pinned Partitioning}'. + * + * + * @return the meta object for class 'Xml Pinned Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPinnedPartitioning + * @generated + */ + public EClass getXmlPinnedPartitioning() + { + return xmlPinnedPartitioningEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord Xml Plsql Record}'. + * + * + * @return the meta object for class 'Xml Plsql Record'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlRecord + * @generated + */ + public EClass getXmlPlsqlRecord() + { + return xmlPlsqlRecordEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable Xml Plsql Table}'. + * + * + * @return the meta object for class 'Xml Plsql Table'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlPlsqlTable + * @generated + */ + public EClass getXmlPlsqlTable() + { + return xmlPlsqlTableEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning Xml Range Partitioning}'. + * + * + * @return the meta object for class 'Xml Range Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRangePartitioning + * @generated + */ + public EClass getXmlRangePartitioning() + { + return xmlRangePartitioningEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning Xml Replication Partitioning}'. + * + * + * @return the meta object for class 'Xml Replication Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlReplicationPartitioning + * @generated + */ + public EClass getXmlReplicationPartitioning() + { + return xmlReplicationPartitioningEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning Xml Round Robin Partitioning}'. + * + * + * @return the meta object for class 'Xml Round Robin Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlRoundRobinPartitioning + * @generated + */ + public EClass getXmlRoundRobinPartitioning() + { + return xmlRoundRobinPartitioningEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning Xml Union Partitioning}'. + * + * + * @return the meta object for class 'Xml Union Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUnionPartitioning + * @generated + */ + public EClass getXmlUnionPartitioning() + { + return xmlUnionPartitioningEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator Xml Uuid Generator}'. + * + * + * @return the meta object for class 'Xml Uuid Generator'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlUuidGenerator + * @generated + */ + public EClass getXmlUuidGenerator() + { + return xmlUuidGeneratorEClass; + } + + /** + * Returns the meta object for class '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning Xml Value Partitioning}'. + * + * + * @return the meta object for class 'Xml Value Partitioning'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlValuePartitioning + * @generated + */ + public EClass getXmlValuePartitioning() + { + return xmlValuePartitioningEClass; + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType Cache Coordination Type}'. + * + * + * @return the meta object for enum 'Cache Coordination Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType + * @generated + */ + public EEnum getCacheCoordinationType() + { + return cacheCoordinationTypeEEnum; + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType Cache Type}'. + * + * + * @return the meta object for enum 'Cache Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType + * @generated + */ + public EEnum getCacheType() + { + return cacheTypeEEnum; + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType Xml Change Tracking Type}'. + * + * + * @return the meta object for enum 'Xml Change Tracking Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType + * @generated + */ + public EEnum getXmlChangeTrackingType() + { + return xmlChangeTrackingTypeEEnum; + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection Xml Direction}'. + * + * + * @return the meta object for enum 'Xml Direction'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlDirection + * @generated + */ + public EEnum getXmlDirection() + { + return xmlDirectionEEnum; + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType Existence Type}'. + * + * + * @return the meta object for enum 'Existence Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType + * @generated + */ + public EEnum getExistenceType() + { + return existenceTypeEEnum; + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType Xml Join Fetch Type}'. + * + * + * @return the meta object for enum 'Xml Join Fetch Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @generated + */ + public EEnum getXmlJoinFetchType() + { + return xmlJoinFetchTypeEEnum; + } + + /** + * Returns the meta object for enum '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType Xml Optimistic Locking Type}'. + * + * + * @return the meta object for enum 'Xml Optimistic Locking Type'. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlOptimisticLockingType + * @generated + */ + public EEnum getXmlOptimisticLockingType() + { + return xmlOptimisticLockingTypeEEnum; + } + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + public EclipseLinkOrmFactory getEclipseLinkOrmFactory() + { + return (EclipseLinkOrmFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() + { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + xmlAccessMethodsEClass = createEClass(XML_ACCESS_METHODS); + createEAttribute(xmlAccessMethodsEClass, XML_ACCESS_METHODS__GET_METHOD); + createEAttribute(xmlAccessMethodsEClass, XML_ACCESS_METHODS__SET_METHOD); + + xmlAccessMethodsHolderEClass = createEClass(XML_ACCESS_METHODS_HOLDER); + createEReference(xmlAccessMethodsHolderEClass, XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS); + + xmlAdditionalCriteriaEClass = createEClass(XML_ADDITIONAL_CRITERIA); + + xmlArrayEClass = createEClass(XML_ARRAY); + + xmlAttributeMappingEClass = createEClass(XML_ATTRIBUTE_MAPPING); + createEAttribute(xmlAttributeMappingEClass, XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE); + + attributesEClass = createEClass(ATTRIBUTES); + createEReference(attributesEClass, ATTRIBUTES__BASIC_COLLECTIONS); + createEReference(attributesEClass, ATTRIBUTES__BASIC_MAPS); + createEReference(attributesEClass, ATTRIBUTES__TRANSFORMATIONS); + createEReference(attributesEClass, ATTRIBUTES__VARIABLE_ONE_TO_ONES); + + xmlBasicEClass = createEClass(XML_BASIC); + + xmlBasicCollectionEClass = createEClass(XML_BASIC_COLLECTION); + + xmlBasicMapEClass = createEClass(XML_BASIC_MAP); + + xmlBatchFetchEClass = createEClass(XML_BATCH_FETCH); + + xmlBatchFetchHolderEClass = createEClass(XML_BATCH_FETCH_HOLDER); + createEReference(xmlBatchFetchHolderEClass, XML_BATCH_FETCH_HOLDER__BATCH_FETCH); + + xmlCacheEClass = createEClass(XML_CACHE); + createEAttribute(xmlCacheEClass, XML_CACHE__EXPIRY); + createEAttribute(xmlCacheEClass, XML_CACHE__SIZE); + createEAttribute(xmlCacheEClass, XML_CACHE__SHARED); + createEAttribute(xmlCacheEClass, XML_CACHE__TYPE); + createEAttribute(xmlCacheEClass, XML_CACHE__ALWAYS_REFRESH); + createEAttribute(xmlCacheEClass, XML_CACHE__REFRESH_ONLY_IF_NEWER); + createEAttribute(xmlCacheEClass, XML_CACHE__DISABLE_HITS); + createEAttribute(xmlCacheEClass, XML_CACHE__COORDINATION_TYPE); + createEReference(xmlCacheEClass, XML_CACHE__EXPIRY_TIME_OF_DAY); + + xmlCacheHolderEClass = createEClass(XML_CACHE_HOLDER); + createEReference(xmlCacheHolderEClass, XML_CACHE_HOLDER__CACHE); + createEAttribute(xmlCacheHolderEClass, XML_CACHE_HOLDER__EXISTENCE_CHECKING); + + xmlCacheIndexEClass = createEClass(XML_CACHE_INDEX); + + xmlChangeTrackingEClass = createEClass(XML_CHANGE_TRACKING); + createEAttribute(xmlChangeTrackingEClass, XML_CHANGE_TRACKING__TYPE); + + xmlChangeTrackingHolderEClass = createEClass(XML_CHANGE_TRACKING_HOLDER); + createEReference(xmlChangeTrackingHolderEClass, XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING); + + xmlCloneCopyPolicyEClass = createEClass(XML_CLONE_COPY_POLICY); + 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); + + xmlConverterEClass = createEClass(XML_CONVERTER); + createEAttribute(xmlConverterEClass, XML_CONVERTER__CLASS_NAME); + + xmlConverterContainerEClass = createEClass(XML_CONVERTER_CONTAINER); + createEReference(xmlConverterContainerEClass, XML_CONVERTER_CONTAINER__CONVERTERS); + createEReference(xmlConverterContainerEClass, XML_CONVERTER_CONTAINER__TYPE_CONVERTERS); + createEReference(xmlConverterContainerEClass, XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS); + createEReference(xmlConverterContainerEClass, XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS); + + xmlConvertibleMappingEClass = createEClass(XML_CONVERTIBLE_MAPPING); + createEAttribute(xmlConvertibleMappingEClass, XML_CONVERTIBLE_MAPPING__CONVERT); + + xmlCopyPolicyEClass = createEClass(XML_COPY_POLICY); + createEAttribute(xmlCopyPolicyEClass, XML_COPY_POLICY__CLASS); + + xmlCustomizerEClass = createEClass(XML_CUSTOMIZER); + createEAttribute(xmlCustomizerEClass, XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME); + + xmlCustomizerHolderEClass = createEClass(XML_CUSTOMIZER_HOLDER); + createEReference(xmlCustomizerHolderEClass, XML_CUSTOMIZER_HOLDER__CUSTOMIZER); + + xmlElementCollectionEClass = createEClass(XML_ELEMENT_COLLECTION); + + xmlEmbeddableEClass = createEClass(XML_EMBEDDABLE); + createEReference(xmlEmbeddableEClass, XML_EMBEDDABLE__COPY_POLICY); + createEReference(xmlEmbeddableEClass, XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY); + createEReference(xmlEmbeddableEClass, XML_EMBEDDABLE__CLONE_COPY_POLICY); + createEAttribute(xmlEmbeddableEClass, XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS); + + xmlEmbeddedEClass = createEClass(XML_EMBEDDED); + + xmlEmbeddedIdEClass = createEClass(XML_EMBEDDED_ID); + + xmlEntityEClass = createEClass(XML_ENTITY); + createEReference(xmlEntityEClass, XML_ENTITY__OPTIMISTIC_LOCKING); + createEReference(xmlEntityEClass, XML_ENTITY__COPY_POLICY); + createEReference(xmlEntityEClass, XML_ENTITY__INSTANTIATION_COPY_POLICY); + createEReference(xmlEntityEClass, XML_ENTITY__CLONE_COPY_POLICY); + createEAttribute(xmlEntityEClass, XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS); + + xmlEntityMappingsEClass = createEClass(XML_ENTITY_MAPPINGS); + + xmlFetchAttributeEClass = createEClass(XML_FETCH_ATTRIBUTE); + + xmlFetchGroupEClass = createEClass(XML_FETCH_GROUP); + + xmlFieldEClass = createEClass(XML_FIELD); + + xmlHashPartitioningEClass = createEClass(XML_HASH_PARTITIONING); + + xmlIdEClass = createEClass(XML_ID); + + xmlIndexEClass = createEClass(XML_INDEX); + + xmlInstantiationCopyPolicyEClass = createEClass(XML_INSTANTIATION_COPY_POLICY); + + xmlJoinFetchEClass = createEClass(XML_JOIN_FETCH); + createEAttribute(xmlJoinFetchEClass, XML_JOIN_FETCH__JOIN_FETCH); + + xmlJoinFieldEClass = createEClass(XML_JOIN_FIELD); + + xmlJoinTableEClass = createEClass(XML_JOIN_TABLE); + + xmlManyToManyEClass = createEClass(XML_MANY_TO_MANY); + + xmlManyToOneEClass = createEClass(XML_MANY_TO_ONE); + + xmlMappedSuperclassEClass = createEClass(XML_MAPPED_SUPERCLASS); + createEReference(xmlMappedSuperclassEClass, XML_MAPPED_SUPERCLASS__OPTIMISTIC_LOCKING); + createEReference(xmlMappedSuperclassEClass, XML_MAPPED_SUPERCLASS__COPY_POLICY); + createEReference(xmlMappedSuperclassEClass, XML_MAPPED_SUPERCLASS__INSTANTIATION_COPY_POLICY); + createEReference(xmlMappedSuperclassEClass, XML_MAPPED_SUPERCLASS__CLONE_COPY_POLICY); + createEAttribute(xmlMappedSuperclassEClass, XML_MAPPED_SUPERCLASS__EXCLUDE_DEFAULT_MAPPINGS); + + xmlMultitenantEClass = createEClass(XML_MULTITENANT); + + xmlMultitenantHolderEClass = createEClass(XML_MULTITENANT_HOLDER); + createEReference(xmlMultitenantHolderEClass, XML_MULTITENANT_HOLDER__MULTITENANT); + + xmlMutableEClass = createEClass(XML_MUTABLE); + createEAttribute(xmlMutableEClass, XML_MUTABLE__MUTABLE); + + xmlNamedConverterEClass = createEClass(XML_NAMED_CONVERTER); + createEAttribute(xmlNamedConverterEClass, XML_NAMED_CONVERTER__NAME); + + xmlNamedPlsqlStoredFunctionQueryEClass = createEClass(XML_NAMED_PLSQL_STORED_FUNCTION_QUERY); + + xmlNamedPlsqlStoredProcedureQueryEClass = createEClass(XML_NAMED_PLSQL_STORED_PROCEDURE_QUERY); + + xmlNamedStoredFunctionQueryEClass = createEClass(XML_NAMED_STORED_FUNCTION_QUERY); + + xmlNamedStoredProcedureQueryEClass = createEClass(XML_NAMED_STORED_PROCEDURE_QUERY); + createEAttribute(xmlNamedStoredProcedureQueryEClass, XML_NAMED_STORED_PROCEDURE_QUERY__NAME); + createEAttribute(xmlNamedStoredProcedureQueryEClass, XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_CLASS); + createEAttribute(xmlNamedStoredProcedureQueryEClass, XML_NAMED_STORED_PROCEDURE_QUERY__RESULT_SET_MAPPING); + createEAttribute(xmlNamedStoredProcedureQueryEClass, XML_NAMED_STORED_PROCEDURE_QUERY__PROCEDURE_NAME); + createEAttribute(xmlNamedStoredProcedureQueryEClass, XML_NAMED_STORED_PROCEDURE_QUERY__RETURNS_RESULT_SET); + createEReference(xmlNamedStoredProcedureQueryEClass, XML_NAMED_STORED_PROCEDURE_QUERY__HINTS); + createEReference(xmlNamedStoredProcedureQueryEClass, XML_NAMED_STORED_PROCEDURE_QUERY__PARAMETERS); + + xmlNoSqlEClass = createEClass(XML_NO_SQL); + + xmlObjectTypeConverterEClass = createEClass(XML_OBJECT_TYPE_CONVERTER); + createEAttribute(xmlObjectTypeConverterEClass, XML_OBJECT_TYPE_CONVERTER__DATA_TYPE); + createEAttribute(xmlObjectTypeConverterEClass, XML_OBJECT_TYPE_CONVERTER__OBJECT_TYPE); + createEReference(xmlObjectTypeConverterEClass, XML_OBJECT_TYPE_CONVERTER__CONVERSION_VALUES); + createEAttribute(xmlObjectTypeConverterEClass, XML_OBJECT_TYPE_CONVERTER__DEFAULT_OBJECT_VALUE); + + xmlOneToManyEClass = createEClass(XML_ONE_TO_MANY); + + xmlOneToOneEClass = createEClass(XML_ONE_TO_ONE); + + xmlOptimisticLockingEClass = createEClass(XML_OPTIMISTIC_LOCKING); + createEAttribute(xmlOptimisticLockingEClass, XML_OPTIMISTIC_LOCKING__TYPE); + createEAttribute(xmlOptimisticLockingEClass, XML_OPTIMISTIC_LOCKING__CASCADE); + createEReference(xmlOptimisticLockingEClass, XML_OPTIMISTIC_LOCKING__SELECTED_COLUMNS); + + 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); + + xmlPlsqlRecordEClass = createEClass(XML_PLSQL_RECORD); + + xmlPlsqlTableEClass = createEClass(XML_PLSQL_TABLE); + + xmlPrimaryKeyEClass = createEClass(XML_PRIMARY_KEY); + + xmlPrivateOwnedEClass = createEClass(XML_PRIVATE_OWNED); + createEAttribute(xmlPrivateOwnedEClass, XML_PRIVATE_OWNED__PRIVATE_OWNED); + + xmlPropertyEClass = createEClass(XML_PROPERTY); + createEAttribute(xmlPropertyEClass, XML_PROPERTY__NAME); + createEAttribute(xmlPropertyEClass, XML_PROPERTY__VALUE); + createEAttribute(xmlPropertyEClass, XML_PROPERTY__VALUE_TYPE); + + xmlPropertyContainerEClass = createEClass(XML_PROPERTY_CONTAINER); + createEReference(xmlPropertyContainerEClass, XML_PROPERTY_CONTAINER__PROPERTIES); + + xmlQueryContainerEClass = createEClass(XML_QUERY_CONTAINER); + createEReference(xmlQueryContainerEClass, XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES); + + 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); + createEAttribute(xmlStoredProcedureParameterEClass, XML_STORED_PROCEDURE_PARAMETER__QUERY_PARAMETER); + createEAttribute(xmlStoredProcedureParameterEClass, XML_STORED_PROCEDURE_PARAMETER__TYPE); + createEAttribute(xmlStoredProcedureParameterEClass, XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE); + createEAttribute(xmlStoredProcedureParameterEClass, XML_STORED_PROCEDURE_PARAMETER__JDBC_TYPE_NAME); + + xmlStructEClass = createEClass(XML_STRUCT); + + xmlStructConverterEClass = createEClass(XML_STRUCT_CONVERTER); + createEAttribute(xmlStructConverterEClass, XML_STRUCT_CONVERTER__CONVERTER); + + xmlStructureEClass = createEClass(XML_STRUCTURE); + + xmlTableEClass = createEClass(XML_TABLE); + + xmlTableGeneratorEClass = createEClass(XML_TABLE_GENERATOR); + + xmlTenantDiscriminatorColumnEClass = createEClass(XML_TENANT_DISCRIMINATOR_COLUMN); + + xmlTenantTableDiscriminatorEClass = createEClass(XML_TENANT_TABLE_DISCRIMINATOR); + + xmlTimeOfDayEClass = createEClass(XML_TIME_OF_DAY); + createEAttribute(xmlTimeOfDayEClass, XML_TIME_OF_DAY__HOUR); + createEAttribute(xmlTimeOfDayEClass, XML_TIME_OF_DAY__MINUTE); + createEAttribute(xmlTimeOfDayEClass, XML_TIME_OF_DAY__SECOND); + createEAttribute(xmlTimeOfDayEClass, XML_TIME_OF_DAY__MILLISECOND); + + xmlTransformationEClass = createEClass(XML_TRANSFORMATION); + + xmlTransientEClass = createEClass(XML_TRANSIENT); + + xmlTypeConverterEClass = createEClass(XML_TYPE_CONVERTER); + createEAttribute(xmlTypeConverterEClass, XML_TYPE_CONVERTER__DATA_TYPE); + createEAttribute(xmlTypeConverterEClass, XML_TYPE_CONVERTER__OBJECT_TYPE); + + xmlTypeMappingEClass = createEClass(XML_TYPE_MAPPING); + + xmlUnionPartitioningEClass = createEClass(XML_UNION_PARTITIONING); + + xmlUuidGeneratorEClass = createEClass(XML_UUID_GENERATOR); + + xmlValuePartitioningEClass = createEClass(XML_VALUE_PARTITIONING); + + xmlVariableOneToOneEClass = createEClass(XML_VARIABLE_ONE_TO_ONE); + createEAttribute(xmlVariableOneToOneEClass, XML_VARIABLE_ONE_TO_ONE__TARGET_INTERFACE); + + xmlVersionEClass = createEClass(XML_VERSION); + + // Create enums + cacheCoordinationTypeEEnum = createEEnum(CACHE_COORDINATION_TYPE); + cacheTypeEEnum = createEEnum(CACHE_TYPE); + xmlChangeTrackingTypeEEnum = createEEnum(XML_CHANGE_TRACKING_TYPE); + xmlDirectionEEnum = createEEnum(XML_DIRECTION); + existenceTypeEEnum = createEEnum(EXISTENCE_TYPE); + xmlJoinFetchTypeEEnum = createEEnum(XML_JOIN_FETCH_TYPE); + xmlOptimisticLockingTypeEEnum = createEEnum(XML_OPTIMISTIC_LOCKING_TYPE); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() + { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + EclipseLinkOrmV1_1Package theEclipseLinkOrmV1_1Package = (EclipseLinkOrmV1_1Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV1_1Package.eNS_URI); + EclipseLinkOrmV2_0Package theEclipseLinkOrmV2_0Package = (EclipseLinkOrmV2_0Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_0Package.eNS_URI); + EclipseLinkOrmV2_1Package theEclipseLinkOrmV2_1Package = (EclipseLinkOrmV2_1Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_1Package.eNS_URI); + EclipseLinkOrmV2_2Package theEclipseLinkOrmV2_2Package = (EclipseLinkOrmV2_2Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_2Package.eNS_URI); + EclipseLinkOrmV2_3Package theEclipseLinkOrmV2_3Package = (EclipseLinkOrmV2_3Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_3Package.eNS_URI); + EclipseLinkOrmV2_4Package theEclipseLinkOrmV2_4Package = (EclipseLinkOrmV2_4Package)EPackage.Registry.INSTANCE.getEPackage(EclipseLinkOrmV2_4Package.eNS_URI); + XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + OrmPackage theOrmPackage = (OrmPackage)EPackage.Registry.INSTANCE.getEPackage(OrmPackage.eNS_URI); + + // Add subpackages + getESubpackages().add(theEclipseLinkOrmV1_1Package); + getESubpackages().add(theEclipseLinkOrmV2_0Package); + getESubpackages().add(theEclipseLinkOrmV2_1Package); + getESubpackages().add(theEclipseLinkOrmV2_2Package); + getESubpackages().add(theEclipseLinkOrmV2_3Package); + getESubpackages().add(theEclipseLinkOrmV2_4Package); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + xmlAdditionalCriteriaEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlAdditionalCriteria_2_2()); + xmlArrayEClass.getESuperTypes().add(theOrmPackage.getAbstractXmlAttributeMapping()); + xmlArrayEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlArrayEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlArray_2_3()); + xmlArrayEClass.getESuperTypes().add(this.getXmlConvertibleMapping()); + xmlAttributeMappingEClass.getESuperTypes().add(theOrmPackage.getXmlAttributeMapping()); + xmlAttributeMappingEClass.getESuperTypes().add(this.getXmlAccessMethodsHolder()); + xmlAttributeMappingEClass.getESuperTypes().add(this.getXmlPropertyContainer()); + attributesEClass.getESuperTypes().add(theOrmPackage.getAttributes()); + attributesEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlAttributes_2_3()); + xmlBasicEClass.getESuperTypes().add(theOrmPackage.getXmlBasic()); + xmlBasicEClass.getESuperTypes().add(theEclipseLinkOrmV1_1Package.getXmlBasic_1_1()); + xmlBasicEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlBasic_2_1()); + xmlBasicEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlBasic_2_2()); + xmlBasicEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlBasic_2_4()); + xmlBasicEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlBasicEClass.getESuperTypes().add(this.getXmlMutable()); + xmlBasicEClass.getESuperTypes().add(this.getXmlConvertibleMapping()); + xmlBasicEClass.getESuperTypes().add(this.getXmlConverterContainer()); + xmlBasicCollectionEClass.getESuperTypes().add(theOrmPackage.getAbstractXmlAttributeMapping()); + xmlBasicCollectionEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlBasicCollectionEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlBasicCollection_2_2()); + xmlBasicMapEClass.getESuperTypes().add(theOrmPackage.getAbstractXmlAttributeMapping()); + xmlBasicMapEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlBasicMapEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlBasicMap_2_2()); + xmlBatchFetchEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlBatchFetch_2_1()); + xmlCacheEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlCache_2_2()); + xmlCacheEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlCache_2_4()); + xmlCacheIndexEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlCacheIndex_2_4()); + xmlCollectionTableEClass.getESuperTypes().add(theOrmPackage.getXmlCollectionTable()); + xmlCollectionTableEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlCollectionTable_2_2()); + xmlConverterEClass.getESuperTypes().add(this.getXmlNamedConverter()); + xmlConvertibleMappingEClass.getESuperTypes().add(theOrmPackage.getXmlConvertibleMapping()); + xmlElementCollectionEClass.getESuperTypes().add(theOrmPackage.getXmlElementCollection()); + xmlElementCollectionEClass.getESuperTypes().add(theEclipseLinkOrmV2_0Package.getXmlElementCollection_2_0()); + xmlElementCollectionEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlElementCollection_2_1()); + xmlElementCollectionEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlElementCollection_2_2()); + xmlElementCollectionEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlElementCollection_2_3()); + xmlElementCollectionEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlElementCollection_2_4()); + xmlEmbeddableEClass.getESuperTypes().add(theOrmPackage.getXmlEmbeddable()); + xmlEmbeddableEClass.getESuperTypes().add(this.getXmlTypeMapping()); + xmlEmbeddableEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlEmbeddable_2_2()); + xmlEmbeddableEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlEmbeddable_2_3()); + xmlEmbeddableEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlEmbeddable_2_4()); + xmlEmbeddableEClass.getESuperTypes().add(this.getXmlCustomizerHolder()); + xmlEmbeddableEClass.getESuperTypes().add(this.getXmlChangeTrackingHolder()); + xmlEmbeddableEClass.getESuperTypes().add(this.getXmlConverterContainer()); + xmlEmbeddableEClass.getESuperTypes().add(this.getXmlPropertyContainer()); + xmlEmbeddedEClass.getESuperTypes().add(theOrmPackage.getXmlEmbedded()); + xmlEmbeddedEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlEmbedded_2_4()); + xmlEmbeddedEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlEmbeddedIdEClass.getESuperTypes().add(theOrmPackage.getXmlEmbeddedId()); + xmlEmbeddedIdEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlEntityEClass.getESuperTypes().add(theOrmPackage.getXmlEntity()); + xmlEntityEClass.getESuperTypes().add(this.getXmlTypeMapping()); + xmlEntityEClass.getESuperTypes().add(theEclipseLinkOrmV1_1Package.getXmlEntity_1_1()); + xmlEntityEClass.getESuperTypes().add(theEclipseLinkOrmV2_0Package.getXmlEntity_2_0()); + xmlEntityEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlEntity_2_1()); + xmlEntityEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlEntity_2_2()); + xmlEntityEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlEntity_2_3()); + xmlEntityEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlEntity_2_4()); + xmlEntityEClass.getESuperTypes().add(this.getXmlReadOnly()); + xmlEntityEClass.getESuperTypes().add(this.getXmlCustomizerHolder()); + xmlEntityEClass.getESuperTypes().add(this.getXmlChangeTrackingHolder()); + xmlEntityEClass.getESuperTypes().add(this.getXmlCacheHolder()); + xmlEntityEClass.getESuperTypes().add(this.getXmlConverterContainer()); + 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(theEclipseLinkOrmV2_3Package.getXmlEntityMappings_2_3()); + xmlEntityMappingsEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlEntityMappings_2_4()); + xmlEntityMappingsEClass.getESuperTypes().add(this.getXmlConverterContainer()); + xmlEntityMappingsEClass.getESuperTypes().add(this.getXmlQueryContainer()); + xmlFetchAttributeEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlFetchAttribute_2_1()); + xmlFetchGroupEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlFetchGroup_2_1()); + xmlFieldEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlField_2_4()); + xmlHashPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlHashPartitioning_2_2()); + xmlIdEClass.getESuperTypes().add(theOrmPackage.getXmlId()); + xmlIdEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlId_2_2()); + xmlIdEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlId_2_4()); + xmlIdEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlIdEClass.getESuperTypes().add(this.getXmlMutable()); + xmlIdEClass.getESuperTypes().add(this.getXmlConvertibleMapping()); + xmlIdEClass.getESuperTypes().add(this.getXmlConverterContainer()); + xmlIndexEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlIndex_2_2()); + xmlJoinFieldEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlJoinField_2_4()); + 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()); + xmlManyToManyEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlManyToMany_2_2()); + xmlManyToManyEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlManyToMany_2_4()); + xmlManyToManyEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + 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(theEclipseLinkOrmV2_4Package.getXmlManyToOne_2_4()); + xmlManyToOneEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlManyToOneEClass.getESuperTypes().add(this.getXmlJoinFetch()); + xmlMappedSuperclassEClass.getESuperTypes().add(theOrmPackage.getXmlMappedSuperclass()); + xmlMappedSuperclassEClass.getESuperTypes().add(this.getXmlTypeMapping()); + xmlMappedSuperclassEClass.getESuperTypes().add(theEclipseLinkOrmV1_1Package.getXmlMappedSuperclass_1_1()); + xmlMappedSuperclassEClass.getESuperTypes().add(theEclipseLinkOrmV2_0Package.getXmlMappedSuperclass_2_0()); + xmlMappedSuperclassEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlMappedSuperclass_2_1()); + xmlMappedSuperclassEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlMappedSuperclass_2_2()); + xmlMappedSuperclassEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlMappedSuperclass_2_3()); + xmlMappedSuperclassEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlMappedSuperclass_2_4()); + xmlMappedSuperclassEClass.getESuperTypes().add(this.getXmlReadOnly()); + xmlMappedSuperclassEClass.getESuperTypes().add(this.getXmlCustomizerHolder()); + xmlMappedSuperclassEClass.getESuperTypes().add(this.getXmlChangeTrackingHolder()); + xmlMappedSuperclassEClass.getESuperTypes().add(this.getXmlCacheHolder()); + xmlMappedSuperclassEClass.getESuperTypes().add(this.getXmlConverterContainer()); + xmlMappedSuperclassEClass.getESuperTypes().add(this.getXmlPropertyContainer()); + xmlMultitenantEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlMultitenant_2_3()); + xmlMultitenantEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlMultitenant_2_4()); + xmlNamedPlsqlStoredFunctionQueryEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlNamedPlsqlStoredFunctionQuery_2_3()); + xmlNamedPlsqlStoredProcedureQueryEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlNamedPlsqlStoredProcedureQuery_2_3()); + xmlNamedStoredFunctionQueryEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlNamedStoredFunctionQuery_2_3()); + xmlNoSqlEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlNoSql_2_4()); + xmlObjectTypeConverterEClass.getESuperTypes().add(this.getXmlNamedConverter()); + xmlOneToManyEClass.getESuperTypes().add(theOrmPackage.getXmlOneToMany()); + xmlOneToManyEClass.getESuperTypes().add(theEclipseLinkOrmV2_0Package.getXmlOneToMany_2_0()); + xmlOneToManyEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlOneToMany_2_1()); + xmlOneToManyEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlOneToMany_2_2()); + xmlOneToManyEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlOneToMany_2_4()); + xmlOneToManyEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlOneToManyEClass.getESuperTypes().add(this.getXmlPrivateOwned()); + xmlOneToManyEClass.getESuperTypes().add(this.getXmlJoinFetch()); + xmlOneToOneEClass.getESuperTypes().add(theOrmPackage.getXmlOneToOne()); + xmlOneToOneEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlOneToOne_2_1()); + xmlOneToOneEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlOneToOne_2_2()); + xmlOneToOneEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlOneToOne_2_4()); + xmlOneToOneEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlOneToOneEClass.getESuperTypes().add(this.getXmlPrivateOwned()); + 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()); + xmlPersistenceUnitDefaultsEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlPersistenceUnitDefaults_2_3()); + xmlPersistenceUnitMetadataEClass.getESuperTypes().add(theOrmPackage.getXmlPersistenceUnitMetadata()); + xmlPinnedPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlPinnedPartitioning_2_2()); + xmlPlsqlRecordEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlPlsqlRecord_2_3()); + xmlPlsqlTableEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlPlsqlTable_2_3()); + 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()); + xmlStructEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlStruct_2_3()); + xmlStructConverterEClass.getESuperTypes().add(this.getXmlNamedConverter()); + xmlStructureEClass.getESuperTypes().add(theOrmPackage.getAbstractXmlAttributeMapping()); + xmlStructureEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlStructureEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlStructure_2_3()); + 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()); + xmlTenantDiscriminatorColumnEClass.getESuperTypes().add(theOrmPackage.getAbstractXmlBaseDiscriminatorColumn()); + xmlTenantDiscriminatorColumnEClass.getESuperTypes().add(theEclipseLinkOrmV2_3Package.getXmlTenantDiscriminatorColumn_2_3()); + xmlTenantTableDiscriminatorEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlTenantTableDiscriminator_2_4()); + xmlTransformationEClass.getESuperTypes().add(theOrmPackage.getAbstractXmlAttributeMapping()); + xmlTransformationEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlTransientEClass.getESuperTypes().add(theOrmPackage.getXmlTransient()); + xmlTransientEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlTypeConverterEClass.getESuperTypes().add(this.getXmlNamedConverter()); + xmlTypeMappingEClass.getESuperTypes().add(theOrmPackage.getXmlTypeMapping()); + xmlTypeMappingEClass.getESuperTypes().add(theEclipseLinkOrmV2_1Package.getXmlTypeMapping_2_1()); + xmlUnionPartitioningEClass.getESuperTypes().add(theEclipseLinkOrmV2_2Package.getXmlUnionPartitioning_2_2()); + xmlUuidGeneratorEClass.getESuperTypes().add(theEclipseLinkOrmV2_4Package.getXmlUuidGenerator_2_4()); + 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_2Package.getXmlVersion_2_2()); + xmlVersionEClass.getESuperTypes().add(this.getXmlAttributeMapping()); + xmlVersionEClass.getESuperTypes().add(this.getXmlMutable()); + xmlVersionEClass.getESuperTypes().add(this.getXmlConvertibleMapping()); + xmlVersionEClass.getESuperTypes().add(this.getXmlConverterContainer()); + + // Initialize classes and features; add operations and parameters + initEClass(xmlAccessMethodsEClass, XmlAccessMethods.class, "XmlAccessMethods", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlAccessMethods_GetMethod(), theXMLTypePackage.getString(), "getMethod", null, 0, 1, XmlAccessMethods.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlAccessMethods_SetMethod(), theXMLTypePackage.getString(), "setMethod", null, 0, 1, XmlAccessMethods.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlAccessMethodsHolderEClass, XmlAccessMethodsHolder.class, "XmlAccessMethodsHolder", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlAccessMethodsHolder_AccessMethods(), this.getXmlAccessMethods(), null, "accessMethods", null, 0, 1, XmlAccessMethodsHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlAdditionalCriteriaEClass, XmlAdditionalCriteria.class, "XmlAdditionalCriteria", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlArrayEClass, XmlArray.class, "XmlArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlAttributeMappingEClass, XmlAttributeMapping.class, "XmlAttributeMapping", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlAttributeMapping_AttributeType(), theXMLTypePackage.getString(), "attributeType", null, 0, 1, XmlAttributeMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(attributesEClass, Attributes.class, "Attributes", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAttributes_BasicCollections(), this.getXmlBasicCollection(), null, "basicCollections", null, 0, -1, Attributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributes_BasicMaps(), this.getXmlBasicMap(), null, "basicMaps", null, 0, -1, Attributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributes_Transformations(), this.getXmlTransformation(), null, "transformations", null, 0, -1, Attributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributes_VariableOneToOnes(), this.getXmlVariableOneToOne(), null, "variableOneToOnes", null, 0, -1, Attributes.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlBasicEClass, XmlBasic.class, "XmlBasic", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlBasicCollectionEClass, XmlBasicCollection.class, "XmlBasicCollection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlBasicMapEClass, XmlBasicMap.class, "XmlBasicMap", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlBatchFetchEClass, XmlBatchFetch.class, "XmlBatchFetch", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlBatchFetchHolderEClass, XmlBatchFetchHolder.class, "XmlBatchFetchHolder", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlBatchFetchHolder_BatchFetch(), this.getXmlBatchFetch(), null, "batchFetch", null, 0, 1, XmlBatchFetchHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCacheEClass, XmlCache.class, "XmlCache", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlCache_Expiry(), theXMLTypePackage.getIntObject(), "expiry", null, 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlCache_Size(), theXMLTypePackage.getIntObject(), "size", null, 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlCache_Shared(), theXMLTypePackage.getBooleanObject(), "shared", null, 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlCache_Type(), this.getCacheType(), "type", null, 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlCache_AlwaysRefresh(), theXMLTypePackage.getBooleanObject(), "alwaysRefresh", null, 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlCache_RefreshOnlyIfNewer(), theXMLTypePackage.getBooleanObject(), "refreshOnlyIfNewer", null, 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlCache_DisableHits(), theXMLTypePackage.getBooleanObject(), "disableHits", null, 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlCache_CoordinationType(), this.getCacheCoordinationType(), "coordinationType", "", 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlCache_ExpiryTimeOfDay(), this.getXmlTimeOfDay(), null, "expiryTimeOfDay", null, 0, 1, XmlCache.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCacheHolderEClass, XmlCacheHolder.class, "XmlCacheHolder", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlCacheHolder_Cache(), this.getXmlCache(), null, "cache", null, 0, 1, XmlCacheHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlCacheHolder_ExistenceChecking(), this.getExistenceType(), "existenceChecking", "", 0, 1, XmlCacheHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCacheIndexEClass, XmlCacheIndex.class, "XmlCacheIndex", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlChangeTrackingEClass, XmlChangeTracking.class, "XmlChangeTracking", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlChangeTracking_Type(), this.getXmlChangeTrackingType(), "type", null, 0, 1, XmlChangeTracking.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlChangeTrackingHolderEClass, XmlChangeTrackingHolder.class, "XmlChangeTrackingHolder", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlChangeTrackingHolder_ChangeTracking(), this.getXmlChangeTracking(), null, "changeTracking", null, 0, 1, XmlChangeTrackingHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCloneCopyPolicyEClass, XmlCloneCopyPolicy.class, "XmlCloneCopyPolicy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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); + + initEClass(xmlConverterEClass, XmlConverter.class, "XmlConverter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlConverter_ClassName(), theXMLTypePackage.getString(), "className", null, 0, 1, XmlConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlConverterContainerEClass, XmlConverterContainer.class, "XmlConverterContainer", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlConverterContainer_Converters(), this.getXmlConverter(), null, "converters", null, 0, -1, XmlConverterContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlConverterContainer_TypeConverters(), this.getXmlTypeConverter(), null, "typeConverters", null, 0, -1, XmlConverterContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlConverterContainer_ObjectTypeConverters(), this.getXmlObjectTypeConverter(), null, "objectTypeConverters", null, 0, -1, XmlConverterContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlConverterContainer_StructConverters(), this.getXmlStructConverter(), null, "structConverters", null, 0, -1, XmlConverterContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlConvertibleMappingEClass, XmlConvertibleMapping.class, "XmlConvertibleMapping", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlConvertibleMapping_Convert(), theXMLTypePackage.getString(), "convert", null, 0, 1, XmlConvertibleMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCopyPolicyEClass, XmlCopyPolicy.class, "XmlCopyPolicy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlCopyPolicy_Class(), theXMLTypePackage.getString(), "class", null, 0, 1, XmlCopyPolicy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCustomizerEClass, XmlCustomizer.class, "XmlCustomizer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlCustomizer_CustomizerClassName(), theXMLTypePackage.getString(), "customizerClassName", null, 0, 1, XmlCustomizer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlCustomizerHolderEClass, XmlCustomizerHolder.class, "XmlCustomizerHolder", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlCustomizerHolder_Customizer(), theOrmPackage.getXmlClassReference(), null, "customizer", null, 0, 1, XmlCustomizerHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlElementCollectionEClass, XmlElementCollection.class, "XmlElementCollection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlEmbeddableEClass, XmlEmbeddable.class, "XmlEmbeddable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEmbeddable_CopyPolicy(), this.getXmlCopyPolicy(), null, "copyPolicy", null, 0, 1, XmlEmbeddable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEmbeddable_InstantiationCopyPolicy(), this.getXmlInstantiationCopyPolicy(), null, "instantiationCopyPolicy", null, 0, 1, XmlEmbeddable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEmbeddable_CloneCopyPolicy(), this.getXmlCloneCopyPolicy(), null, "cloneCopyPolicy", null, 0, 1, XmlEmbeddable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlEmbeddable_ExcludeDefaultMappings(), theXMLTypePackage.getBooleanObject(), "excludeDefaultMappings", null, 0, 1, XmlEmbeddable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEmbeddedEClass, XmlEmbedded.class, "XmlEmbedded", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlEmbeddedIdEClass, XmlEmbeddedId.class, "XmlEmbeddedId", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlEntityEClass, XmlEntity.class, "XmlEntity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlEntity_OptimisticLocking(), this.getXmlOptimisticLocking(), null, "optimisticLocking", null, 0, 1, XmlEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_CopyPolicy(), this.getXmlCopyPolicy(), null, "copyPolicy", null, 0, 1, XmlEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_InstantiationCopyPolicy(), this.getXmlInstantiationCopyPolicy(), null, "instantiationCopyPolicy", null, 0, 1, XmlEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlEntity_CloneCopyPolicy(), this.getXmlCloneCopyPolicy(), null, "cloneCopyPolicy", null, 0, 1, XmlEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlEntity_ExcludeDefaultMappings(), theXMLTypePackage.getBooleanObject(), "excludeDefaultMappings", null, 0, 1, XmlEntity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlEntityMappingsEClass, XmlEntityMappings.class, "XmlEntityMappings", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlFetchAttributeEClass, XmlFetchAttribute.class, "XmlFetchAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlFetchGroupEClass, XmlFetchGroup.class, "XmlFetchGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlFieldEClass, XmlField.class, "XmlField", !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); + + initEClass(xmlInstantiationCopyPolicyEClass, XmlInstantiationCopyPolicy.class, "XmlInstantiationCopyPolicy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + 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(xmlJoinFieldEClass, XmlJoinField.class, "XmlJoinField", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + 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); + + initEClass(xmlMappedSuperclassEClass, XmlMappedSuperclass.class, "XmlMappedSuperclass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMappedSuperclass_OptimisticLocking(), this.getXmlOptimisticLocking(), null, "optimisticLocking", null, 0, 1, XmlMappedSuperclass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMappedSuperclass_CopyPolicy(), this.getXmlCopyPolicy(), null, "copyPolicy", null, 0, 1, XmlMappedSuperclass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMappedSuperclass_InstantiationCopyPolicy(), this.getXmlInstantiationCopyPolicy(), null, "instantiationCopyPolicy", null, 0, 1, XmlMappedSuperclass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlMappedSuperclass_CloneCopyPolicy(), this.getXmlCloneCopyPolicy(), null, "cloneCopyPolicy", null, 0, 1, XmlMappedSuperclass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlMappedSuperclass_ExcludeDefaultMappings(), theXMLTypePackage.getBooleanObject(), "excludeDefaultMappings", null, 0, 1, XmlMappedSuperclass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMultitenantEClass, XmlMultitenant.class, "XmlMultitenant", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlMultitenantHolderEClass, XmlMultitenantHolder.class, "XmlMultitenantHolder", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlMultitenantHolder_Multitenant(), this.getXmlMultitenant(), null, "multitenant", null, 0, 1, XmlMultitenantHolder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlMutableEClass, XmlMutable.class, "XmlMutable", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlMutable_Mutable(), theXMLTypePackage.getBooleanObject(), "mutable", null, 0, 1, XmlMutable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlNamedConverterEClass, XmlNamedConverter.class, "XmlNamedConverter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlNamedConverter_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlNamedConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlNamedPlsqlStoredFunctionQueryEClass, XmlNamedPlsqlStoredFunctionQuery.class, "XmlNamedPlsqlStoredFunctionQuery", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlNamedPlsqlStoredProcedureQueryEClass, XmlNamedPlsqlStoredProcedureQuery.class, "XmlNamedPlsqlStoredProcedureQuery", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlNamedStoredFunctionQueryEClass, XmlNamedStoredFunctionQuery.class, "XmlNamedStoredFunctionQuery", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlNamedStoredProcedureQueryEClass, XmlNamedStoredProcedureQuery.class, "XmlNamedStoredProcedureQuery", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlNamedStoredProcedureQuery_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlNamedStoredProcedureQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlNamedStoredProcedureQuery_ResultClass(), theXMLTypePackage.getString(), "resultClass", null, 0, 1, XmlNamedStoredProcedureQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlNamedStoredProcedureQuery_ResultSetMapping(), theXMLTypePackage.getString(), "resultSetMapping", null, 0, 1, XmlNamedStoredProcedureQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlNamedStoredProcedureQuery_ProcedureName(), theXMLTypePackage.getString(), "procedureName", null, 0, 1, XmlNamedStoredProcedureQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlNamedStoredProcedureQuery_ReturnsResultSet(), theXMLTypePackage.getBooleanObject(), "returnsResultSet", null, 0, 1, XmlNamedStoredProcedureQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlNamedStoredProcedureQuery_Hints(), theOrmPackage.getXmlQueryHint(), null, "hints", null, 0, -1, XmlNamedStoredProcedureQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlNamedStoredProcedureQuery_Parameters(), this.getXmlStoredProcedureParameter(), null, "parameters", null, 0, -1, XmlNamedStoredProcedureQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlNoSqlEClass, XmlNoSql.class, "XmlNoSql", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlObjectTypeConverterEClass, XmlObjectTypeConverter.class, "XmlObjectTypeConverter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlObjectTypeConverter_DataType(), theXMLTypePackage.getString(), "dataType", null, 0, 1, XmlObjectTypeConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlObjectTypeConverter_ObjectType(), theXMLTypePackage.getString(), "objectType", null, 0, 1, XmlObjectTypeConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlObjectTypeConverter_ConversionValues(), this.getXmlConversionValue(), null, "conversionValues", null, 0, -1, XmlObjectTypeConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlObjectTypeConverter_DefaultObjectValue(), theXMLTypePackage.getString(), "defaultObjectValue", null, 0, 1, XmlObjectTypeConverter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlOneToManyEClass, XmlOneToMany.class, "XmlOneToMany", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlOneToOneEClass, XmlOneToOne.class, "XmlOneToOne", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlOptimisticLockingEClass, XmlOptimisticLocking.class, "XmlOptimisticLocking", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlOptimisticLocking_Type(), this.getXmlOptimisticLockingType(), "type", null, 0, 1, XmlOptimisticLocking.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlOptimisticLocking_Cascade(), theXMLTypePackage.getBooleanObject(), "cascade", null, 0, 1, XmlOptimisticLocking.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getXmlOptimisticLocking_SelectedColumns(), theOrmPackage.getXmlColumn(), null, "selectedColumns", null, 0, -1, XmlOptimisticLocking.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + 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(xmlPlsqlRecordEClass, XmlPlsqlRecord.class, "XmlPlsqlRecord", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlPlsqlTableEClass, XmlPlsqlTable.class, "XmlPlsqlTable", !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); + initEAttribute(getXmlPrivateOwned_PrivateOwned(), theXMLTypePackage.getBoolean(), "privateOwned", null, 0, 1, XmlPrivateOwned.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPropertyEClass, XmlProperty.class, "XmlProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getXmlProperty_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, XmlProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlProperty_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, XmlProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlProperty_ValueType(), theXMLTypePackage.getString(), "valueType", null, 0, 1, XmlProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlPropertyContainerEClass, XmlPropertyContainer.class, "XmlPropertyContainer", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlPropertyContainer_Properties(), this.getXmlProperty(), null, "properties", null, 0, -1, XmlPropertyContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlQueryContainerEClass, XmlQueryContainer.class, "XmlQueryContainer", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getXmlQueryContainer_NamedStoredProcedureQueries(), this.getXmlNamedStoredProcedureQuery(), null, "namedStoredProcedureQueries", null, 0, -1, XmlQueryContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + 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); + initEAttribute(getXmlStoredProcedureParameter_QueryParameter(), theXMLTypePackage.getString(), "queryParameter", null, 0, 1, XmlStoredProcedureParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlStoredProcedureParameter_Type(), theXMLTypePackage.getString(), "type", null, 0, 1, XmlStoredProcedureParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlStoredProcedureParameter_JdbcType(), theXMLTypePackage.getIntObject(), "jdbcType", null, 0, 1, XmlStoredProcedureParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlStoredProcedureParameter_JdbcTypeName(), theXMLTypePackage.getString(), "jdbcTypeName", null, 0, 1, XmlStoredProcedureParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlStructEClass, XmlStruct.class, "XmlStruct", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + 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(xmlStructureEClass, XmlStructure.class, "XmlStructure", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + 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(xmlTenantDiscriminatorColumnEClass, XmlTenantDiscriminatorColumn.class, "XmlTenantDiscriminatorColumn", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlTenantTableDiscriminatorEClass, XmlTenantTableDiscriminator.class, "XmlTenantTableDiscriminator", !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); + initEAttribute(getXmlTimeOfDay_Second(), theXMLTypePackage.getIntObject(), "second", null, 0, 1, XmlTimeOfDay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getXmlTimeOfDay_Millisecond(), theXMLTypePackage.getIntObject(), "millisecond", null, 0, 1, XmlTimeOfDay.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlTransformationEClass, XmlTransformation.class, "XmlTransformation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlTransientEClass, XmlTransient.class, "XmlTransient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlTypeConverterEClass, XmlTypeConverter.class, "XmlTypeConverter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + 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(xmlTypeMappingEClass, XmlTypeMapping.class, "XmlTypeMapping", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlUnionPartitioningEClass, XmlUnionPartitioning.class, "XmlUnionPartitioning", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(xmlUuidGeneratorEClass, XmlUuidGenerator.class, "XmlUuidGenerator", !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); + initEAttribute(getXmlVariableOneToOne_TargetInterface(), theXMLTypePackage.getString(), "targetInterface", null, 0, 1, XmlVariableOneToOne.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(xmlVersionEClass, XmlVersion.class, "XmlVersion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + // Initialize enums and add enum literals + initEEnum(cacheCoordinationTypeEEnum, CacheCoordinationType.class, "CacheCoordinationType"); + addEEnumLiteral(cacheCoordinationTypeEEnum, CacheCoordinationType.SEND_OBJECT_CHANGES); + addEEnumLiteral(cacheCoordinationTypeEEnum, CacheCoordinationType.INVALIDATE_CHANGED_OBJECTS); + addEEnumLiteral(cacheCoordinationTypeEEnum, CacheCoordinationType.SEND_NEW_OBJECTS_WITH_CHANGES); + addEEnumLiteral(cacheCoordinationTypeEEnum, CacheCoordinationType.NONE); + + initEEnum(cacheTypeEEnum, CacheType.class, "CacheType"); + addEEnumLiteral(cacheTypeEEnum, CacheType.FULL); + addEEnumLiteral(cacheTypeEEnum, CacheType.WEAK); + addEEnumLiteral(cacheTypeEEnum, CacheType.SOFT); + addEEnumLiteral(cacheTypeEEnum, CacheType.SOFT_WEAK); + addEEnumLiteral(cacheTypeEEnum, CacheType.HARD_WEAK); + addEEnumLiteral(cacheTypeEEnum, CacheType.CACHE); + addEEnumLiteral(cacheTypeEEnum, CacheType.NONE); + + initEEnum(xmlChangeTrackingTypeEEnum, XmlChangeTrackingType.class, "XmlChangeTrackingType"); + addEEnumLiteral(xmlChangeTrackingTypeEEnum, XmlChangeTrackingType.ATTRIBUTE); + addEEnumLiteral(xmlChangeTrackingTypeEEnum, XmlChangeTrackingType.OBJECT); + addEEnumLiteral(xmlChangeTrackingTypeEEnum, XmlChangeTrackingType.DEFERRED); + addEEnumLiteral(xmlChangeTrackingTypeEEnum, XmlChangeTrackingType.AUTO); + + initEEnum(xmlDirectionEEnum, XmlDirection.class, "XmlDirection"); + addEEnumLiteral(xmlDirectionEEnum, XmlDirection.IN); + addEEnumLiteral(xmlDirectionEEnum, XmlDirection.OUT); + addEEnumLiteral(xmlDirectionEEnum, XmlDirection.IN_OUT); + addEEnumLiteral(xmlDirectionEEnum, XmlDirection.OUT_CURSOR); + + initEEnum(existenceTypeEEnum, ExistenceType.class, "ExistenceType"); + addEEnumLiteral(existenceTypeEEnum, ExistenceType.CHECK_CACHE); + addEEnumLiteral(existenceTypeEEnum, ExistenceType.CHECK_DATABASE); + addEEnumLiteral(existenceTypeEEnum, ExistenceType.ASSUME_EXISTENCE); + addEEnumLiteral(existenceTypeEEnum, ExistenceType.ASSUME_NON_EXISTENCE); + + initEEnum(xmlJoinFetchTypeEEnum, XmlJoinFetchType.class, "XmlJoinFetchType"); + addEEnumLiteral(xmlJoinFetchTypeEEnum, XmlJoinFetchType.INNER); + addEEnumLiteral(xmlJoinFetchTypeEEnum, XmlJoinFetchType.OUTER); + + initEEnum(xmlOptimisticLockingTypeEEnum, XmlOptimisticLockingType.class, "XmlOptimisticLockingType"); + addEEnumLiteral(xmlOptimisticLockingTypeEEnum, XmlOptimisticLockingType.ALL_COLUMNS); + addEEnumLiteral(xmlOptimisticLockingTypeEEnum, XmlOptimisticLockingType.CHANGED_COLUMNS); + addEEnumLiteral(xmlOptimisticLockingTypeEEnum, XmlOptimisticLockingType.SELECTED_COLUMNS); + addEEnumLiteral(xmlOptimisticLockingTypeEEnum, XmlOptimisticLockingType.VERSION_COLUMN); + + // Create resource + createResource(eNS_URI); + } + + /** + * + * Defines literals for the meta objects that represent + *
+ * If the meaning of 'CHECK CACHE' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #CHECK_CACHE + * @model + * @generated + * @ordered + */ + public static final int CHECK_CACHE_VALUE = 0; + + /** + * The 'CHECK DATABASE' literal value. + * + *+ * If the meaning of 'CHECK DATABASE' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #CHECK_DATABASE + * @model + * @generated + * @ordered + */ + public static final int CHECK_DATABASE_VALUE = 1; + + /** + * The 'ASSUME EXISTENCE' literal value. + * + *+ * If the meaning of 'ASSUME EXISTENCE' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #ASSUME_EXISTENCE + * @model + * @generated + * @ordered + */ + public static final int ASSUME_EXISTENCE_VALUE = 2; + + /** + * The 'ASSUME NON EXISTENCE' literal value. + * + *+ * If the meaning of 'ASSUME NON EXISTENCE' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #ASSUME_NON_EXISTENCE + * @model + * @generated + * @ordered + */ + public static final int ASSUME_NON_EXISTENCE_VALUE = 3; + + /** + * An array of all the 'Existence Type' enumerators. + * + * + * @generated + */ + private static final ExistenceType[] VALUES_ARRAY = + new ExistenceType[] + { + CHECK_CACHE, + CHECK_DATABASE, + ASSUME_EXISTENCE, + ASSUME_NON_EXISTENCE, + }; + + /** + * A public read-only list of all the 'Existence Type' enumerators. + * + * + * @generated + */ + public static final List+ * The following features are supported: + *
+ * If the meaning of the 'Get Method' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Get Method' attribute. + * @see #setGetMethod(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethods_GetMethod() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getGetMethod() + { + return getMethod; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getGetMethod Get Method}' attribute. + * + * + * @param value the new value of the 'Get Method' attribute. + * @see #getGetMethod() + * @generated + */ + public void setGetMethod(String newGetMethod) + { + String oldGetMethod = getMethod; + getMethod = newGetMethod; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ACCESS_METHODS__GET_METHOD, oldGetMethod, getMethod)); + } + + /** + * Returns the value of the 'Set Method' attribute. + * + *+ * If the meaning of the 'Set Method' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Set Method' attribute. + * @see #setSetMethod(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethods_SetMethod() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getSetMethod() + { + return setMethod; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethods#getSetMethod Set Method}' attribute. + * + * + * @param value the new value of the 'Set Method' attribute. + * @see #getSetMethod() + * @generated + */ + public void setSetMethod(String newSetMethod) + { + String oldSetMethod = setMethod; + setMethod = newSetMethod; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ACCESS_METHODS__SET_METHOD, oldSetMethod, setMethod)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS__GET_METHOD: + return getGetMethod(); + case EclipseLinkOrmPackage.XML_ACCESS_METHODS__SET_METHOD: + return getSetMethod(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS__GET_METHOD: + setGetMethod((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ACCESS_METHODS__SET_METHOD: + setSetMethod((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS__GET_METHOD: + setGetMethod(GET_METHOD_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ACCESS_METHODS__SET_METHOD: + setSetMethod(SET_METHOD_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ACCESS_METHODS__GET_METHOD: + return GET_METHOD_EDEFAULT == null ? getMethod != null : !GET_METHOD_EDEFAULT.equals(getMethod); + case EclipseLinkOrmPackage.XML_ACCESS_METHODS__SET_METHOD: + return SET_METHOD_EDEFAULT == null ? setMethod != null : !SET_METHOD_EDEFAULT.equals(setMethod); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (getMethod: "); + result.append(getMethod); + result.append(", setMethod: "); + result.append(setMethod); + result.append(')'); + return result.toString(); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethods(), + buildTranslatorChildren() + ); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildGetMethodTranslator(), + buildSetMethodTranslator(), + }; + } + + protected static Translator buildGetMethodTranslator() { + return new Translator(EclipseLink.ACCESS_METHODS__GET_METHOD, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethods_GetMethod(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildSetMethodTranslator() { + return new Translator(EclipseLink.ACCESS_METHODS__SET_METHOD, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethods_SetMethod(), Translator.DOM_ATTRIBUTE); + } + +} // XmlAccessMethods diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethodsHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethodsHolder.java new file mode 100644 index 0000000000..f9a0f86ad2 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAccessMethodsHolder.java @@ -0,0 +1,60 @@ +/******************************************************************************* + * Copyright (c) 2009 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Access Methods Holder'. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + XmlAccessMethods getAccessMethods(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAccessMethodsHolder#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' containment reference. + * @see #getAccessMethods() + * @generated + */ + void setAccessMethods(XmlAccessMethods value); + +} // XmlAccessMethodsHolder diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAdditionalCriteria.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAdditionalCriteria.java new file mode 100644 index 0000000000..271ba4bad0 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAdditionalCriteria.java @@ -0,0 +1,221 @@ +/******************************************************************************* + * 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.jpa.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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlAdditionalCriteria_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Additional Criteria'. + * + * 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. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAdditionalCriteria() + * @model kind="class" + * @generated + */ +public class XmlAdditionalCriteria extends EBaseObjectImpl implements XmlAdditionalCriteria_2_2 +{ + /** + * The default value of the '{@link #getCriteria() Criteria}' attribute. + * + * + * @see #getCriteria() + * @generated + * @ordered + */ + protected static final String CRITERIA_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCriteria() Criteria}' attribute. + * + * + * @see #getCriteria() + * @generated + * @ordered + */ + protected String criteria = CRITERIA_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlAdditionalCriteria() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_ADDITIONAL_CRITERIA; + } + + /** + * Returns the value of the 'Criteria' attribute. + * + *+ * If the meaning of the 'Criteria' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Criteria' attribute. + * @see #setCriteria(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAdditionalCriteria_2_2_Criteria() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getCriteria() + { + return criteria; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAdditionalCriteria#getCriteria Criteria}' attribute. + * + * + * @param value the new value of the 'Criteria' attribute. + * @see #getCriteria() + * @generated + */ + public void setCriteria(String newCriteria) + { + String oldCriteria = criteria; + criteria = newCriteria; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ADDITIONAL_CRITERIA__CRITERIA, oldCriteria, criteria)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ADDITIONAL_CRITERIA__CRITERIA: + return getCriteria(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ADDITIONAL_CRITERIA__CRITERIA: + setCriteria((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ADDITIONAL_CRITERIA__CRITERIA: + setCriteria(CRITERIA_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ADDITIONAL_CRITERIA__CRITERIA: + return CRITERIA_EDEFAULT == null ? criteria != null : !CRITERIA_EDEFAULT.equals(criteria); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (criteria: "); + result.append(criteria); + result.append(')'); + return result.toString(); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlAdditionalCriteria(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildCriteriaTranslator() + }; + } + + protected static Translator buildCriteriaTranslator() { + return new Translator(EclipseLink2_2.CRITERIA, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlAdditionalCriteria_2_2_Criteria()); + } + +} // XmlAdditionalCriteria diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlArray.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlArray.java new file mode 100644 index 0000000000..4c6c17b3dc --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlArray.java @@ -0,0 +1,1328 @@ +/******************************************************************************* + * Copyright (c) 2011, 2012 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +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.EStructuralFeature; +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.common.core.internal.utility.translators.EmptyTagBooleanTranslator; +import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlAttributeMapping; +import org.eclipse.jpt.jpa.core.resource.orm.ColumnMapping; +import org.eclipse.jpt.jpa.core.resource.orm.EnumType; +import org.eclipse.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.core.resource.orm.TemporalType; +import org.eclipse.jpt.jpa.core.resource.orm.XmlColumn; +import org.eclipse.jpt.jpa.eclipselink.core.EclipseLinkMappingKeys; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLink2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlArray_2_3; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Array'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlArray() + * @model kind="class" + * @generated + */ +public class XmlArray extends AbstractXmlAttributeMapping implements XmlAttributeMapping, XmlArray_2_3, XmlConvertibleMapping +{ + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_ARRAY__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Object Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Lob' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Lob' attribute. + * @see #setLob(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Lob() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isLob() + { + return lob; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#isLob Lob}' attribute. + * + * + * @param value the new value of the 'Lob' attribute. + * @see #isLob() + * @generated + */ + public void setLob(boolean newLob) + { + boolean oldLob = lob; + lob = newLob; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__LOB, oldLob, lob)); + } + + /** + * Returns the value of the 'Temporal' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.core.resource.orm.TemporalType}. + * + *+ * If the meaning of the 'Temporal' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Temporal' attribute. + * @see org.eclipse.jpt.jpa.core.resource.orm.TemporalType + * @see #setTemporal(TemporalType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Temporal() + * @model + * @generated + */ + public TemporalType getTemporal() + { + return temporal; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#getTemporal Temporal}' attribute. + * + * + * @param value the new value of the 'Temporal' attribute. + * @see org.eclipse.jpt.jpa.core.resource.orm.TemporalType + * @see #getTemporal() + * @generated + */ + public void setTemporal(TemporalType newTemporal) + { + TemporalType oldTemporal = temporal; + temporal = newTemporal == null ? TEMPORAL_EDEFAULT : newTemporal; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__TEMPORAL, oldTemporal, temporal)); + } + + /** + * Returns the value of the 'Enumerated' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.core.resource.orm.EnumType}. + * + *+ * If the meaning of the 'Enumerated' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Enumerated' attribute. + * @see org.eclipse.jpt.jpa.core.resource.orm.EnumType + * @see #setEnumerated(EnumType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Enumerated() + * @model + * @generated + */ + public EnumType getEnumerated() + { + return enumerated; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#getEnumerated Enumerated}' attribute. + * + * + * @param value the new value of the 'Enumerated' attribute. + * @see org.eclipse.jpt.jpa.core.resource.orm.EnumType + * @see #getEnumerated() + * @generated + */ + public void setEnumerated(EnumType newEnumerated) + { + EnumType oldEnumerated = enumerated; + enumerated = newEnumerated == null ? ENUMERATED_EDEFAULT : newEnumerated; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__ENUMERATED, oldEnumerated, enumerated)); + } + + /** + * Returns the value of the 'Column' containment reference. + * + *+ * If the meaning of the 'Column' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Column' containment reference. + * @see #setColumn(XmlColumn) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getColumnMapping_Column() + * @model containment="true" + * @generated + */ + public XmlColumn getColumn() + { + return column; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetColumn(XmlColumn newColumn, NotificationChain msgs) + { + XmlColumn oldColumn = column; + column = newColumn; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__COLUMN, oldColumn, newColumn); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#getColumn Column}' containment reference. + * + * + * @param value the new value of the 'Column' containment reference. + * @see #getColumn() + * @generated + */ + public void setColumn(XmlColumn newColumn) + { + if (newColumn != column) + { + NotificationChain msgs = null; + if (column != null) + msgs = ((InternalEObject)column).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ARRAY__COLUMN, null, msgs); + if (newColumn != null) + msgs = ((InternalEObject)newColumn).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ARRAY__COLUMN, null, msgs); + msgs = basicSetColumn(newColumn, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__COLUMN, newColumn, newColumn)); + } + + /** + * Returns the value of the 'Database Type' attribute. + * + *+ * If the meaning of the 'Database Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Database Type' attribute. + * @see #setDatabaseType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlArray_2_3_DatabaseType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getDatabaseType() + { + return databaseType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#getDatabaseType Database Type}' attribute. + * + * + * @param value the new value of the 'Database Type' attribute. + * @see #getDatabaseType() + * @generated + */ + public void setDatabaseType(String newDatabaseType) + { + String oldDatabaseType = databaseType; + databaseType = newDatabaseType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__DATABASE_TYPE, oldDatabaseType, databaseType)); + } + + /** + * Returns the value of the 'Target Class' attribute. + * + *+ * If the meaning of the 'Target Class' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Target Class' attribute. + * @see #setTargetClass(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlArray_2_3_TargetClass() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getTargetClass() + { + return targetClass; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#getTargetClass Target Class}' attribute. + * + * + * @param value the new value of the 'Target Class' attribute. + * @see #getTargetClass() + * @generated + */ + public void setTargetClass(String newTargetClass) + { + String oldTargetClass = targetClass; + targetClass = newTargetClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__TARGET_CLASS, oldTargetClass, targetClass)); + } + + /** + * Returns the value of the 'Attribute Type' attribute. + * + *+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAttributeType() + { + return attributeType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + public void setAttributeType(String newAttributeType) + { + String oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * Returns the value of the 'Convert' attribute. + * + *+ * If the meaning of the 'Convert' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Convert' attribute. + * @see #setConvert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Convert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getConvert() + { + return convert; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlArray#getConvert Convert}' attribute. + * + * + * @param value the new value of the 'Convert' attribute. + * @see #getConvert() + * @generated + */ + public void setConvert(String newConvert) + { + String oldConvert = convert; + convert = newConvert; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ARRAY__CONVERT, oldConvert, convert)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES: + return ((InternalEList>)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS: + return ((InternalEList>)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS: + return ((InternalEList>)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS: + return ((InternalEList>)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS: + return ((InternalEList>)getStructConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ARRAY__COLUMN: + return basicSetColumn(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS: + return getStructConverters(); + case EclipseLinkOrmPackage.XML_ARRAY__LOB: + return isLob(); + case EclipseLinkOrmPackage.XML_ARRAY__TEMPORAL: + return getTemporal(); + case EclipseLinkOrmPackage.XML_ARRAY__ENUMERATED: + return getEnumerated(); + case EclipseLinkOrmPackage.XML_ARRAY__COLUMN: + return getColumn(); + case EclipseLinkOrmPackage.XML_ARRAY__DATABASE_TYPE: + return getDatabaseType(); + case EclipseLinkOrmPackage.XML_ARRAY__TARGET_CLASS: + return getTargetClass(); + case EclipseLinkOrmPackage.XML_ARRAY__CONVERT: + return getConvert(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection extends XmlProperty>)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection extends XmlConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection extends XmlTypeConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection extends XmlObjectTypeConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection extends XmlStructConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__LOB: + setLob((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__TEMPORAL: + setTemporal((TemporalType)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__ENUMERATED: + setEnumerated((EnumType)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__COLUMN: + setColumn((XmlColumn)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__DATABASE_TYPE: + setDatabaseType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__TARGET_CLASS: + setTargetClass((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ARRAY__CONVERT: + setConvert((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ARRAY__LOB: + setLob(LOB_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ARRAY__TEMPORAL: + setTemporal(TEMPORAL_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ARRAY__ENUMERATED: + setEnumerated(ENUMERATED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ARRAY__COLUMN: + setColumn((XmlColumn)null); + return; + case EclipseLinkOrmPackage.XML_ARRAY__DATABASE_TYPE: + setDatabaseType(DATABASE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ARRAY__TARGET_CLASS: + setTargetClass(TARGET_CLASS_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ARRAY__CONVERT: + setConvert(CONVERT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ARRAY__LOB: + return lob != LOB_EDEFAULT; + case EclipseLinkOrmPackage.XML_ARRAY__TEMPORAL: + return temporal != TEMPORAL_EDEFAULT; + case EclipseLinkOrmPackage.XML_ARRAY__ENUMERATED: + return enumerated != ENUMERATED_EDEFAULT; + case EclipseLinkOrmPackage.XML_ARRAY__COLUMN: + return column != null; + case EclipseLinkOrmPackage.XML_ARRAY__DATABASE_TYPE: + return DATABASE_TYPE_EDEFAULT == null ? databaseType != null : !DATABASE_TYPE_EDEFAULT.equals(databaseType); + case EclipseLinkOrmPackage.XML_ARRAY__TARGET_CLASS: + return TARGET_CLASS_EDEFAULT == null ? targetClass != null : !TARGET_CLASS_EDEFAULT.equals(targetClass); + case EclipseLinkOrmPackage.XML_ARRAY__CONVERT: + return CONVERT_EDEFAULT == null ? convert != null : !CONVERT_EDEFAULT.equals(convert); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class> baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == org.eclipse.jpt.jpa.core.resource.orm.XmlConvertibleMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__LOB: return OrmPackage.XML_CONVERTIBLE_MAPPING__LOB; + case EclipseLinkOrmPackage.XML_ARRAY__TEMPORAL: return OrmPackage.XML_CONVERTIBLE_MAPPING__TEMPORAL; + case EclipseLinkOrmPackage.XML_ARRAY__ENUMERATED: return OrmPackage.XML_CONVERTIBLE_MAPPING__ENUMERATED; + default: return -1; + } + } + if (baseClass == ColumnMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__COLUMN: return OrmPackage.COLUMN_MAPPING__COLUMN; + default: return -1; + } + } + if (baseClass == XmlArray_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__DATABASE_TYPE: return EclipseLinkOrmV2_3Package.XML_ARRAY_23__DATABASE_TYPE; + case EclipseLinkOrmPackage.XML_ARRAY__TARGET_CLASS: return EclipseLinkOrmV2_3Package.XML_ARRAY_23__TARGET_CLASS; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ARRAY__CONVERT: return EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @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_ARRAY__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ARRAY__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ARRAY__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ARRAY__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ARRAY__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ARRAY__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ARRAY__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == org.eclipse.jpt.jpa.core.resource.orm.XmlConvertibleMapping.class) + { + switch (baseFeatureID) + { + case OrmPackage.XML_CONVERTIBLE_MAPPING__LOB: return EclipseLinkOrmPackage.XML_ARRAY__LOB; + case OrmPackage.XML_CONVERTIBLE_MAPPING__TEMPORAL: return EclipseLinkOrmPackage.XML_ARRAY__TEMPORAL; + case OrmPackage.XML_CONVERTIBLE_MAPPING__ENUMERATED: return EclipseLinkOrmPackage.XML_ARRAY__ENUMERATED; + default: return -1; + } + } + if (baseClass == ColumnMapping.class) + { + switch (baseFeatureID) + { + case OrmPackage.COLUMN_MAPPING__COLUMN: return EclipseLinkOrmPackage.XML_ARRAY__COLUMN; + default: return -1; + } + } + if (baseClass == XmlArray_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_ARRAY_23__DATABASE_TYPE: return EclipseLinkOrmPackage.XML_ARRAY__DATABASE_TYPE; + case EclipseLinkOrmV2_3Package.XML_ARRAY_23__TARGET_CLASS: return EclipseLinkOrmPackage.XML_ARRAY__TARGET_CLASS; + default: return -1; + } + } + if (baseClass == XmlConvertibleMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTIBLE_MAPPING__CONVERT: return EclipseLinkOrmPackage.XML_ARRAY__CONVERT; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (attributeType: "); + result.append(attributeType); + result.append(", lob: "); + result.append(lob); + result.append(", temporal: "); + result.append(temporal); + result.append(", enumerated: "); + result.append(enumerated); + result.append(", databaseType: "); + result.append(databaseType); + result.append(", targetClass: "); + result.append(targetClass); + result.append(", convert: "); + result.append(convert); + result.append(')'); + return result.toString(); + } + + public String getMappingKey() { + return EclipseLinkMappingKeys.ARRAY_ATTRIBUTE_MAPPING_KEY; + } + + public TextRange getEnumeratedTextRange() { + return getAttributeTextRange(JPA.ENUMERATED); + } + + public TextRange getLobTextRange() { + return getAttributeTextRange(JPA.LOB); + } + + public TextRange getTemporalTextRange() { + return getAttributeTextRange(JPA.TEMPORAL); + } + + public TextRange getConvertTextRange() { + return getElementTextRange(EclipseLink.CONVERT); + } + + public TextRange getAttributeTypeTextRange() { + return getAttributeTextRange(EclipseLink2_1.ATTRIBUTE_TYPE); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlArray(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildDatabaseTypeTranslator(), + buildTargetClassTranslator(), + buildAccessTranslator(), + buildAttributeTypeTranslator(), + buildColumnTranslator(), + buildTemporalTranslator(), + buildEnumeratedTranslator(), + buildLobTranslator(), + buildConvertTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildPropertyTranslator(), + buildAccessMethodsTranslator() + }; + } + + + protected static Translator buildColumnTranslator() { + return XmlColumn.buildTranslator(JPA.COLUMN, OrmPackage.eINSTANCE.getColumnMapping_Column()); + } + + protected static Translator buildTemporalTranslator() { + return new Translator(JPA.TEMPORAL, OrmPackage.eINSTANCE.getXmlConvertibleMapping_Temporal()); + } + + protected static Translator buildEnumeratedTranslator() { + return new Translator(JPA.ENUMERATED, OrmPackage.eINSTANCE.getXmlConvertibleMapping_Enumerated()); + } + + protected static Translator buildLobTranslator() { + return new EmptyTagBooleanTranslator(JPA.LOB, OrmPackage.eINSTANCE.getXmlConvertibleMapping_Lob()); + } + + protected static Translator buildConvertTranslator() { + return new Translator(EclipseLink.CONVERT, EclipseLinkOrmPackage.eINSTANCE.getXmlConvertibleMapping_Convert()); + } + + protected static Translator buildConverterTranslator() { + return XmlConverter.buildTranslator(EclipseLink.CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_Converters()); + } + + protected static Translator buildTypeConverterTranslator() { + return XmlTypeConverter.buildTranslator(EclipseLink.TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_TypeConverters()); + } + + protected static Translator buildObjectTypeConverterTranslator() { + return XmlObjectTypeConverter.buildTranslator(EclipseLink.OBJECT_TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_ObjectTypeConverters()); + } + + protected static Translator buildStructConverterTranslator() { + return XmlStructConverter.buildTranslator(EclipseLink.STRUCT_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_StructConverters()); + } + + protected static Translator buildPropertyTranslator() { + return XmlProperty.buildTranslator(EclipseLink.PROPERTY, EclipseLinkOrmPackage.eINSTANCE.getXmlPropertyContainer_Properties()); + } + + protected static Translator buildAccessMethodsTranslator() { + return XmlAccessMethods.buildTranslator(EclipseLink.ACCESS_METHODS, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethodsHolder_AccessMethods()); + } + + protected static Translator buildDatabaseTypeTranslator() { + return new Translator(EclipseLink2_3.ARRAY__DATABASE_TYPE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlArray_2_3_DatabaseType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildTargetClassTranslator() { + return new Translator(EclipseLink2_3.ARRAY__TARGET_CLASS, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlArray_2_3_TargetClass(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildAttributeTypeTranslator() { + return new Translator(EclipseLink2_3.ARRAY__ATTRIBUTE_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlAttributeMapping_AttributeType(), Translator.DOM_ATTRIBUTE); + } + + // *********** content assist ************ + + protected TextRange getConvertCodeAssistTextRange() { + return getElementCodeAssistTextRange(EclipseLink.CONVERT); + } + + public boolean convertTouches(int pos) { + TextRange textRange = this.getConvertCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } + + protected TextRange getAttributeTypeCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink2_3.ARRAY__ATTRIBUTE_TYPE); + } + + public boolean attributeTypeTouches(int pos) { + TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } + + public TextRange getTargetClassCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink2_3.ARRAY__TARGET_CLASS); + } + + public boolean targetClassTouches(int pos) { + TextRange textRange = this.getTargetClassCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetClass) { + this.setAttributeType(attributeType); + this.setTargetClass(targetClass); + } +} // XmlArray diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAttributeMapping.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAttributeMapping.java new file mode 100644 index 0000000000..5ab61a1696 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlAttributeMapping.java @@ -0,0 +1,80 @@ +/******************************************************************************* + * Copyright (c) 2009, 2012 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.jpt.common.core.utility.TextRange; + + +/** + * + * A representation of the model object 'Xml Attribute Mapping'. + * + * 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. + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getAttributeType(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlAttributeMapping#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + void setAttributeType(String value); + + /** + * Sets the value of the 'Attribute Type' attribute and/or + * 'Target Entity ' or 'Target Class ' attribute for a virtual attribute mapping. + * These will be null depending on the mapping type + * + * @see EclipseLinkOrmPersistentType#addVirtualAttribute(String, String, String, String); + */ + void setVirtualAttributeTypes(String attributeType, String targetType); + + TextRange getAttributeTypeTextRange(); + +} // XmlAttributeMapping diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasic.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasic.java new file mode 100644 index 0000000000..4ea7feac54 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasic.java @@ -0,0 +1,1772 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +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.EStructuralFeature; +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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratedValue; +import org.eclipse.jpt.jpa.core.resource.orm.XmlGeneratorContainer; +import org.eclipse.jpt.jpa.core.resource.orm.XmlSequenceGenerator; +import org.eclipse.jpt.jpa.core.resource.orm.XmlTableGenerator; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLink1_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLinkOrmV1_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.XmlBasic_1_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBasic_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasic_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLink2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlBasic_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Basic'. + * + * 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. + * + * @version 2.3 + * @since 2.1 + * + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic() + * @model kind="class" + * @generated + */ +public class XmlBasic extends org.eclipse.jpt.jpa.core.resource.orm.XmlBasic implements XmlBasic_1_1, XmlBasic_2_1, XmlBasic_2_2, XmlBasic_2_4, XmlAttributeMapping, XmlMutable, XmlConvertibleMapping, XmlConverterContainer +{ + /** + * The cached value of the '{@link #getSequenceGenerator() Sequence Generator}' containment reference. + * + * + * @see #getSequenceGenerator() + * @generated + * @ordered + */ + protected XmlSequenceGenerator sequenceGenerator; + /** + * The cached value of the '{@link #getTableGenerator() Table Generator}' containment reference. + * + * + * @see #getTableGenerator() + * @generated + * @ordered + */ + protected XmlTableGenerator tableGenerator; + /** + * The cached value of the '{@link #getGeneratedValue() Generated Value}' containment reference. + * + * + * @see #getGeneratedValue() + * @generated + * @ordered + */ + protected XmlGeneratedValue generatedValue; + + /** + * The cached value of the '{@link #getReturnInsert() Return Insert}' containment reference. + * + * + * @see #getReturnInsert() + * @generated + * @ordered + */ + protected XmlReturnInsert returnInsert; + /** + * The default value of the '{@link #getReturnUpdate() Return Update}' attribute. + * + * + * @see #getReturnUpdate() + * @generated + * @ordered + */ + protected static final Boolean RETURN_UPDATE_EDEFAULT = null; + /** + * The cached value of the '{@link #getReturnUpdate() Return Update}' attribute. + * + * + * @see #getReturnUpdate() + * @generated + * @ordered + */ + protected Boolean returnUpdate = RETURN_UPDATE_EDEFAULT; + + /** + * The cached value of the '{@link #getIndex() Index}' containment reference. + * + * + * @see #getIndex() + * @generated + * @ordered + */ + protected XmlIndex_2_2 index; + /** + * The cached value of the '{@link #getUuidGenerator() Uuid Generator}' containment reference. + * + * + * @see #getUuidGenerator() + * @generated + * @ordered + */ + protected XmlUuidGenerator_2_4 uuidGenerator; + /** + * The cached value of the '{@link #getField() Field}' containment reference. + * + * + * @see #getField() + * @generated + * @ordered + */ + protected XmlField_2_4 field; + /** + * The cached value of the '{@link #getCacheIndex() Cache Index}' containment reference. + * + * + * @see #getCacheIndex() + * @generated + * @ordered + */ + protected XmlCacheIndex_2_4 cacheIndex; + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Mutable' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Mutable' attribute. + * @see #setMutable(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable_Mutable() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getMutable() + { + return mutable; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getMutable Mutable}' attribute. + * + * + * @param value the new value of the 'Mutable' attribute. + * @see #getMutable() + * @generated + */ + public void setMutable(Boolean newMutable) + { + Boolean oldMutable = mutable; + mutable = newMutable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__MUTABLE, oldMutable, mutable)); + } + + /** + * Returns the value of the 'Convert' attribute. + * + *+ * If the meaning of the 'Convert' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Convert' attribute. + * @see #setConvert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Convert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getConvert() + { + return convert; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getConvert Convert}' attribute. + * + * + * @param value the new value of the 'Convert' attribute. + * @see #getConvert() + * @generated + */ + public void setConvert(String newConvert) + { + String oldConvert = convert; + convert = newConvert; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__CONVERT, oldConvert, convert)); + } + + /** + * Returns the value of the 'Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter}. + * + *+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Object Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Sequence Generator' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Sequence Generator' containment reference. + * @see #setSequenceGenerator(XmlSequenceGenerator) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGeneratorContainer_SequenceGenerator() + * @model containment="true" + * @generated + */ + public XmlSequenceGenerator getSequenceGenerator() + { + return sequenceGenerator; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetSequenceGenerator(XmlSequenceGenerator newSequenceGenerator, NotificationChain msgs) + { + XmlSequenceGenerator oldSequenceGenerator = sequenceGenerator; + sequenceGenerator = newSequenceGenerator; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR, oldSequenceGenerator, newSequenceGenerator); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getSequenceGenerator Sequence Generator}' containment reference. + * + * + * @param value the new value of the 'Sequence Generator' containment reference. + * @see #getSequenceGenerator() + * @generated + */ + public void setSequenceGenerator(XmlSequenceGenerator newSequenceGenerator) + { + if (newSequenceGenerator != sequenceGenerator) + { + NotificationChain msgs = null; + if (sequenceGenerator != null) + msgs = ((InternalEObject)sequenceGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR, null, msgs); + if (newSequenceGenerator != null) + msgs = ((InternalEObject)newSequenceGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR, null, msgs); + msgs = basicSetSequenceGenerator(newSequenceGenerator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__SEQUENCE_GENERATOR, newSequenceGenerator, newSequenceGenerator)); + } + + /** + * Returns the value of the 'Table Generator' containment reference. + * + *+ * If the meaning of the 'Table Generator' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Table Generator' containment reference. + * @see #setTableGenerator(XmlTableGenerator) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGeneratorContainer_TableGenerator() + * @model containment="true" + * @generated + */ + public XmlTableGenerator getTableGenerator() + { + return tableGenerator; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTableGenerator(XmlTableGenerator newTableGenerator, NotificationChain msgs) + { + XmlTableGenerator oldTableGenerator = tableGenerator; + tableGenerator = newTableGenerator; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR, oldTableGenerator, newTableGenerator); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getTableGenerator Table Generator}' containment reference. + * + * + * @param value the new value of the 'Table Generator' containment reference. + * @see #getTableGenerator() + * @generated + */ + public void setTableGenerator(XmlTableGenerator newTableGenerator) + { + if (newTableGenerator != tableGenerator) + { + NotificationChain msgs = null; + if (tableGenerator != null) + msgs = ((InternalEObject)tableGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR, null, msgs); + if (newTableGenerator != null) + msgs = ((InternalEObject)newTableGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR, null, msgs); + msgs = basicSetTableGenerator(newTableGenerator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__TABLE_GENERATOR, newTableGenerator, newTableGenerator)); + } + + /** + * Returns the value of the 'Generated Value' containment reference. + * + *+ * If the meaning of the 'Generated Value' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Generated Value' containment reference. + * @see #setGeneratedValue(XmlGeneratedValue) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic_1_1_GeneratedValue() + * @model containment="true" + * @generated + */ + public XmlGeneratedValue getGeneratedValue() + { + return generatedValue; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetGeneratedValue(XmlGeneratedValue newGeneratedValue, NotificationChain msgs) + { + XmlGeneratedValue oldGeneratedValue = generatedValue; + generatedValue = newGeneratedValue; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE, oldGeneratedValue, newGeneratedValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getGeneratedValue Generated Value}' containment reference. + * + * + * @param value the new value of the 'Generated Value' containment reference. + * @see #getGeneratedValue() + * @generated + */ + public void setGeneratedValue(XmlGeneratedValue newGeneratedValue) + { + if (newGeneratedValue != generatedValue) + { + NotificationChain msgs = null; + if (generatedValue != null) + msgs = ((InternalEObject)generatedValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE, null, msgs); + if (newGeneratedValue != null) + msgs = ((InternalEObject)newGeneratedValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE, null, msgs); + msgs = basicSetGeneratedValue(newGeneratedValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__GENERATED_VALUE, newGeneratedValue, newGeneratedValue)); + } + + /** + * Returns the value of the 'Return Insert' containment reference. + * + *+ * If the meaning of the 'Return Insert' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Return Insert' containment reference. + * @see #setReturnInsert(XmlReturnInsert) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic_2_1_ReturnInsert() + * @model containment="true" + * @generated + */ + public XmlReturnInsert getReturnInsert() + { + return returnInsert; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetReturnInsert(XmlReturnInsert newReturnInsert, NotificationChain msgs) + { + XmlReturnInsert oldReturnInsert = returnInsert; + returnInsert = newReturnInsert; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT, oldReturnInsert, newReturnInsert); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getReturnInsert Return Insert}' containment reference. + * + * + * @param value the new value of the 'Return Insert' containment reference. + * @see #getReturnInsert() + * @generated + */ + public void setReturnInsert(XmlReturnInsert newReturnInsert) + { + if (newReturnInsert != returnInsert) + { + NotificationChain msgs = null; + if (returnInsert != null) + msgs = ((InternalEObject)returnInsert).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT, null, msgs); + if (newReturnInsert != null) + msgs = ((InternalEObject)newReturnInsert).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT, null, msgs); + msgs = basicSetReturnInsert(newReturnInsert, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__RETURN_INSERT, newReturnInsert, newReturnInsert)); + } + + /** + * Returns the value of the 'Return Update' attribute. + * + *+ * If the meaning of the 'Return Update' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Return Update' attribute. + * @see #setReturnUpdate(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic_2_1_ReturnUpdate() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getReturnUpdate() + { + return returnUpdate; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getReturnUpdate Return Update}' attribute. + * + * + * @param value the new value of the 'Return Update' attribute. + * @see #getReturnUpdate() + * @generated + */ + public void setReturnUpdate(Boolean newReturnUpdate) + { + Boolean oldReturnUpdate = returnUpdate; + returnUpdate = newReturnUpdate; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__RETURN_UPDATE, oldReturnUpdate, returnUpdate)); + } + + /** + * Returns the value of the 'Attribute Type' attribute. + * + *+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAttributeType() + { + return attributeType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + public void setAttributeType(String newAttributeType) + { + String oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * Returns the value of the 'Index' containment reference. + * + *+ * If the meaning of the 'Index' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Index' containment reference. + * @see #setIndex(XmlIndex_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic_2_2_Index() + * @model containment="true" + * @generated + */ + public XmlIndex_2_2 getIndex() + { + return index; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetIndex(XmlIndex_2_2 newIndex, NotificationChain msgs) + { + XmlIndex_2_2 oldIndex = index; + index = newIndex; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__INDEX, oldIndex, newIndex); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getIndex Index}' containment reference. + * + * + * @param value the new value of the 'Index' containment reference. + * @see #getIndex() + * @generated + */ + public void setIndex(XmlIndex_2_2 newIndex) + { + if (newIndex != index) + { + NotificationChain msgs = null; + if (index != null) + msgs = ((InternalEObject)index).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__INDEX, null, msgs); + if (newIndex != null) + msgs = ((InternalEObject)newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__INDEX, null, msgs); + msgs = basicSetIndex(newIndex, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__INDEX, newIndex, newIndex)); + } + + /** + * Returns the value of the 'Field' containment reference. + * + *+ * If the meaning of the 'Field' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Field' containment reference. + * @see #setField(XmlField_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic_2_4_Field() + * @model containment="true" + * @generated + */ + public XmlField_2_4 getField() + { + return field; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetField(XmlField_2_4 newField, NotificationChain msgs) + { + XmlField_2_4 oldField = field; + field = newField; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__FIELD, oldField, newField); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getField Field}' containment reference. + * + * + * @param value the new value of the 'Field' containment reference. + * @see #getField() + * @generated + */ + public void setField(XmlField_2_4 newField) + { + if (newField != field) + { + NotificationChain msgs = null; + if (field != null) + msgs = ((InternalEObject)field).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__FIELD, null, msgs); + if (newField != null) + msgs = ((InternalEObject)newField).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__FIELD, null, msgs); + msgs = basicSetField(newField, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__FIELD, newField, newField)); + } + + /** + * Returns the value of the 'Cache Index' containment reference. + * + *+ * If the meaning of the 'Cache Index' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cache Index' containment reference. + * @see #setCacheIndex(XmlCacheIndex_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasic_2_4_CacheIndex() + * @model containment="true" + * @generated + */ + public XmlCacheIndex_2_4 getCacheIndex() + { + return cacheIndex; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCacheIndex(XmlCacheIndex_2_4 newCacheIndex, NotificationChain msgs) + { + XmlCacheIndex_2_4 oldCacheIndex = cacheIndex; + cacheIndex = newCacheIndex; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX, oldCacheIndex, newCacheIndex); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getCacheIndex Cache Index}' containment reference. + * + * + * @param value the new value of the 'Cache Index' containment reference. + * @see #getCacheIndex() + * @generated + */ + public void setCacheIndex(XmlCacheIndex_2_4 newCacheIndex) + { + if (newCacheIndex != cacheIndex) + { + NotificationChain msgs = null; + if (cacheIndex != null) + msgs = ((InternalEObject)cacheIndex).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX, null, msgs); + if (newCacheIndex != null) + msgs = ((InternalEObject)newCacheIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX, null, msgs); + msgs = basicSetCacheIndex(newCacheIndex, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__CACHE_INDEX, newCacheIndex, newCacheIndex)); + } + + /** + * Returns the value of the 'Uuid Generator' containment reference. + * + *+ * If the meaning of the 'Uuid Generator' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Uuid Generator' containment reference. + * @see #setUuidGenerator(XmlUuidGenerator_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGeneratorContainer2_4_UuidGenerator() + * @model containment="true" + * @generated + */ + public XmlUuidGenerator_2_4 getUuidGenerator() + { + return uuidGenerator; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetUuidGenerator(XmlUuidGenerator_2_4 newUuidGenerator, NotificationChain msgs) + { + XmlUuidGenerator_2_4 oldUuidGenerator = uuidGenerator; + uuidGenerator = newUuidGenerator; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR, oldUuidGenerator, newUuidGenerator); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getUuidGenerator Uuid Generator}' containment reference. + * + * + * @param value the new value of the 'Uuid Generator' containment reference. + * @see #getUuidGenerator() + * @generated + */ + public void setUuidGenerator(XmlUuidGenerator_2_4 newUuidGenerator) + { + if (newUuidGenerator != uuidGenerator) + { + NotificationChain msgs = null; + if (uuidGenerator != null) + msgs = ((InternalEObject)uuidGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR, null, msgs); + if (newUuidGenerator != null) + msgs = ((InternalEObject)newUuidGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR, null, msgs); + msgs = basicSetUuidGenerator(newUuidGenerator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__UUID_GENERATOR, newUuidGenerator, newUuidGenerator)); + } + + /** + * Returns the value of the 'Access Methods' containment reference. + * + *+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasic#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_BASIC__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_BASIC_COLLECTION__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAttributeType() + { + return attributeType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + public void setAttributeType(String newAttributeType) + { + String oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * Returns the value of the 'Cascade On Delete' attribute. + * + *+ * If the meaning of the 'Cascade On Delete' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cascade On Delete' attribute. + * @see #setCascadeOnDelete(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicCollection_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getCascadeOnDelete() + { + return cascadeOnDelete; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicCollection#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + public void setCascadeOnDelete(Boolean newCascadeOnDelete) + { + Boolean oldCascadeOnDelete = cascadeOnDelete; + cascadeOnDelete = newCascadeOnDelete; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC_COLLECTION__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES: + return ((InternalEList>)getProperties()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__CASCADE_ON_DELETE: + return getCascadeOnDelete(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection extends XmlProperty>)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__CASCADE_ON_DELETE: + setCascadeOnDelete((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__CASCADE_ON_DELETE: + setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__CASCADE_ON_DELETE: + return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class> baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlBasicCollection_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC_COLLECTION__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_BASIC_COLLECTION_22__CASCADE_ON_DELETE; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @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_BASIC_COLLECTION__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_BASIC_COLLECTION__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_BASIC_COLLECTION__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlBasicCollection_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_BASIC_COLLECTION_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_BASIC_COLLECTION__CASCADE_ON_DELETE; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (attributeType: "); + result.append(attributeType); + result.append(", cascadeOnDelete: "); + result.append(cascadeOnDelete); + result.append(')'); + return result.toString(); + } + + public String getMappingKey() { + return EclipseLinkMappingKeys.BASIC_COLLECTION_ATTRIBUTE_MAPPING_KEY; + } + + public TextRange getAttributeTypeTextRange() { + return getAttributeTextRange(EclipseLink2_1.ATTRIBUTE_TYPE); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildAccessTranslator() + }; + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetType) { + this.setAttributeType(attributeType); + } + + // *********** content assist ************ + + protected TextRange getAttributeTypeCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink2_1.ATTRIBUTE_TYPE); + } + + public boolean attributeTypeTouches(int pos) { + TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicMap.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicMap.java new file mode 100644 index 0000000000..59a542e397 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBasicMap.java @@ -0,0 +1,543 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +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.EStructuralFeature; +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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.jpt.jpa.core.resource.orm.AbstractXmlAttributeMapping; +import org.eclipse.jpt.jpa.eclipselink.core.EclipseLinkMappingKeys; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlBasicMap_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Basic Map Impl'. + * + * 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. * + * + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicMap() + * @model kind="class" + * @generated + */ +public class XmlBasicMap extends AbstractXmlAttributeMapping implements XmlAttributeMapping, XmlBasicMap_2_2 +{ + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_BASIC_MAP__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAttributeType() + { + return attributeType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + public void setAttributeType(String newAttributeType) + { + String oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC_MAP__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * Returns the value of the 'Cascade On Delete' attribute. + * + *+ * If the meaning of the 'Cascade On Delete' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cascade On Delete' attribute. + * @see #setCascadeOnDelete(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBasicMap_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getCascadeOnDelete() + { + return cascadeOnDelete; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBasicMap#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + public void setCascadeOnDelete(Boolean newCascadeOnDelete) + { + Boolean oldCascadeOnDelete = cascadeOnDelete; + cascadeOnDelete = newCascadeOnDelete; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BASIC_MAP__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES: + return ((InternalEList>)getProperties()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_BASIC_MAP__ATTRIBUTE_TYPE: + return getAttributeType(); + case EclipseLinkOrmPackage.XML_BASIC_MAP__CASCADE_ON_DELETE: + return getCascadeOnDelete(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection extends XmlProperty>)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC_MAP__ATTRIBUTE_TYPE: + setAttributeType((String)newValue); + return; + case EclipseLinkOrmPackage.XML_BASIC_MAP__CASCADE_ON_DELETE: + setCascadeOnDelete((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_BASIC_MAP__ATTRIBUTE_TYPE: + setAttributeType(ATTRIBUTE_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_BASIC_MAP__CASCADE_ON_DELETE: + setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_BASIC_MAP__ATTRIBUTE_TYPE: + return ATTRIBUTE_TYPE_EDEFAULT == null ? attributeType != null : !ATTRIBUTE_TYPE_EDEFAULT.equals(attributeType); + case EclipseLinkOrmPackage.XML_BASIC_MAP__CASCADE_ON_DELETE: + return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class> baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlBasicMap_2_2.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_BASIC_MAP__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_BASIC_MAP_22__CASCADE_ON_DELETE; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @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_BASIC_MAP__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_BASIC_MAP__PROPERTIES; + default: return -1; + } + } + if (baseClass == XmlAttributeMapping.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_ATTRIBUTE_MAPPING__ATTRIBUTE_TYPE: return EclipseLinkOrmPackage.XML_BASIC_MAP__ATTRIBUTE_TYPE; + default: return -1; + } + } + if (baseClass == XmlBasicMap_2_2.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_2Package.XML_BASIC_MAP_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_BASIC_MAP__CASCADE_ON_DELETE; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (attributeType: "); + result.append(attributeType); + result.append(", cascadeOnDelete: "); + result.append(cascadeOnDelete); + result.append(')'); + return result.toString(); + } + + public String getMappingKey() { + return EclipseLinkMappingKeys.BASIC_MAP_ATTRIBUTE_MAPPING_KEY; + } + + public TextRange getAttributeTypeTextRange() { + return getAttributeTextRange(EclipseLink2_1.ATTRIBUTE_TYPE); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildAccessTranslator() + }; + } + + // ******** virtual attribute ************ + + public void setVirtualAttributeTypes(String attributeType, String targetType) { + this.setAttributeType(attributeType); + } + + // *********** content assist ************ + + protected TextRange getAttributeTypeCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink2_1.ATTRIBUTE_TYPE); + } + + public boolean attributeTypeTouches(int pos) { + TextRange textRange = this.getAttributeTypeCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetch.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetch.java new file mode 100644 index 0000000000..ff340763ed --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetch.java @@ -0,0 +1,296 @@ +/******************************************************************************* + * 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.jpa.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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlBatchFetch_2_1; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xm Batch Fetch'. + * + * 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. + * + * @version 2.3 + * @since 2.3 + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetch() + * @model kind="class" + * @generated + */ +public class XmlBatchFetch extends EBaseObjectImpl implements XmlBatchFetch_2_1 +{ + /** + * The default value of the '{@link #getSize() Size}' attribute. + * + * + * @see #getSize() + * @generated + * @ordered + */ + protected static final Integer SIZE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getSize() Size}' attribute. + * + * + * @see #getSize() + * @generated + * @ordered + */ + protected Integer size = SIZE_EDEFAULT; + + /** + * changed this to null and removed the generated flag so emf won't generate over it + * we don't want a default for enums, just null if the tag does not exist + */ + protected static final BatchFetchType_2_1 BATCH_FETCH_TYPE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getBatchFetchType() Batch Fetch Type}' attribute. + * + * + * @see #getBatchFetchType() + * @generated + * @ordered + */ + protected BatchFetchType_2_1 batchFetchType = BATCH_FETCH_TYPE_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlBatchFetch() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_BATCH_FETCH; + } + + /** + * Returns the value of the 'Size' attribute. + * + *+ * If the meaning of the 'Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Size' attribute. + * @see #setSize(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetch_2_1_Size() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getSize() + { + return size; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch#getSize Size}' attribute. + * + * + * @param value the new value of the 'Size' attribute. + * @see #getSize() + * @generated + */ + public void setSize(Integer newSize) + { + Integer oldSize = size; + size = newSize; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BATCH_FETCH__SIZE, oldSize, size)); + } + + /** + * Returns the value of the 'Batch Fetch Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1}. + * + *+ * If the meaning of the 'Batch Fetch Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Batch Fetch Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 + * @see #setBatchFetchType(BatchFetchType_2_1) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetch_2_1_BatchFetchType() + * @model + * @generated + */ + public BatchFetchType_2_1 getBatchFetchType() + { + return batchFetchType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetch#getBatchFetchType Batch Fetch Type}' attribute. + * + * + * @param value the new value of the 'Batch Fetch Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.BatchFetchType_2_1 + * @see #getBatchFetchType() + * @generated + */ + public void setBatchFetchType(BatchFetchType_2_1 newBatchFetchType) + { + BatchFetchType_2_1 oldBatchFetchType = batchFetchType; + batchFetchType = newBatchFetchType == null ? BATCH_FETCH_TYPE_EDEFAULT : newBatchFetchType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_BATCH_FETCH__BATCH_FETCH_TYPE, oldBatchFetchType, batchFetchType)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH__SIZE: + return getSize(); + case EclipseLinkOrmPackage.XML_BATCH_FETCH__BATCH_FETCH_TYPE: + return getBatchFetchType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH__SIZE: + setSize((Integer)newValue); + return; + case EclipseLinkOrmPackage.XML_BATCH_FETCH__BATCH_FETCH_TYPE: + setBatchFetchType((BatchFetchType_2_1)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH__SIZE: + setSize(SIZE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_BATCH_FETCH__BATCH_FETCH_TYPE: + setBatchFetchType(BATCH_FETCH_TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_BATCH_FETCH__SIZE: + return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size); + case EclipseLinkOrmPackage.XML_BATCH_FETCH__BATCH_FETCH_TYPE: + return batchFetchType != BATCH_FETCH_TYPE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (size: "); + result.append(size); + result.append(", batchFetchType: "); + result.append(batchFetchType); + result.append(')'); + return result.toString(); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + Translator.END_TAG_NO_INDENT, + buildTranslatorChildren() + ); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildSizeTranslator(), + buildBatchFetchTypeTranslator(), + }; + } + + protected static Translator buildSizeTranslator() { + return new Translator(EclipseLink2_1.BATCH_FETCH__SIZE, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlBatchFetch_2_1_Size(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildBatchFetchTypeTranslator() { + return new Translator(EclipseLink2_1.BATCH_FETCH__TYPE, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlBatchFetch_2_1_BatchFetchType(), Translator.DOM_ATTRIBUTE); + } + +} // XmBatchFetch diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetchHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetchHolder.java new file mode 100644 index 0000000000..5b85c75e01 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlBatchFetchHolder.java @@ -0,0 +1,68 @@ +/******************************************************************************* + * 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * A representation of the model object 'Xml Batch Fetch Holder'. + * + * 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. + * + * @version 2.3 + * @since 2.3 + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Batch Fetch' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Batch Fetch' containment reference. + * @see #setBatchFetch(XmlBatchFetch) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder_BatchFetch() + * @model containment="true" + * @generated + */ + XmlBatchFetch getBatchFetch(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlBatchFetchHolder#getBatchFetch Batch Fetch}' containment reference. + * + * + * @param value the new value of the 'Batch Fetch' containment reference. + * @see #getBatchFetch() + * @generated + */ + void setBatchFetch(XmlBatchFetch value); + +} // XmlBatchFetchHolder diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCache.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCache.java new file mode 100644 index 0000000000..ad410d4553 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCache.java @@ -0,0 +1,1029 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCache_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLink2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCache_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Cache'. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + * + *+ * The following features are supported: + *
""
.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType}.
+ *
+ * + * If the meaning of the 'Isolation' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Isolation' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType + * @see #setIsolation(CacheIsolationType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_2_2_Isolation() + * @model default="" + * @generated + */ + public CacheIsolationType getIsolation() + { + return isolation; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getIsolation Isolation}' attribute. + * + * + * @param value the new value of the 'Isolation' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.CacheIsolationType + * @see #getIsolation() + * @generated + */ + public void setIsolation(CacheIsolationType newIsolation) + { + CacheIsolationType oldIsolation = isolation; + isolation = newIsolation == null ? ISOLATION_EDEFAULT : newIsolation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__ISOLATION, oldIsolation, isolation)); + } + + /** + * Returns the value of the 'Database Change Notification Type' attribute. + * The default value is""
.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType}.
+ *
+ * + * If the meaning of the 'Database Change Notification Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Database Change Notification Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType + * @see #setDatabaseChangeNotificationType(DatabaseChangeNotificationType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_2_4_DatabaseChangeNotificationType() + * @model default="" + * @generated + */ + public DatabaseChangeNotificationType getDatabaseChangeNotificationType() + { + return databaseChangeNotificationType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getDatabaseChangeNotificationType Database Change Notification Type}' attribute. + * + * + * @param value the new value of the 'Database Change Notification Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.DatabaseChangeNotificationType + * @see #getDatabaseChangeNotificationType() + * @generated + */ + public void setDatabaseChangeNotificationType(DatabaseChangeNotificationType newDatabaseChangeNotificationType) + { + DatabaseChangeNotificationType oldDatabaseChangeNotificationType = databaseChangeNotificationType; + databaseChangeNotificationType = newDatabaseChangeNotificationType == null ? DATABASE_CHANGE_NOTIFICATION_TYPE_EDEFAULT : newDatabaseChangeNotificationType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE, oldDatabaseChangeNotificationType, databaseChangeNotificationType)); + } + + /** + * Returns the value of the 'Expiry' attribute. + * + *+ * If the meaning of the 'Expiry' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Expiry' attribute. + * @see #setExpiry(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_Expiry() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getExpiry() + { + return expiry; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiry Expiry}' attribute. + * + * + * @param value the new value of the 'Expiry' attribute. + * @see #getExpiry() + * @generated + */ + public void setExpiry(Integer newExpiry) + { + Integer oldExpiry = expiry; + expiry = newExpiry; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__EXPIRY, oldExpiry, expiry)); + } + + /** + * Returns the value of the 'Size' attribute. + * + *+ * If the meaning of the 'Size' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Size' attribute. + * @see #setSize(Integer) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_Size() + * @model dataType="org.eclipse.emf.ecore.xml.type.IntObject" + * @generated + */ + public Integer getSize() + { + return size; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getSize Size}' attribute. + * + * + * @param value the new value of the 'Size' attribute. + * @see #getSize() + * @generated + */ + public void setSize(Integer newSize) + { + Integer oldSize = size; + size = newSize; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__SIZE, oldSize, size)); + } + + /** + * Returns the value of the 'Shared' attribute. + * + *+ * If the meaning of the 'Shared' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Shared' attribute. + * @see #setShared(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_Shared() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getShared() + { + return shared; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getShared Shared}' attribute. + * + * + * @param value the new value of the 'Shared' attribute. + * @see #getShared() + * @generated + */ + public void setShared(Boolean newShared) + { + Boolean oldShared = shared; + shared = newShared; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__SHARED, oldShared, shared)); + } + + /** + * Returns the value of the 'Type' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType}. + * + *+ * If the meaning of the 'Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType + * @see #setType(CacheType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_Type() + * @model + * @generated + */ + public CacheType getType() + { + return type; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheType + * @see #getType() + * @generated + */ + public void setType(CacheType newType) + { + CacheType oldType = type; + type = newType == null ? TYPE_EDEFAULT : newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__TYPE, oldType, type)); + } + + /** + * Returns the value of the 'Always Refresh' attribute. + * + *+ * If the meaning of the 'Always Refresh' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Always Refresh' attribute. + * @see #setAlwaysRefresh(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_AlwaysRefresh() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getAlwaysRefresh() + { + return alwaysRefresh; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getAlwaysRefresh Always Refresh}' attribute. + * + * + * @param value the new value of the 'Always Refresh' attribute. + * @see #getAlwaysRefresh() + * @generated + */ + public void setAlwaysRefresh(Boolean newAlwaysRefresh) + { + Boolean oldAlwaysRefresh = alwaysRefresh; + alwaysRefresh = newAlwaysRefresh; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__ALWAYS_REFRESH, oldAlwaysRefresh, alwaysRefresh)); + } + + /** + * Returns the value of the 'Refresh Only If Newer' attribute. + * + *+ * If the meaning of the 'Refresh Only If Newer' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Refresh Only If Newer' attribute. + * @see #setRefreshOnlyIfNewer(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_RefreshOnlyIfNewer() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getRefreshOnlyIfNewer() + { + return refreshOnlyIfNewer; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getRefreshOnlyIfNewer Refresh Only If Newer}' attribute. + * + * + * @param value the new value of the 'Refresh Only If Newer' attribute. + * @see #getRefreshOnlyIfNewer() + * @generated + */ + public void setRefreshOnlyIfNewer(Boolean newRefreshOnlyIfNewer) + { + Boolean oldRefreshOnlyIfNewer = refreshOnlyIfNewer; + refreshOnlyIfNewer = newRefreshOnlyIfNewer; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__REFRESH_ONLY_IF_NEWER, oldRefreshOnlyIfNewer, refreshOnlyIfNewer)); + } + + /** + * Returns the value of the 'Disable Hits' attribute. + * + *+ * If the meaning of the 'Disable Hits' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Disable Hits' attribute. + * @see #setDisableHits(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_DisableHits() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getDisableHits() + { + return disableHits; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getDisableHits Disable Hits}' attribute. + * + * + * @param value the new value of the 'Disable Hits' attribute. + * @see #getDisableHits() + * @generated + */ + public void setDisableHits(Boolean newDisableHits) + { + Boolean oldDisableHits = disableHits; + disableHits = newDisableHits; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__DISABLE_HITS, oldDisableHits, disableHits)); + } + + /** + * Returns the value of the 'Coordination Type' attribute. + * The default value is""
.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType}.
+ *
+ * + * If the meaning of the 'Coordination Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Coordination Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType + * @see #setCoordinationType(CacheCoordinationType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_CoordinationType() + * @model default="" + * @generated + */ + public CacheCoordinationType getCoordinationType() + { + return coordinationType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getCoordinationType Coordination Type}' attribute. + * + * + * @param value the new value of the 'Coordination Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.CacheCoordinationType + * @see #getCoordinationType() + * @generated + */ + public void setCoordinationType(CacheCoordinationType newCoordinationType) + { + CacheCoordinationType oldCoordinationType = coordinationType; + coordinationType = newCoordinationType == null ? COORDINATION_TYPE_EDEFAULT : newCoordinationType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__COORDINATION_TYPE, oldCoordinationType, coordinationType)); + } + + /** + * Returns the value of the 'Expiry Time Of Day' containment reference. + * + *+ * If the meaning of the 'Expiry Time Of Day' reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Expiry Time Of Day' containment reference. + * @see #setExpiryTimeOfDay(XmlTimeOfDay) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCache_ExpiryTimeOfDay() + * @model containment="true" + * @generated + */ + public XmlTimeOfDay getExpiryTimeOfDay() + { + return expiryTimeOfDay; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetExpiryTimeOfDay(XmlTimeOfDay newExpiryTimeOfDay, NotificationChain msgs) + { + XmlTimeOfDay oldExpiryTimeOfDay = expiryTimeOfDay; + expiryTimeOfDay = newExpiryTimeOfDay; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY, oldExpiryTimeOfDay, newExpiryTimeOfDay); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCache#getExpiryTimeOfDay Expiry Time Of Day}' containment reference. + * + * + * @param value the new value of the 'Expiry Time Of Day' containment reference. + * @see #getExpiryTimeOfDay() + * @generated + */ + public void setExpiryTimeOfDay(XmlTimeOfDay newExpiryTimeOfDay) + { + if (newExpiryTimeOfDay != expiryTimeOfDay) + { + NotificationChain msgs = null; + if (expiryTimeOfDay != null) + msgs = ((InternalEObject)expiryTimeOfDay).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY, null, msgs); + if (newExpiryTimeOfDay != null) + msgs = ((InternalEObject)newExpiryTimeOfDay).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY, null, msgs); + msgs = basicSetExpiryTimeOfDay(newExpiryTimeOfDay, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY, newExpiryTimeOfDay, newExpiryTimeOfDay)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY: + return basicSetExpiryTimeOfDay(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE__ISOLATION: + return getIsolation(); + case EclipseLinkOrmPackage.XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE: + return getDatabaseChangeNotificationType(); + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY: + return getExpiry(); + case EclipseLinkOrmPackage.XML_CACHE__SIZE: + return getSize(); + case EclipseLinkOrmPackage.XML_CACHE__SHARED: + return getShared(); + case EclipseLinkOrmPackage.XML_CACHE__TYPE: + return getType(); + case EclipseLinkOrmPackage.XML_CACHE__ALWAYS_REFRESH: + return getAlwaysRefresh(); + case EclipseLinkOrmPackage.XML_CACHE__REFRESH_ONLY_IF_NEWER: + return getRefreshOnlyIfNewer(); + case EclipseLinkOrmPackage.XML_CACHE__DISABLE_HITS: + return getDisableHits(); + case EclipseLinkOrmPackage.XML_CACHE__COORDINATION_TYPE: + return getCoordinationType(); + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY: + return getExpiryTimeOfDay(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE__ISOLATION: + setIsolation((CacheIsolationType)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE: + setDatabaseChangeNotificationType((DatabaseChangeNotificationType)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY: + setExpiry((Integer)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__SIZE: + setSize((Integer)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__SHARED: + setShared((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__TYPE: + setType((CacheType)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__ALWAYS_REFRESH: + setAlwaysRefresh((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__REFRESH_ONLY_IF_NEWER: + setRefreshOnlyIfNewer((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__DISABLE_HITS: + setDisableHits((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__COORDINATION_TYPE: + setCoordinationType((CacheCoordinationType)newValue); + return; + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY: + setExpiryTimeOfDay((XmlTimeOfDay)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE__ISOLATION: + setIsolation(ISOLATION_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE: + setDatabaseChangeNotificationType(DATABASE_CHANGE_NOTIFICATION_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY: + setExpiry(EXPIRY_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__SIZE: + setSize(SIZE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__SHARED: + setShared(SHARED_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__TYPE: + setType(TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__ALWAYS_REFRESH: + setAlwaysRefresh(ALWAYS_REFRESH_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__REFRESH_ONLY_IF_NEWER: + setRefreshOnlyIfNewer(REFRESH_ONLY_IF_NEWER_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__DISABLE_HITS: + setDisableHits(DISABLE_HITS_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__COORDINATION_TYPE: + setCoordinationType(COORDINATION_TYPE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY: + setExpiryTimeOfDay((XmlTimeOfDay)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CACHE__ISOLATION: + return isolation != ISOLATION_EDEFAULT; + case EclipseLinkOrmPackage.XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE: + return databaseChangeNotificationType != DATABASE_CHANGE_NOTIFICATION_TYPE_EDEFAULT; + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY: + return EXPIRY_EDEFAULT == null ? expiry != null : !EXPIRY_EDEFAULT.equals(expiry); + case EclipseLinkOrmPackage.XML_CACHE__SIZE: + return SIZE_EDEFAULT == null ? size != null : !SIZE_EDEFAULT.equals(size); + case EclipseLinkOrmPackage.XML_CACHE__SHARED: + return SHARED_EDEFAULT == null ? shared != null : !SHARED_EDEFAULT.equals(shared); + case EclipseLinkOrmPackage.XML_CACHE__TYPE: + return type != TYPE_EDEFAULT; + case EclipseLinkOrmPackage.XML_CACHE__ALWAYS_REFRESH: + return ALWAYS_REFRESH_EDEFAULT == null ? alwaysRefresh != null : !ALWAYS_REFRESH_EDEFAULT.equals(alwaysRefresh); + case EclipseLinkOrmPackage.XML_CACHE__REFRESH_ONLY_IF_NEWER: + return REFRESH_ONLY_IF_NEWER_EDEFAULT == null ? refreshOnlyIfNewer != null : !REFRESH_ONLY_IF_NEWER_EDEFAULT.equals(refreshOnlyIfNewer); + case EclipseLinkOrmPackage.XML_CACHE__DISABLE_HITS: + return DISABLE_HITS_EDEFAULT == null ? disableHits != null : !DISABLE_HITS_EDEFAULT.equals(disableHits); + case EclipseLinkOrmPackage.XML_CACHE__COORDINATION_TYPE: + return coordinationType != COORDINATION_TYPE_EDEFAULT; + case EclipseLinkOrmPackage.XML_CACHE__EXPIRY_TIME_OF_DAY: + return expiryTimeOfDay != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class> baseClass) + { + if (baseClass == XmlCache_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE: return EclipseLinkOrmV2_4Package.XML_CACHE_24__DATABASE_CHANGE_NOTIFICATION_TYPE; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class> baseClass) + { + if (baseClass == XmlCache_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_CACHE_24__DATABASE_CHANGE_NOTIFICATION_TYPE: return EclipseLinkOrmPackage.XML_CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (isolation: "); + result.append(isolation); + result.append(", databaseChangeNotificationType: "); + result.append(databaseChangeNotificationType); + result.append(", expiry: "); + result.append(expiry); + result.append(", size: "); + result.append(size); + result.append(", shared: "); + result.append(shared); + result.append(", type: "); + result.append(type); + result.append(", alwaysRefresh: "); + result.append(alwaysRefresh); + result.append(", refreshOnlyIfNewer: "); + result.append(refreshOnlyIfNewer); + result.append(", disableHits: "); + result.append(disableHits); + result.append(", coordinationType: "); + result.append(coordinationType); + 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[] { + buildExpiryTranslator(), + buildExpiryTimeOfDayTranslator(), + buildSizeTranslator(), + buildSharedTranslator(), + buildIsolationTranslator(), + buildTypeTranslator(), + buildAlwaysRefreshTranslator(), + buildRefreshOnlyIfNewerTranslator(), + buildDisableHitsTranslator(), + buildCoordinationTypeTranslator(), + buildDatabaseChangeNotificationTypeTranslator(), + }; + } + + protected static Translator buildExpiryTranslator() { + return new Translator(EclipseLink.CACHE__EXPIRY, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_Expiry()); + } + + protected static Translator buildExpiryTimeOfDayTranslator() { + return XmlTimeOfDay.buildTranslator(EclipseLink.EXPIRY_TIME_OF_DAY, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_ExpiryTimeOfDay()); + } + + protected static Translator buildSizeTranslator() { + return new Translator(EclipseLink.CACHE__SIZE, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_Size(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildSharedTranslator() { + return new Translator(EclipseLink.CACHE__SHARED, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_Shared(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildTypeTranslator() { + return new Translator(EclipseLink.CACHE__TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_Type(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildAlwaysRefreshTranslator() { + return new Translator(EclipseLink.CACHE__ALWAYS_REFRESH, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_AlwaysRefresh(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildRefreshOnlyIfNewerTranslator() { + return new Translator(EclipseLink.CACHE__REFRESH_ONLY_IF_NEWER, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_RefreshOnlyIfNewer(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildDisableHitsTranslator() { + return new Translator(EclipseLink.CACHE__DISABLE_HITS, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_DisableHits(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildCoordinationTypeTranslator() { + return new Translator(EclipseLink.CACHE__COORDINATION_TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlCache_CoordinationType(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildIsolationTranslator() { + return new Translator(EclipseLink2_2.CACHE__ISOLATION, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlCache_2_2_Isolation(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildDatabaseChangeNotificationTypeTranslator() { + return new Translator(EclipseLink2_4.CACHE__DATABASE_CHANGE_NOTIFICATION_TYPE, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlCache_2_4_DatabaseChangeNotificationType(), Translator.DOM_ATTRIBUTE); + } + +} // XmlCache diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheHolder.java new file mode 100644 index 0000000000..540fd14e25 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheHolder.java @@ -0,0 +1,102 @@ +/******************************************************************************* + * Copyright (c) 2008, 2009 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * + * A representation of the model object 'Xml Cache Holder'. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Cache' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cache' containment reference. + * @see #setCache(XmlCache) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder_Cache() + * @model containment="true" + * @generated + */ + XmlCache getCache(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getCache Cache}' containment reference. + * + * + * @param value the new value of the 'Cache' containment reference. + * @see #getCache() + * @generated + */ + void setCache(XmlCache value); + + /** + * Returns the value of the 'Existence Checking' attribute. + * The default value is""
.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType}.
+ *
+ * + * If the meaning of the 'Existence Checking' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Existence Checking' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType + * @see #setExistenceChecking(ExistenceType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder_ExistenceChecking() + * @model default="" + * @generated + */ + ExistenceType getExistenceChecking(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCacheHolder#getExistenceChecking Existence Checking}' attribute. + * + * + * @param value the new value of the 'Existence Checking' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType + * @see #getExistenceChecking() + * @generated + */ + void setExistenceChecking(ExistenceType value); + +} // XmlCacheHolder diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java new file mode 100644 index 0000000000..48484bade5 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCacheIndex.java @@ -0,0 +1,196 @@ +/******************************************************************************* + * Copyright (c) 2011 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.util.EDataTypeEList; +import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLink2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Cache Index'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheIndex() + * @model kind="class" + * @generated + */ +public class XmlCacheIndex extends EBaseObjectImpl implements XmlCacheIndex_2_4 +{ + /** + * The cached value of the '{@link #getColumnNames() Column Names}' attribute list. + * + * + * @see #getColumnNames() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Column Names' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Column Names' attribute list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheIndex_2_4_ColumnNames() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public EList+ * The following features are supported: + *
+ * If the meaning of the 'Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType + * @see #setType(XmlChangeTrackingType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTracking_Type() + * @model + * @generated + */ + public XmlChangeTrackingType getType() + { + return type; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTracking#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingType + * @see #getType() + * @generated + */ + public void setType(XmlChangeTrackingType newType) + { + XmlChangeTrackingType oldType = type; + type = newType == null ? TYPE_EDEFAULT : newType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CHANGE_TRACKING__TYPE, oldType, type)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING__TYPE: + return getType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING__TYPE: + setType((XmlChangeTrackingType)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING__TYPE: + setType(TYPE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING__TYPE: + return type != TYPE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (type: "); + result.append(type); + result.append(')'); + return result.toString(); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator(elementName, structuralFeature, Translator.END_TAG_NO_INDENT, buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildTypeTranslator() + }; + } + + protected static Translator buildTypeTranslator() { + return new Translator(EclipseLink.TYPE, EclipseLinkOrmPackage.eINSTANCE.getXmlChangeTracking_Type(), Translator.DOM_ATTRIBUTE); + } + +} // XmlChangeTracking diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingHolder.java new file mode 100644 index 0000000000..53c62a6e36 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingHolder.java @@ -0,0 +1,71 @@ +/******************************************************************************* + * Copyright (c) 2008, 2009 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * + * A representation of the model object 'Xml Change Tracking Holder'. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Change Tracking' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Change Tracking' containment reference. + * @see #setChangeTracking(XmlChangeTracking) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder_ChangeTracking() + * @model containment="true" + * @generated + */ + XmlChangeTracking getChangeTracking(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlChangeTrackingHolder#getChangeTracking Change Tracking}' containment reference. + * + * + * @param value the new value of the 'Change Tracking' containment reference. + * @see #getChangeTracking() + * @generated + */ + void setChangeTracking(XmlChangeTracking value); + +} // XmlChangeTrackingHolder diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingType.java new file mode 100644 index 0000000000..02a765c6fa --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlChangeTrackingType.java @@ -0,0 +1,291 @@ +/******************************************************************************* + * Copyright (c) 2009 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.jpa.eclipselink.core.resource.orm; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * + * A representation of the literals of the enumeration 'Xml Change Tracking Type', + * and utility methods for working with them. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingType() + * @model + * @generated + */ +public enum XmlChangeTrackingType implements Enumerator +{ + /** + * The 'ATTRIBUTE' literal object. + * + * + * @see #ATTRIBUTE_VALUE + * @generated + * @ordered + */ + ATTRIBUTE(0, "ATTRIBUTE", "ATTRIBUTE"), /** + * The 'OBJECT' literal object. + * + * + * @see #OBJECT_VALUE + * @generated + * @ordered + */ + OBJECT(1, "OBJECT", "OBJECT"), /** + * The 'DEFERRED' literal object. + * + * + * @see #DEFERRED_VALUE + * @generated + * @ordered + */ + DEFERRED(2, "DEFERRED", "DEFERRED"), /** + * The 'AUTO' literal object. + * + * + * @see #AUTO_VALUE + * @generated + * @ordered + */ + AUTO(3, "AUTO", "AUTO") + ; + + /** + * The 'ATTRIBUTE' literal value. + * + *+ * If the meaning of 'ATTRIBUTE' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #ATTRIBUTE + * @model + * @generated + * @ordered + */ + public static final int ATTRIBUTE_VALUE = 0; + +/** + * The 'OBJECT' literal value. + * + *+ * If the meaning of 'OBJECT' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OBJECT + * @model + * @generated + * @ordered + */ + public static final int OBJECT_VALUE = 1; + +/** + * The 'DEFERRED' literal value. + * + *+ * If the meaning of 'DEFERRED' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #DEFERRED + * @model + * @generated + * @ordered + */ + public static final int DEFERRED_VALUE = 2; + +/** + * The 'AUTO' literal value. + * + *+ * If the meaning of 'AUTO' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #AUTO + * @model + * @generated + * @ordered + */ + public static final int AUTO_VALUE = 3; + + /** + * An array of all the 'Xml Change Tracking Type' enumerators. + * + * + * @generated + */ + private static final XmlChangeTrackingType[] VALUES_ARRAY = + new XmlChangeTrackingType[] + { + ATTRIBUTE, + OBJECT, + DEFERRED, + AUTO, + }; + + /** + * A public read-only list of all the 'Xml Change Tracking Type' enumerators. + * + * + * @generated + */ + public static final List+ * The following features are supported: + *
+ * If the meaning of the 'Method' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Method' attribute. + * @see #setMethod(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy_Method() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getMethod() + { + return method; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getMethod Method}' attribute. + * + * + * @param value the new value of the 'Method' attribute. + * @see #getMethod() + * @generated + */ + public void setMethod(String newMethod) + { + String oldMethod = method; + method = newMethod; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__METHOD, oldMethod, method)); + } + + /** + * Returns the value of the 'Working Copy Method' attribute. + * + *+ * If the meaning of the 'Working Copy Method' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Working Copy Method' attribute. + * @see #setWorkingCopyMethod(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCloneCopyPolicy_WorkingCopyMethod() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getWorkingCopyMethod() + { + return workingCopyMethod; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCloneCopyPolicy#getWorkingCopyMethod Working Copy Method}' attribute. + * + * + * @param value the new value of the 'Working Copy Method' attribute. + * @see #getWorkingCopyMethod() + * @generated + */ + public void setWorkingCopyMethod(String newWorkingCopyMethod) + { + String oldWorkingCopyMethod = workingCopyMethod; + workingCopyMethod = newWorkingCopyMethod; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD, oldWorkingCopyMethod, workingCopyMethod)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__METHOD: + return getMethod(); + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD: + return getWorkingCopyMethod(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__METHOD: + setMethod((String)newValue); + return; + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD: + setWorkingCopyMethod((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__METHOD: + setMethod(METHOD_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD: + setWorkingCopyMethod(WORKING_COPY_METHOD_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__METHOD: + return METHOD_EDEFAULT == null ? method != null : !METHOD_EDEFAULT.equals(method); + case EclipseLinkOrmPackage.XML_CLONE_COPY_POLICY__WORKING_COPY_METHOD: + return WORKING_COPY_METHOD_EDEFAULT == null ? workingCopyMethod != null : !WORKING_COPY_METHOD_EDEFAULT.equals(workingCopyMethod); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (method: "); + result.append(method); + result.append(", workingCopyMethod: "); + result.append(workingCopyMethod); + 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[] { + buildMethodTranslator(), + buildWorkingCopyMethodTranslator(), + }; + } + + protected static Translator buildMethodTranslator() { + return new Translator(EclipseLink.CLONE_COPY_POLICY__METHOD, EclipseLinkOrmPackage.eINSTANCE.getXmlCloneCopyPolicy_Method(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildWorkingCopyMethodTranslator() { + return new Translator(EclipseLink.CLONE_COPY_POLICY__WORKING_COPY_METHOD, EclipseLinkOrmPackage.eINSTANCE.getXmlCloneCopyPolicy_WorkingCopyMethod(), Translator.DOM_ATTRIBUTE); + } + +} // XmlCloneCopyPolicy diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCollectionTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCollectionTable.java new file mode 100644 index 0000000000..cd7b4d6aab --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCollectionTable.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.jpa.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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlCollectionTable_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Collection Table'. + * + * 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. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionTable() + * @model kind="class" + * @generated + */ +public class XmlCollectionTable extends org.eclipse.jpt.jpa.core.resource.orm.XmlCollectionTable implements XmlCollectionTable_2_2 +{ + /** + * The default value of the '{@link #getCreationSuffix() Creation Suffix}' attribute. + * + * + * @see #getCreationSuffix() + * @generated + * @ordered + */ + protected static final String CREATION_SUFFIX_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCreationSuffix() Creation Suffix}' attribute. + * + * + * @see #getCreationSuffix() + * @generated + * @ordered + */ + protected String creationSuffix = CREATION_SUFFIX_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlCollectionTable() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_COLLECTION_TABLE; + } + + /** + * Returns the value of the 'Creation Suffix' attribute. + * + *+ * If the meaning of the 'Creation Suffix' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Creation Suffix' attribute. + * @see #setCreationSuffix(String) + * @see org.eclipse.jpt.jpa.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.jpa.eclipselink.core.resource.orm.XmlCollectionTable#getCreationSuffix Creation Suffix}' attribute. + * + * + * @param value the new value of the 'Creation Suffix' 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)); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_COLLECTION_TABLE__CREATION_SUFFIX: + setCreationSuffix(CREATION_SUFFIX_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConversionValue.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConversionValue.java new file mode 100644 index 0000000000..28d7535bd6 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConversionValue.java @@ -0,0 +1,314 @@ +/******************************************************************************* + * Copyright (c) 2008, 2009 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.jpa.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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Conversion Value'. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Data Value' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Data Value' attribute. + * @see #setDataValue(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue_DataValue() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getDataValue() + { + return dataValue; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getDataValue Data Value}' attribute. + * + * + * @param value the new value of the 'Data Value' attribute. + * @see #getDataValue() + * @generated + */ + public void setDataValue(String newDataValue) + { + String oldDataValue = dataValue; + dataValue = newDataValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CONVERSION_VALUE__DATA_VALUE, oldDataValue, dataValue)); + } + + /** + * Returns the value of the 'Object Value' attribute. + * + *+ * If the meaning of the 'Object Value' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Value' attribute. + * @see #setObjectValue(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConversionValue_ObjectValue() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getObjectValue() + { + return objectValue; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConversionValue#getObjectValue Object Value}' attribute. + * + * + * @param value the new value of the 'Object Value' attribute. + * @see #getObjectValue() + * @generated + */ + public void setObjectValue(String newObjectValue) + { + String oldObjectValue = objectValue; + objectValue = newObjectValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CONVERSION_VALUE__OBJECT_VALUE, oldObjectValue, objectValue)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE__DATA_VALUE: + return getDataValue(); + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE__OBJECT_VALUE: + return getObjectValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE__DATA_VALUE: + setDataValue((String)newValue); + return; + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE__OBJECT_VALUE: + setObjectValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE__DATA_VALUE: + setDataValue(DATA_VALUE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE__OBJECT_VALUE: + setObjectValue(OBJECT_VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE__DATA_VALUE: + return DATA_VALUE_EDEFAULT == null ? dataValue != null : !DATA_VALUE_EDEFAULT.equals(dataValue); + case EclipseLinkOrmPackage.XML_CONVERSION_VALUE__OBJECT_VALUE: + return OBJECT_VALUE_EDEFAULT == null ? objectValue != null : !OBJECT_VALUE_EDEFAULT.equals(objectValue); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (dataValue: "); + result.append(dataValue); + result.append(", objectValue: "); + result.append(objectValue); + result.append(')'); + return result.toString(); + } + + public TextRange getDataValueTextRange() { + return getAttributeTextRange(EclipseLink.CONVERSION_VALUE__DATA_VALUE); + } + + public TextRange getObjectValueTextRange() { + return getAttributeTextRange(EclipseLink.CONVERSION_VALUE__OBJECT_VALUE); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + Translator.END_TAG_NO_INDENT, + buildTranslatorChildren() + ); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildDataValueTranslator(), + buildObjectValueTranslator() + }; + } + + protected static Translator buildDataValueTranslator() { + return new Translator(EclipseLink.CONVERSION_VALUE__DATA_VALUE, EclipseLinkOrmPackage.eINSTANCE.getXmlConversionValue_DataValue(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildObjectValueTranslator() { + return new Translator(EclipseLink.CONVERSION_VALUE__OBJECT_VALUE, EclipseLinkOrmPackage.eINSTANCE.getXmlConversionValue_ObjectValue(), Translator.DOM_ATTRIBUTE); + } + +} // XmlConversionValue diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverter.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverter.java new file mode 100644 index 0000000000..eebfd5250a --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverter.java @@ -0,0 +1,266 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 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.jpa.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.jdt.core.IType; +import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.text.edits.ReplaceEdit; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml CustomConverter'. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Class Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Class Name' attribute. + * @see #setClassName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverter_ClassName() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getClassName() + { + return className; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter#getClassName Class Name}' attribute. + * + * + * @param value the new value of the 'Class Name' attribute. + * @see #getClassName() + * @generated + */ + public void setClassName(String newClassName) + { + String oldClassName = className; + className = newClassName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CONVERTER__CLASS_NAME, oldClassName, className)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER__CLASS_NAME: + return getClassName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER__CLASS_NAME: + setClassName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER__CLASS_NAME: + setClassName(CLASS_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER__CLASS_NAME: + return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (className: "); + result.append(className); + result.append(')'); + return result.toString(); + } + + public TextRange getConverterClassTextRange() { + return getAttributeTextRange(EclipseLink.CONVERTER__CLASS); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator(elementName, structuralFeature, Translator.END_TAG_NO_INDENT, buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildClassTranslator(), + }; + } + + protected static Translator buildClassTranslator() { + return new Translator(EclipseLink.CONVERTER__CLASS, EclipseLinkOrmPackage.eINSTANCE.getXmlConverter_ClassName(), Translator.DOM_ATTRIBUTE); + } + + + // ********** refactoring ********** + + public ReplaceEdit createRenameEdit(IType originalType, String newName) { + String originalName = originalType.getTypeQualifiedName(); + int nameIndex = this.className.lastIndexOf(originalName); + int offset = getAttributeNode(EclipseLink.CONVERTER__CLASS).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset + nameIndex, originalName.length(), newName); + } + + public ReplaceEdit createRenamePackageEdit(String newPackageName) { + int packageLength = this.className.lastIndexOf('.'); + if (newPackageName == "") {//$NON-NLS-1$ + //moving to the default package, remove the '.' + packageLength++; + } + if (packageLength == -1) { + //moving from the default package or unspecified package + packageLength = 0; + newPackageName = newPackageName + '.'; + } + int offset = getAttributeNode(EclipseLink.CONVERTER__CLASS).getValueRegionStartOffset() + 1; // +1 = opening double quote + return new ReplaceEdit(offset, packageLength, newPackageName); + } + + // ********** content assist *************** + + public TextRange getConverterClassCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink.CONVERTER__CLASS); + } + + public boolean converterClassTouches(int pos) { + TextRange textRange = this.getConverterClassCodeAssistTextRange(); + return (textRange != null) && textRange.touches(pos); + } +} // XmlConverter diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverterContainer.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverterContainer.java new file mode 100644 index 0000000000..52643b9daf --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlConverterContainer.java @@ -0,0 +1,113 @@ +/******************************************************************************* + * Copyright (c) 2008, 2011 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; + +/** + * + * + * A representation of the model object 'Xml Converter Container'. + * + * 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. + * + * @version 3.2 + * @since 2.1 + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + EList+ * If the meaning of the 'Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() + * @model containment="true" + * @generated + */ + EList+ * If the meaning of the 'Object Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() + * @model containment="true" + * @generated + */ + EList+ * If the meaning of the 'Struct Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() + * @model containment="true" + * @generated + */ + EList+ * The following features are supported: + *
+ * If the meaning of the 'Convert' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Convert' attribute. + * @see #setConvert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Convert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + String getConvert(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConvertibleMapping#getConvert Convert}' attribute. + * + * + * @param value the new value of the 'Convert' attribute. + * @see #getConvert() + * @generated + */ + void setConvert(String value); + + /** + * Return the {@link TextRange} for the convert element. If the convert element + * does not exist return the {@link TextRange} for the mapping element. + */ + TextRange getConvertTextRange(); + + boolean convertTouches(int pos); + +} // XmlConvertibleMapping diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCopyPolicy.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCopyPolicy.java new file mode 100644 index 0000000000..aa05d6bb09 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCopyPolicy.java @@ -0,0 +1,226 @@ +/******************************************************************************* + * Copyright (c) 2009 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.jpa.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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Copy Policy'. + * + * 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. + * + * @version 2.2 + * @since 2.2 + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Class' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Class' attribute. + * @see #setClass(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCopyPolicy_Class() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getClass_() + { + return class_; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCopyPolicy#getClass_ Class}' attribute. + * + * + * @param value the new value of the 'Class' attribute. + * @see #getClass_() + * @generated + */ + public void setClass(String newClass) + { + String oldClass = class_; + class_ = newClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_COPY_POLICY__CLASS, oldClass, class_)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_COPY_POLICY__CLASS: + return getClass_(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_COPY_POLICY__CLASS: + setClass((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_COPY_POLICY__CLASS: + setClass(CLASS_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_COPY_POLICY__CLASS: + return CLASS_EDEFAULT == null ? class_ != null : !CLASS_EDEFAULT.equals(class_); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (class: "); + result.append(class_); + 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[] { + buildClassTranslator() + }; + } + + protected static Translator buildClassTranslator() { + return new Translator(EclipseLink.COPY_POLICY__CLASS, EclipseLinkOrmPackage.eINSTANCE.getXmlCopyPolicy_Class(), Translator.DOM_ATTRIBUTE); + } + +} // XmlCopyPolicy diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizer.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizer.java new file mode 100644 index 0000000000..d842b4d633 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizer.java @@ -0,0 +1,205 @@ +/******************************************************************************* + * Copyright (c) 2008, 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; + +/** + * + * A representation of the model object 'Xml Customizer'. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Customizer Class Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Customizer Class Name' attribute. + * @see #setCustomizerClassName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizer_CustomizerClassName() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getCustomizerClassName() + { + return customizerClassName; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizer#getCustomizerClassName Customizer Class Name}' attribute. + * + * + * @param value the new value of the 'Customizer Class Name' attribute. + * @see #getCustomizerClassName() + * @generated + */ + public void setCustomizerClassName(String newCustomizerClassName) + { + String oldCustomizerClassName = customizerClassName; + customizerClassName = newCustomizerClassName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME, oldCustomizerClassName, customizerClassName)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME: + return getCustomizerClassName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME: + setCustomizerClassName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME: + setCustomizerClassName(CUSTOMIZER_CLASS_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_CUSTOMIZER__CUSTOMIZER_CLASS_NAME: + return CUSTOMIZER_CLASS_NAME_EDEFAULT == null ? customizerClassName != null : !CUSTOMIZER_CLASS_NAME_EDEFAULT.equals(customizerClassName); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (customizerClassName: "); + result.append(customizerClassName); + result.append(')'); + return result.toString(); + } + +} // XmlCustomizer diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizerHolder.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizerHolder.java new file mode 100644 index 0000000000..2cf21f0117 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlCustomizerHolder.java @@ -0,0 +1,72 @@ +/******************************************************************************* + * Copyright (c) 2008, 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.jpa.eclipselink.core.resource.orm; + +import org.eclipse.jpt.common.core.resource.xml.EBaseObject; +import org.eclipse.jpt.jpa.core.resource.orm.XmlClassReference; + +/** + * + * + * A representation of the model object 'Xml Customizer Holder'. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + * + *+ * The following features are supported: + *
+ * If the meaning of the 'Customizer' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Customizer' containment reference. + * @see #setCustomizer(XmlClassReference) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder_Customizer() + * @model containment="true" + * @generated + */ + XmlClassReference getCustomizer(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlCustomizerHolder#getCustomizer Customizer}' containment reference. + * + * + * @param value the new value of the 'Customizer' containment reference. + * @see #getCustomizer() + * @generated + */ + void setCustomizer(XmlClassReference value); + +} // XmlCustomizerHolder diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlDirection.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlDirection.java new file mode 100644 index 0000000000..07c7801060 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlDirection.java @@ -0,0 +1,294 @@ +/******************************************************************************* + * Copyright (c) 2009 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.jpa.eclipselink.core.resource.orm; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Xml Direction', + * and utility methods for working with them. + * + * 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. + * + * @version 2.2 + * @since 2.2 + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlDirection() + * @model + * @generated + */ +public enum XmlDirection implements Enumerator +{ + /** + * The 'IN' literal object. + * + * + * @see #IN_VALUE + * @generated + * @ordered + */ + IN(0, "IN", "IN"), + + /** + * The 'OUT' literal object. + * + * + * @see #OUT_VALUE + * @generated + * @ordered + */ + OUT(1, "OUT", "OUT"), + + /** + * The 'IN OUT' literal object. + * + * + * @see #IN_OUT_VALUE + * @generated + * @ordered + */ + IN_OUT(2, "IN_OUT", "IN_OUT"), + + /** + * The 'OUT CURSOR' literal object. + * + * + * @see #OUT_CURSOR_VALUE + * @generated + * @ordered + */ + OUT_CURSOR(3, "OUT_CURSOR", "OUT_CURSOR"); + + /** + * The 'IN' literal value. + * + *+ * If the meaning of 'IN' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #IN + * @model + * @generated + * @ordered + */ + public static final int IN_VALUE = 0; + + /** + * The 'OUT' literal value. + * + *+ * If the meaning of 'OUT' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OUT + * @model + * @generated + * @ordered + */ + public static final int OUT_VALUE = 1; + + /** + * The 'IN OUT' literal value. + * + *+ * If the meaning of 'IN OUT' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #IN_OUT + * @model + * @generated + * @ordered + */ + public static final int IN_OUT_VALUE = 2; + + /** + * The 'OUT CURSOR' literal value. + * + *+ * If the meaning of 'OUT CURSOR' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OUT_CURSOR + * @model + * @generated + * @ordered + */ + public static final int OUT_CURSOR_VALUE = 3; + + /** + * An array of all the 'Xml Direction' enumerators. + * + * + * @generated + */ + private static final XmlDirection[] VALUES_ARRAY = + new XmlDirection[] + { + IN, + OUT, + IN_OUT, + OUT_CURSOR, + }; + + /** + * A public read-only list of all the 'Xml Direction' enumerators. + * + * + * @generated + */ + public static final List+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_ELEMENT_COLLECTION__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Convert' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Convert' attribute. + * @see #setConvert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Convert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getConvert() + { + return convert; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getConvert Convert}' attribute. + * + * + * @param value the new value of the 'Convert' attribute. + * @see #getConvert() + * @generated + */ + public void setConvert(String newConvert) + { + String oldConvert = convert; + convert = newConvert; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CONVERT, oldConvert, convert)); + } + + /** + * Returns the value of the 'Map Key Association Overrides' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride}. + * + *+ * If the meaning of the 'Map Key Association Overrides' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Map Key Association Overrides' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Map Key Convert' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Map Key Convert' attribute. + * @see #setMapKeyConvert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionMapping_2_0_MapKeyConvert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getMapKeyConvert() + { + return mapKeyConvert; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getMapKeyConvert Map Key Convert}' attribute. + * + * + * @param value the new value of the 'Map Key Convert' attribute. + * @see #getMapKeyConvert() + * @generated + */ + public void setMapKeyConvert(String newMapKeyConvert) + { + String oldMapKeyConvert = mapKeyConvert; + mapKeyConvert = newMapKeyConvert; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__MAP_KEY_CONVERT, oldMapKeyConvert, mapKeyConvert)); + } + + /** + * Returns the value of the 'Join Fetch' attribute. + * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType}. + * + *+ * If the meaning of the 'Join Fetch' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Join Fetch' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @see #setJoinFetch(XmlJoinFetchType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch_JoinFetch() + * @model + * @generated + */ + public XmlJoinFetchType getJoinFetch() + { + return joinFetch; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getJoinFetch Join Fetch}' attribute. + * + * + * @param value the new value of the 'Join Fetch' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @see #getJoinFetch() + * @generated + */ + public void setJoinFetch(XmlJoinFetchType newJoinFetch) + { + XmlJoinFetchType oldJoinFetch = joinFetch; + joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__JOIN_FETCH, oldJoinFetch, joinFetch)); + } + + /** + * Returns the value of the 'Batch Fetch' containment reference. + * + *+ * If the meaning of the 'Batch Fetch' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Batch Fetch' containment reference. + * @see #setBatchFetch(XmlBatchFetch) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlBatchFetchHolder_BatchFetch() + * @model containment="true" + * @generated + */ + public XmlBatchFetch getBatchFetch() + { + return batchFetch; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetBatchFetch(XmlBatchFetch newBatchFetch, NotificationChain msgs) + { + XmlBatchFetch oldBatchFetch = batchFetch; + batchFetch = newBatchFetch; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH, oldBatchFetch, newBatchFetch); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getBatchFetch Batch Fetch}' containment reference. + * + * + * @param value the new value of the 'Batch Fetch' containment reference. + * @see #getBatchFetch() + * @generated + */ + public void setBatchFetch(XmlBatchFetch newBatchFetch) + { + if (newBatchFetch != batchFetch) + { + NotificationChain msgs = null; + if (batchFetch != null) + msgs = ((InternalEObject)batchFetch).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH, null, msgs); + if (newBatchFetch != null) + msgs = ((InternalEObject)newBatchFetch).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH, null, msgs); + msgs = basicSetBatchFetch(newBatchFetch, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__BATCH_FETCH, newBatchFetch, newBatchFetch)); + } + + /** + * Returns the value of the 'Attribute Type' attribute. + * + *+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAttributeType() + { + return attributeType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + public void setAttributeType(String newAttributeType) + { + String oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * Returns the value of the 'Partitioning' containment reference. + * + *+ * If the meaning of the 'Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Partitioning' containment reference. + * @see #setPartitioning(XmlPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning() + * @model containment="true" + * @generated + */ + public XmlPartitioning_2_2 getPartitioning() + { + return partitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getPartitioning Partitioning}' containment reference. + * + * + * @param value the new value of the 'Partitioning' 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 'Replication Partitioning' containment reference. + * + *+ * If the meaning of the 'Replication Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Replication Partitioning' containment reference. + * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning() + * @model containment="true" + * @generated + */ + public XmlReplicationPartitioning_2_2 getReplicationPartitioning() + { + return replicationPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getReplicationPartitioning Replication Partitioning}' containment reference. + * + * + * @param value the new value of the 'Replication Partitioning' 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 'Round Robin Partitioning' containment reference. + * + *+ * If the meaning of the 'Round Robin Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Round Robin Partitioning' containment reference. + * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning() + * @model containment="true" + * @generated + */ + public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning() + { + return roundRobinPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getRoundRobinPartitioning Round Robin Partitioning}' containment reference. + * + * + * @param value the new value of the 'Round Robin Partitioning' 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 'Pinned Partitioning' containment reference. + * + *+ * If the meaning of the 'Pinned Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pinned Partitioning' containment reference. + * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning() + * @model containment="true" + * @generated + */ + public XmlPinnedPartitioning_2_2 getPinnedPartitioning() + { + return pinnedPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getPinnedPartitioning Pinned Partitioning}' containment reference. + * + * + * @param value the new value of the 'Pinned Partitioning' 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 'Range Partitioning' containment reference. + * + *+ * If the meaning of the 'Range Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Range Partitioning' containment reference. + * @see #setRangePartitioning(XmlRangePartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning() + * @model containment="true" + * @generated + */ + public XmlRangePartitioning_2_2 getRangePartitioning() + { + return rangePartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getRangePartitioning Range Partitioning}' containment reference. + * + * + * @param value the new value of the 'Range Partitioning' 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 'Value Partitioning' containment reference. + * + *+ * If the meaning of the 'Value Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Value Partitioning' containment reference. + * @see #setValuePartitioning(XmlValuePartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning() + * @model containment="true" + * @generated + */ + public XmlValuePartitioning_2_2 getValuePartitioning() + { + return valuePartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getValuePartitioning Value Partitioning}' containment reference. + * + * + * @param value the new value of the 'Value Partitioning' 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 'Hash Partitioning' containment reference. + * + *+ * If the meaning of the 'Hash Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Hash Partitioning' containment reference. + * @see #setHashPartitioning(XmlHashPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning() + * @model containment="true" + * @generated + */ + public XmlHashPartitioning_2_2 getHashPartitioning() + { + return hashPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getHashPartitioning Hash Partitioning}' containment reference. + * + * + * @param value the new value of the 'Hash Partitioning' 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 'Union Partitioning' containment reference. + * + *+ * If the meaning of the 'Union Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Union Partitioning' containment reference. + * @see #setUnionPartitioning(XmlUnionPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning() + * @model containment="true" + * @generated + */ + public XmlUnionPartitioning_2_2 getUnionPartitioning() + { + return unionPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getUnionPartitioning Union Partitioning}' containment reference. + * + * + * @param value the new value of the 'Union Partitioning' 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 'Partitioned' attribute. + * + *+ * If the meaning of the 'Partitioned' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Partitioned' attribute. + * @see #setPartitioned(String) + * @see org.eclipse.jpt.jpa.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.jpa.eclipselink.core.resource.orm.XmlElementCollection#getPartitioned Partitioned}' attribute. + * + * + * @param value the new value of the 'Partitioned' 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 'Cascade On Delete' attribute. + * + *+ * If the meaning of the 'Cascade On Delete' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cascade On Delete' attribute. + * @see #setCascadeOnDelete(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getCascadeOnDelete() + { + return cascadeOnDelete; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + public void setCascadeOnDelete(Boolean newCascadeOnDelete) + { + Boolean oldCascadeOnDelete = cascadeOnDelete; + cascadeOnDelete = newCascadeOnDelete; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); + } + + /** + * Returns the value of the 'Noncacheable' attribute. + * + *+ * If the meaning of the 'Noncacheable' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Noncacheable' attribute. + * @see #setNoncacheable(boolean) + * @see org.eclipse.jpt.jpa.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.jpa.eclipselink.core.resource.orm.XmlElementCollection#isNoncacheable Noncacheable}' attribute. + * + * + * @param value the new value of the 'Noncacheable' 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__NONCACHEABLE, oldNoncacheable, noncacheable)); + } + + /** + * Returns the value of the 'Composite Member' attribute. + * + *+ * If the meaning of the 'Composite Member' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Composite Member' attribute. + * @see #setCompositeMember(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection_2_3_CompositeMember() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getCompositeMember() + { + return compositeMember; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getCompositeMember Composite Member}' attribute. + * + * + * @param value the new value of the 'Composite Member' attribute. + * @see #getCompositeMember() + * @generated + */ + public void setCompositeMember(String newCompositeMember) + { + String oldCompositeMember = compositeMember; + compositeMember = newCompositeMember; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__COMPOSITE_MEMBER, oldCompositeMember, compositeMember)); + } + + /** + * Returns the value of the 'Field' containment reference. + * + *+ * If the meaning of the 'Field' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Field' containment reference. + * @see #setField(XmlField_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection_2_4_Field() + * @model containment="true" + * @generated + */ + public XmlField_2_4 getField() + { + return field; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetField(XmlField_2_4 newField, NotificationChain msgs) + { + XmlField_2_4 oldField = field; + field = newField; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD, oldField, newField); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#getField Field}' containment reference. + * + * + * @param value the new value of the 'Field' containment reference. + * @see #getField() + * @generated + */ + public void setField(XmlField_2_4 newField) + { + if (newField != field) + { + NotificationChain msgs = null; + if (field != null) + msgs = ((InternalEObject)field).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD, null, msgs); + if (newField != null) + msgs = ((InternalEObject)newField).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD, null, msgs); + msgs = basicSetField(newField, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__FIELD, newField, newField)); + } + + /** + * Returns the value of the 'Delete All' attribute. + * + *+ * If the meaning of the 'Delete All' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Delete All' attribute. + * @see #setDeleteAll(boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlElementCollection_2_4_DeleteAll() + * @model dataType="org.eclipse.emf.ecore.xml.type.Boolean" + * @generated + */ + public boolean isDeleteAll() + { + return deleteAll; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlElementCollection#isDeleteAll Delete All}' attribute. + * + * + * @param value the new value of the 'Delete All' attribute. + * @see #isDeleteAll() + * @generated + */ + public void setDeleteAll(boolean newDeleteAll) + { + boolean oldDeleteAll = deleteAll; + deleteAll = newDeleteAll; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ELEMENT_COLLECTION__DELETE_ALL, oldDeleteAll, deleteAll)); + } + + /** + * Returns the value of the 'Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter}. + * + *+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Object Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() + * @model containment="true" + * @generated + */ + public EList+ * The following features are supported: + *
+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_EMBEDDABLE__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Attribute Overrides' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverride}. + * + *+ * If the meaning of the 'Attribute Overrides' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Overrides' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeOverrideContainer_AttributeOverrides() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Association Overrides' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Association Overrides' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAssociationOverrideContainer_AssociationOverrides() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Parent Class' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Parent Class' attribute. + * @see #setParentClass(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeMapping_2_1_ParentClass() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getParentClass() + { + return parentClass; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getParentClass Parent Class}' attribute. + * + * + * @param value the new value of the 'Parent Class' attribute. + * @see #getParentClass() + * @generated + */ + public void setParentClass(String newParentClass) + { + String oldParentClass = parentClass; + parentClass = newParentClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__PARENT_CLASS, oldParentClass, parentClass)); + } + + /** + * Returns the value of the 'Plsql Records' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3}. + * + *+ * If the meaning of the 'Plsql Records' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Plsql Records' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Plsql Tables' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Plsql Tables' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable_2_3_PlsqlTables() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct' containment reference. + * @see #setStruct(XmlStruct_2_3) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable_2_3_Struct() + * @model containment="true" + * @generated + */ + public XmlStruct_2_3 getStruct() + { + return struct; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStruct(XmlStruct_2_3 newStruct, NotificationChain msgs) + { + XmlStruct_2_3 oldStruct = struct; + struct = newStruct; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT, oldStruct, newStruct); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getStruct Struct}' containment reference. + * + * + * @param value the new value of the 'Struct' containment reference. + * @see #getStruct() + * @generated + */ + public void setStruct(XmlStruct_2_3 newStruct) + { + if (newStruct != struct) + { + NotificationChain msgs = null; + if (struct != null) + msgs = ((InternalEObject)struct).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT, null, msgs); + if (newStruct != null) + msgs = ((InternalEObject)newStruct).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT, null, msgs); + msgs = basicSetStruct(newStruct, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT, newStruct, newStruct)); + } + + /** + * Returns the value of the 'No Sql' containment reference. + * + *+ * If the meaning of the 'No Sql' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'No Sql' containment reference. + * @see #setNoSql(XmlNoSql_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable_2_4_NoSql() + * @model containment="true" + * @generated + */ + public XmlNoSql_2_4 getNoSql() + { + return noSql; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetNoSql(XmlNoSql_2_4 newNoSql, NotificationChain msgs) + { + XmlNoSql_2_4 oldNoSql = noSql; + noSql = newNoSql; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL, oldNoSql, newNoSql); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getNoSql No Sql}' containment reference. + * + * + * @param value the new value of the 'No Sql' containment reference. + * @see #getNoSql() + * @generated + */ + public void setNoSql(XmlNoSql_2_4 newNoSql) + { + if (newNoSql != noSql) + { + NotificationChain msgs = null; + if (noSql != null) + msgs = ((InternalEObject)noSql).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL, null, msgs); + if (newNoSql != null) + msgs = ((InternalEObject)newNoSql).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL, null, msgs); + msgs = basicSetNoSql(newNoSql, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL, newNoSql, newNoSql)); + } + + /** + * Returns the value of the 'Customizer' containment reference. + * + *+ * If the meaning of the 'Customizer' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Customizer' containment reference. + * @see #setCustomizer(XmlClassReference) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder_Customizer() + * @model containment="true" + * @generated + */ + public XmlClassReference getCustomizer() + { + return customizer; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCustomizer(XmlClassReference newCustomizer, NotificationChain msgs) + { + XmlClassReference oldCustomizer = customizer; + customizer = newCustomizer; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER, oldCustomizer, newCustomizer); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCustomizer Customizer}' containment reference. + * + * + * @param value the new value of the 'Customizer' containment reference. + * @see #getCustomizer() + * @generated + */ + public void setCustomizer(XmlClassReference newCustomizer) + { + if (newCustomizer != customizer) + { + NotificationChain msgs = null; + if (customizer != null) + msgs = ((InternalEObject)customizer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER, null, msgs); + if (newCustomizer != null) + msgs = ((InternalEObject)newCustomizer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER, null, msgs); + msgs = basicSetCustomizer(newCustomizer, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER, newCustomizer, newCustomizer)); + } + + /** + * Returns the value of the 'Change Tracking' containment reference. + * + *+ * If the meaning of the 'Change Tracking' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Change Tracking' containment reference. + * @see #setChangeTracking(XmlChangeTracking) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder_ChangeTracking() + * @model containment="true" + * @generated + */ + public XmlChangeTracking getChangeTracking() + { + return changeTracking; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetChangeTracking(XmlChangeTracking newChangeTracking, NotificationChain msgs) + { + XmlChangeTracking oldChangeTracking = changeTracking; + changeTracking = newChangeTracking; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING, oldChangeTracking, newChangeTracking); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getChangeTracking Change Tracking}' containment reference. + * + * + * @param value the new value of the 'Change Tracking' containment reference. + * @see #getChangeTracking() + * @generated + */ + public void setChangeTracking(XmlChangeTracking newChangeTracking) + { + if (newChangeTracking != changeTracking) + { + NotificationChain msgs = null; + if (changeTracking != null) + msgs = ((InternalEObject)changeTracking).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING, null, msgs); + if (newChangeTracking != null) + msgs = ((InternalEObject)newChangeTracking).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING, null, msgs); + msgs = basicSetChangeTracking(newChangeTracking, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING, newChangeTracking, newChangeTracking)); + } + + /** + * Returns the value of the 'Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter}. + * + *+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Object Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Copy Policy' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Copy Policy' containment reference. + * @see #setCopyPolicy(XmlCopyPolicy) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable_CopyPolicy() + * @model containment="true" + * @generated + */ + public XmlCopyPolicy getCopyPolicy() + { + return copyPolicy; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCopyPolicy(XmlCopyPolicy newCopyPolicy, NotificationChain msgs) + { + XmlCopyPolicy oldCopyPolicy = copyPolicy; + copyPolicy = newCopyPolicy; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY, oldCopyPolicy, newCopyPolicy); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCopyPolicy Copy Policy}' containment reference. + * + * + * @param value the new value of the 'Copy Policy' containment reference. + * @see #getCopyPolicy() + * @generated + */ + public void setCopyPolicy(XmlCopyPolicy newCopyPolicy) + { + if (newCopyPolicy != copyPolicy) + { + NotificationChain msgs = null; + if (copyPolicy != null) + msgs = ((InternalEObject)copyPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY, null, msgs); + if (newCopyPolicy != null) + msgs = ((InternalEObject)newCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY, null, msgs); + msgs = basicSetCopyPolicy(newCopyPolicy, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY, newCopyPolicy, newCopyPolicy)); + } + + /** + * Returns the value of the 'Instantiation Copy Policy' containment reference. + * + *+ * If the meaning of the 'Instantiation Copy Policy' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Instantiation Copy Policy' containment reference. + * @see #setInstantiationCopyPolicy(XmlInstantiationCopyPolicy) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable_InstantiationCopyPolicy() + * @model containment="true" + * @generated + */ + public XmlInstantiationCopyPolicy getInstantiationCopyPolicy() + { + return instantiationCopyPolicy; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetInstantiationCopyPolicy(XmlInstantiationCopyPolicy newInstantiationCopyPolicy, NotificationChain msgs) + { + XmlInstantiationCopyPolicy oldInstantiationCopyPolicy = instantiationCopyPolicy; + instantiationCopyPolicy = newInstantiationCopyPolicy; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY, oldInstantiationCopyPolicy, newInstantiationCopyPolicy); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getInstantiationCopyPolicy Instantiation Copy Policy}' containment reference. + * + * + * @param value the new value of the 'Instantiation Copy Policy' containment reference. + * @see #getInstantiationCopyPolicy() + * @generated + */ + public void setInstantiationCopyPolicy(XmlInstantiationCopyPolicy newInstantiationCopyPolicy) + { + if (newInstantiationCopyPolicy != instantiationCopyPolicy) + { + NotificationChain msgs = null; + if (instantiationCopyPolicy != null) + msgs = ((InternalEObject)instantiationCopyPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY, null, msgs); + if (newInstantiationCopyPolicy != null) + msgs = ((InternalEObject)newInstantiationCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY, null, msgs); + msgs = basicSetInstantiationCopyPolicy(newInstantiationCopyPolicy, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY, newInstantiationCopyPolicy, newInstantiationCopyPolicy)); + } + + /** + * Returns the value of the 'Clone Copy Policy' containment reference. + * + *+ * If the meaning of the 'Clone Copy Policy' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Clone Copy Policy' containment reference. + * @see #setCloneCopyPolicy(XmlCloneCopyPolicy) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable_CloneCopyPolicy() + * @model containment="true" + * @generated + */ + public XmlCloneCopyPolicy getCloneCopyPolicy() + { + return cloneCopyPolicy; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCloneCopyPolicy(XmlCloneCopyPolicy newCloneCopyPolicy, NotificationChain msgs) + { + XmlCloneCopyPolicy oldCloneCopyPolicy = cloneCopyPolicy; + cloneCopyPolicy = newCloneCopyPolicy; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY, oldCloneCopyPolicy, newCloneCopyPolicy); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getCloneCopyPolicy Clone Copy Policy}' containment reference. + * + * + * @param value the new value of the 'Clone Copy Policy' containment reference. + * @see #getCloneCopyPolicy() + * @generated + */ + public void setCloneCopyPolicy(XmlCloneCopyPolicy newCloneCopyPolicy) + { + if (newCloneCopyPolicy != cloneCopyPolicy) + { + NotificationChain msgs = null; + if (cloneCopyPolicy != null) + msgs = ((InternalEObject)cloneCopyPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY, null, msgs); + if (newCloneCopyPolicy != null) + msgs = ((InternalEObject)newCloneCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY, null, msgs); + msgs = basicSetCloneCopyPolicy(newCloneCopyPolicy, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY, newCloneCopyPolicy, newCloneCopyPolicy)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Exclude Default Mappings' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Exclude Default Mappings' attribute. + * @see #setExcludeDefaultMappings(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbeddable_ExcludeDefaultMappings() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getExcludeDefaultMappings() + { + return excludeDefaultMappings; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddable#getExcludeDefaultMappings Exclude Default Mappings}' attribute. + * + * + * @param value the new value of the 'Exclude Default Mappings' attribute. + * @see #getExcludeDefaultMappings() + * @generated + */ + public void setExcludeDefaultMappings(Boolean newExcludeDefaultMappings) + { + Boolean oldExcludeDefaultMappings = excludeDefaultMappings; + excludeDefaultMappings = newExcludeDefaultMappings; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS, oldExcludeDefaultMappings, excludeDefaultMappings)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES: + return ((InternalEList>)getAttributeOverrides()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES: + return ((InternalEList>)getAssociationOverrides()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS: + return ((InternalEList>)getPlsqlRecords()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES: + return ((InternalEList>)getPlsqlTables()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT: + return basicSetStruct(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL: + return basicSetNoSql(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER: + return basicSetCustomizer(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING: + return basicSetChangeTracking(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS: + return ((InternalEList>)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS: + return ((InternalEList>)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS: + return ((InternalEList>)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS: + return ((InternalEList>)getStructConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES: + return ((InternalEList>)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY: + return basicSetCopyPolicy(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY: + return basicSetInstantiationCopyPolicy(null, msgs); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY: + return basicSetCloneCopyPolicy(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PARENT_CLASS: + return getParentClass(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES: + return getAttributeOverrides(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES: + return getAssociationOverrides(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS: + return getPlsqlRecords(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES: + return getPlsqlTables(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT: + return getStruct(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL: + return getNoSql(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER: + return getCustomizer(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING: + return getChangeTracking(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS: + return getStructConverters(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY: + return getCopyPolicy(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY: + return getInstantiationCopyPolicy(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY: + return getCloneCopyPolicy(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS: + return getExcludeDefaultMappings(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PARENT_CLASS: + setParentClass((String)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES: + getAttributeOverrides().clear(); + getAttributeOverrides().addAll((Collection extends XmlAttributeOverride>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES: + getAssociationOverrides().clear(); + getAssociationOverrides().addAll((Collection extends XmlAssociationOverride>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS: + getPlsqlRecords().clear(); + getPlsqlRecords().addAll((Collection extends XmlPlsqlRecord_2_3>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES: + getPlsqlTables().clear(); + getPlsqlTables().addAll((Collection extends XmlPlsqlTable>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT: + setStruct((XmlStruct_2_3)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL: + setNoSql((XmlNoSql_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER: + setCustomizer((XmlClassReference)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING: + setChangeTracking((XmlChangeTracking)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection extends XmlConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection extends XmlTypeConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection extends XmlObjectTypeConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection extends XmlStructConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection extends XmlProperty>)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY: + setCopyPolicy((XmlCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY: + setInstantiationCopyPolicy((XmlInstantiationCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY: + setCloneCopyPolicy((XmlCloneCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS: + setExcludeDefaultMappings((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PARENT_CLASS: + setParentClass(PARENT_CLASS_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES: + getAttributeOverrides().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES: + getAssociationOverrides().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS: + getPlsqlRecords().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES: + getPlsqlTables().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT: + setStruct((XmlStruct_2_3)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL: + setNoSql((XmlNoSql_2_4)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER: + setCustomizer((XmlClassReference)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING: + setChangeTracking((XmlChangeTracking)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY: + setCopyPolicy((XmlCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY: + setInstantiationCopyPolicy((XmlInstantiationCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY: + setCloneCopyPolicy((XmlCloneCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS: + setExcludeDefaultMappings(EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PARENT_CLASS: + return PARENT_CLASS_EDEFAULT == null ? parentClass != null : !PARENT_CLASS_EDEFAULT.equals(parentClass); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES: + return attributeOverrides != null && !attributeOverrides.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES: + return associationOverrides != null && !associationOverrides.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS: + return plsqlRecords != null && !plsqlRecords.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES: + return plsqlTables != null && !plsqlTables.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT: + return struct != null; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL: + return noSql != null; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER: + return customizer != null; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING: + return changeTracking != null; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_EMBEDDABLE__COPY_POLICY: + return copyPolicy != null; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__INSTANTIATION_COPY_POLICY: + return instantiationCopyPolicy != null; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CLONE_COPY_POLICY: + return cloneCopyPolicy != null; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__EXCLUDE_DEFAULT_MAPPINGS: + return EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT == null ? excludeDefaultMappings != null : !EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT.equals(excludeDefaultMappings); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class> baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PARENT_CLASS: return EclipseLinkOrmV2_1Package.XML_TYPE_MAPPING_21__PARENT_CLASS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlAttributeOverrideContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES: return OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER__ATTRIBUTE_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlAssociationOverrideContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES: return OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER__ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlEmbeddable_2_2.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlEmbeddable_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS: return EclipseLinkOrmV2_3Package.XML_EMBEDDABLE_23__PLSQL_RECORDS; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES: return EclipseLinkOrmV2_3Package.XML_EMBEDDABLE_23__PLSQL_TABLES; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT: return EclipseLinkOrmV2_3Package.XML_EMBEDDABLE_23__STRUCT; + default: return -1; + } + } + if (baseClass == XmlEmbeddable_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL: return EclipseLinkOrmV2_4Package.XML_EMBEDDABLE_24__NO_SQL; + default: return -1; + } + } + if (baseClass == XmlCustomizerHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER: return EclipseLinkOrmPackage.XML_CUSTOMIZER_HOLDER__CUSTOMIZER; + default: return -1; + } + } + if (baseClass == XmlChangeTrackingHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING: return EclipseLinkOrmPackage.XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @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_EMBEDDABLE__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping_2_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_1Package.XML_TYPE_MAPPING_21__PARENT_CLASS: return EclipseLinkOrmPackage.XML_EMBEDDABLE__PARENT_CLASS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlAttributeOverrideContainer.class) + { + switch (baseFeatureID) + { + case OrmPackage.XML_ATTRIBUTE_OVERRIDE_CONTAINER__ATTRIBUTE_OVERRIDES: return EclipseLinkOrmPackage.XML_EMBEDDABLE__ATTRIBUTE_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlAssociationOverrideContainer.class) + { + switch (baseFeatureID) + { + case OrmPackage.XML_ASSOCIATION_OVERRIDE_CONTAINER__ASSOCIATION_OVERRIDES: return EclipseLinkOrmPackage.XML_EMBEDDABLE__ASSOCIATION_OVERRIDES; + default: return -1; + } + } + if (baseClass == XmlEmbeddable_2_2.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlEmbeddable_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_EMBEDDABLE_23__PLSQL_RECORDS: return EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_RECORDS; + case EclipseLinkOrmV2_3Package.XML_EMBEDDABLE_23__PLSQL_TABLES: return EclipseLinkOrmPackage.XML_EMBEDDABLE__PLSQL_TABLES; + case EclipseLinkOrmV2_3Package.XML_EMBEDDABLE_23__STRUCT: return EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT; + default: return -1; + } + } + if (baseClass == XmlEmbeddable_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_EMBEDDABLE_24__NO_SQL: return EclipseLinkOrmPackage.XML_EMBEDDABLE__NO_SQL; + default: return -1; + } + } + if (baseClass == XmlCustomizerHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CUSTOMIZER_HOLDER__CUSTOMIZER: return EclipseLinkOrmPackage.XML_EMBEDDABLE__CUSTOMIZER; + default: return -1; + } + } + if (baseClass == XmlChangeTrackingHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING: return EclipseLinkOrmPackage.XML_EMBEDDABLE__CHANGE_TRACKING; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_EMBEDDABLE__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_EMBEDDABLE__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_EMBEDDABLE__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_EMBEDDABLE__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_EMBEDDABLE__PROPERTIES; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (parentClass: "); + result.append(parentClass); + result.append(", excludeDefaultMappings: "); + result.append(excludeDefaultMappings); + result.append(')'); + return result.toString(); + } + + + public TextRange getParentClassTextRange() { + return getAttributeTextRange(EclipseLink2_1.PARENT_CLASS); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlEmbeddable(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildClassTranslator(), + buildParentClassTranslator(), + buildAccessTranslator(), + buildMetadataCompleteTranslator(), + buildExcludeDefaultMappingsTranslator(), + buildDescriptionTranslator(), + buildAccessMethodsTranslator(), + buildCustomizerTranslator(), + buildChangeTrackingTranslator(), + XmlStruct.buildTranslator(EclipseLink2_3.STRUCT, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEmbeddable_2_3_Struct()), + buildNoSqlTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildCopyPolicyTranslator(), + buildInstantiationCoypPolicyTranslator(), + buildCloneCopyPolicyTranslator(), + XmlPlsqlRecord.buildTranslator(EclipseLink2_3.PLSQL_RECORD, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEmbeddable_2_3_PlsqlRecords()), + XmlPlsqlTable.buildTranslator(EclipseLink2_3.PLSQL_TABLE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEmbeddable_2_3_PlsqlTables()), + buildPropertyTranslator(), + buildAttributeOverrideTranslator(), + buildAssociationOverrideTranslator(), + Attributes.buildTranslator()}; + } + + protected static Translator buildExcludeDefaultMappingsTranslator() { + return new Translator(EclipseLink.EXCLUDE_DEFAULT_MAPPINGS, EclipseLinkOrmPackage.eINSTANCE.getXmlEmbeddable_ExcludeDefaultMappings(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildCustomizerTranslator() { + return XmlClassReference.buildTranslator(EclipseLink.CUSTOMIZER, EclipseLinkOrmPackage.eINSTANCE.getXmlCustomizerHolder_Customizer()); + } + + protected static Translator buildChangeTrackingTranslator() { + return XmlChangeTracking.buildTranslator(EclipseLink.CHANGE_TRACKING, EclipseLinkOrmPackage.eINSTANCE.getXmlChangeTrackingHolder_ChangeTracking()); + } + + protected static Translator buildConverterTranslator() { + return XmlConverter.buildTranslator(EclipseLink.CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_Converters()); + } + + protected static Translator buildTypeConverterTranslator() { + return XmlTypeConverter.buildTranslator(EclipseLink.TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_TypeConverters()); + } + + protected static Translator buildObjectTypeConverterTranslator() { + return XmlObjectTypeConverter.buildTranslator(EclipseLink.OBJECT_TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_ObjectTypeConverters()); + } + + protected static Translator buildStructConverterTranslator() { + return XmlStructConverter.buildTranslator(EclipseLink.STRUCT_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_StructConverters()); + } + + protected static Translator buildCopyPolicyTranslator() { + return XmlCopyPolicy.buildTranslator(EclipseLink.COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlEmbeddable_CopyPolicy()); + } + + protected static Translator buildInstantiationCoypPolicyTranslator() { + return XmlInstantiationCopyPolicy.buildTranslator(EclipseLink.INSTANTIATION_COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlEmbeddable_InstantiationCopyPolicy()); + } + + protected static Translator buildCloneCopyPolicyTranslator() { + return XmlCloneCopyPolicy.buildTranslator(EclipseLink.CLONE_COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlEmbeddable_CloneCopyPolicy()); + } + + protected static Translator buildPropertyTranslator() { + return XmlProperty.buildTranslator(EclipseLink.PROPERTY, EclipseLinkOrmPackage.eINSTANCE.getXmlPropertyContainer_Properties()); + } + + protected static Translator buildAccessMethodsTranslator() { + return XmlAccessMethods.buildTranslator(EclipseLink.ACCESS_METHODS, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethodsHolder_AccessMethods()); + } + + protected static Translator buildParentClassTranslator() { + return new Translator(EclipseLink2_1.PARENT_CLASS, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlTypeMapping_2_1_ParentClass(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildAttributeOverrideTranslator() { + return XmlAttributeOverride.buildTranslator(JPA.ATTRIBUTE_OVERRIDE, OrmPackage.eINSTANCE.getXmlAttributeOverrideContainer_AttributeOverrides()); + } + + protected static Translator buildAssociationOverrideTranslator() { + return XmlAssociationOverride.buildTranslator(JPA.ASSOCIATION_OVERRIDE, OrmPackage.eINSTANCE.getXmlAssociationOverrideContainer_AssociationOverrides()); + } + + protected static Translator buildNoSqlTranslator() { + return XmlNoSql.buildTranslator(EclipseLink2_4.NO_SQL, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlEmbeddable_2_4_NoSql()); + } + + // *********** content assist ************ + + public TextRange getParentClassCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink2_1.PARENT_CLASS); + } + + public boolean parentClassTouches(int pos) { + TextRange textRange = this.getParentClassCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbedded.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbedded.java new file mode 100644 index 0000000000..50f3183734 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEmbedded.java @@ -0,0 +1,583 @@ +/******************************************************************************* + * Copyright (c) 2009, 2012 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +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.EStructuralFeature; +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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLink2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEmbedded_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Embedded Impl'. + * + * 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. + * + * @version 2.3 + * @since 2.1 + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbedded() + * @model kind="class" + * @generated + */ +public class XmlEmbedded extends org.eclipse.jpt.jpa.core.resource.orm.XmlEmbedded implements XmlEmbedded_2_4, XmlAttributeMapping +{ + /** + * The cached value of the '{@link #getField() Field}' containment reference. + * + * + * @see #getField() + * @generated + * @ordered + */ + protected XmlField_2_4 field; + + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Field' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Field' containment reference. + * @see #setField(XmlField_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEmbedded_2_4_Field() + * @model containment="true" + * @generated + */ + public XmlField_2_4 getField() + { + return field; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetField(XmlField_2_4 newField, NotificationChain msgs) + { + XmlField_2_4 oldField = field; + field = newField; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDED__FIELD, oldField, newField); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded#getField Field}' containment reference. + * + * + * @param value the new value of the 'Field' containment reference. + * @see #getField() + * @generated + */ + public void setField(XmlField_2_4 newField) + { + if (newField != field) + { + NotificationChain msgs = null; + if (field != null) + msgs = ((InternalEObject)field).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDED__FIELD, null, msgs); + if (newField != null) + msgs = ((InternalEObject)newField).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDED__FIELD, null, msgs); + msgs = basicSetField(newField, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDED__FIELD, newField, newField)); + } + + /** + * Returns the value of the 'Attribute Type' attribute. + * + *+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAttributeType() + { + return attributeType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + public void setAttributeType(String newAttributeType) + { + String oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDED__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * Returns the value of the 'Access Methods' containment reference. + * + *+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbedded#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_EMBEDDED__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDED__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAttributeType() + { + return attributeType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + public void setAttributeType(String newAttributeType) + { + String oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDED_ID__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * Returns the value of the 'Access Methods' containment reference. + * + *+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEmbeddedId#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_EMBEDDED_ID__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_EMBEDDED_ID__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * The following features are supported: + *
+ * If the meaning of the 'Read Only' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Read Only' attribute. + * @see #setReadOnly(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlReadOnly_ReadOnly() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getReadOnly() + { + return readOnly; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getReadOnly Read Only}' attribute. + * + * + * @param value the new value of the 'Read Only' attribute. + * @see #getReadOnly() + * @generated + */ + public void setReadOnly(Boolean newReadOnly) + { + Boolean oldReadOnly = readOnly; + readOnly = newReadOnly; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY, oldReadOnly, readOnly)); + } + + /** + * Returns the value of the 'Customizer' containment reference. + * + *+ * If the meaning of the 'Customizer' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Customizer' containment reference. + * @see #setCustomizer(XmlClassReference) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCustomizerHolder_Customizer() + * @model containment="true" + * @generated + */ + public XmlClassReference getCustomizer() + { + return customizer; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCustomizer(XmlClassReference newCustomizer, NotificationChain msgs) + { + XmlClassReference oldCustomizer = customizer; + customizer = newCustomizer; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER, oldCustomizer, newCustomizer); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCustomizer Customizer}' containment reference. + * + * + * @param value the new value of the 'Customizer' containment reference. + * @see #getCustomizer() + * @generated + */ + public void setCustomizer(XmlClassReference newCustomizer) + { + if (newCustomizer != customizer) + { + NotificationChain msgs = null; + if (customizer != null) + msgs = ((InternalEObject)customizer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER, null, msgs); + if (newCustomizer != null) + msgs = ((InternalEObject)newCustomizer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER, null, msgs); + msgs = basicSetCustomizer(newCustomizer, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER, newCustomizer, newCustomizer)); + } + + /** + * Returns the value of the 'Change Tracking' containment reference. + * + *+ * If the meaning of the 'Change Tracking' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Change Tracking' containment reference. + * @see #setChangeTracking(XmlChangeTracking) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlChangeTrackingHolder_ChangeTracking() + * @model containment="true" + * @generated + */ + public XmlChangeTracking getChangeTracking() + { + return changeTracking; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetChangeTracking(XmlChangeTracking newChangeTracking, NotificationChain msgs) + { + XmlChangeTracking oldChangeTracking = changeTracking; + changeTracking = newChangeTracking; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING, oldChangeTracking, newChangeTracking); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getChangeTracking Change Tracking}' containment reference. + * + * + * @param value the new value of the 'Change Tracking' containment reference. + * @see #getChangeTracking() + * @generated + */ + public void setChangeTracking(XmlChangeTracking newChangeTracking) + { + if (newChangeTracking != changeTracking) + { + NotificationChain msgs = null; + if (changeTracking != null) + msgs = ((InternalEObject)changeTracking).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING, null, msgs); + if (newChangeTracking != null) + msgs = ((InternalEObject)newChangeTracking).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING, null, msgs); + msgs = basicSetChangeTracking(newChangeTracking, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING, newChangeTracking, newChangeTracking)); + } + + /** + * Returns the value of the 'Cache' containment reference. + * + *+ * If the meaning of the 'Cache' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cache' containment reference. + * @see #setCache(XmlCache) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder_Cache() + * @model containment="true" + * @generated + */ + public XmlCache getCache() + { + return cache; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCache(XmlCache newCache, NotificationChain msgs) + { + XmlCache oldCache = cache; + cache = newCache; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CACHE, oldCache, newCache); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCache Cache}' containment reference. + * + * + * @param value the new value of the 'Cache' containment reference. + * @see #getCache() + * @generated + */ + public void setCache(XmlCache newCache) + { + if (newCache != cache) + { + NotificationChain msgs = null; + if (cache != null) + msgs = ((InternalEObject)cache).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CACHE, null, msgs); + if (newCache != null) + msgs = ((InternalEObject)newCache).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CACHE, null, msgs); + msgs = basicSetCache(newCache, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CACHE, newCache, newCache)); + } + + /** + * Returns the value of the 'Existence Checking' attribute. + * The default value is""
.
+ * The literals are from the enumeration {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType}.
+ *
+ * + * If the meaning of the 'Existence Checking' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Existence Checking' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType + * @see #setExistenceChecking(ExistenceType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCacheHolder_ExistenceChecking() + * @model default="" + * @generated + */ + public ExistenceType getExistenceChecking() + { + return existenceChecking; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getExistenceChecking Existence Checking}' attribute. + * + * + * @param value the new value of the 'Existence Checking' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.ExistenceType + * @see #getExistenceChecking() + * @generated + */ + public void setExistenceChecking(ExistenceType newExistenceChecking) + { + ExistenceType oldExistenceChecking = existenceChecking; + existenceChecking = newExistenceChecking == null ? EXISTENCE_CHECKING_EDEFAULT : newExistenceChecking; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__EXISTENCE_CHECKING, oldExistenceChecking, existenceChecking)); + } + + /** + * Returns the value of the 'Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter}. + * + *+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Object Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Optimistic Locking' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Optimistic Locking' containment reference. + * @see #setOptimisticLocking(XmlOptimisticLocking) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_OptimisticLocking() + * @model containment="true" + * @generated + */ + public XmlOptimisticLocking getOptimisticLocking() + { + return optimisticLocking; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetOptimisticLocking(XmlOptimisticLocking newOptimisticLocking, NotificationChain msgs) + { + XmlOptimisticLocking oldOptimisticLocking = optimisticLocking; + optimisticLocking = newOptimisticLocking; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING, oldOptimisticLocking, newOptimisticLocking); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getOptimisticLocking Optimistic Locking}' containment reference. + * + * + * @param value the new value of the 'Optimistic Locking' containment reference. + * @see #getOptimisticLocking() + * @generated + */ + public void setOptimisticLocking(XmlOptimisticLocking newOptimisticLocking) + { + if (newOptimisticLocking != optimisticLocking) + { + NotificationChain msgs = null; + if (optimisticLocking != null) + msgs = ((InternalEObject)optimisticLocking).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING, null, msgs); + if (newOptimisticLocking != null) + msgs = ((InternalEObject)newOptimisticLocking).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING, null, msgs); + msgs = basicSetOptimisticLocking(newOptimisticLocking, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING, newOptimisticLocking, newOptimisticLocking)); + } + + /** + * Returns the value of the 'Copy Policy' containment reference. + * + *+ * If the meaning of the 'Copy Policy' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Copy Policy' containment reference. + * @see #setCopyPolicy(XmlCopyPolicy) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_CopyPolicy() + * @model containment="true" + * @generated + */ + public XmlCopyPolicy getCopyPolicy() + { + return copyPolicy; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCopyPolicy(XmlCopyPolicy newCopyPolicy, NotificationChain msgs) + { + XmlCopyPolicy oldCopyPolicy = copyPolicy; + copyPolicy = newCopyPolicy; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY, oldCopyPolicy, newCopyPolicy); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCopyPolicy Copy Policy}' containment reference. + * + * + * @param value the new value of the 'Copy Policy' containment reference. + * @see #getCopyPolicy() + * @generated + */ + public void setCopyPolicy(XmlCopyPolicy newCopyPolicy) + { + if (newCopyPolicy != copyPolicy) + { + NotificationChain msgs = null; + if (copyPolicy != null) + msgs = ((InternalEObject)copyPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY, null, msgs); + if (newCopyPolicy != null) + msgs = ((InternalEObject)newCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY, null, msgs); + msgs = basicSetCopyPolicy(newCopyPolicy, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY, newCopyPolicy, newCopyPolicy)); + } + + /** + * Returns the value of the 'Instantiation Copy Policy' containment reference. + * + *+ * If the meaning of the 'Instantiation Copy Policy' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Instantiation Copy Policy' containment reference. + * @see #setInstantiationCopyPolicy(XmlInstantiationCopyPolicy) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_InstantiationCopyPolicy() + * @model containment="true" + * @generated + */ + public XmlInstantiationCopyPolicy getInstantiationCopyPolicy() + { + return instantiationCopyPolicy; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetInstantiationCopyPolicy(XmlInstantiationCopyPolicy newInstantiationCopyPolicy, NotificationChain msgs) + { + XmlInstantiationCopyPolicy oldInstantiationCopyPolicy = instantiationCopyPolicy; + instantiationCopyPolicy = newInstantiationCopyPolicy; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY, oldInstantiationCopyPolicy, newInstantiationCopyPolicy); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getInstantiationCopyPolicy Instantiation Copy Policy}' containment reference. + * + * + * @param value the new value of the 'Instantiation Copy Policy' containment reference. + * @see #getInstantiationCopyPolicy() + * @generated + */ + public void setInstantiationCopyPolicy(XmlInstantiationCopyPolicy newInstantiationCopyPolicy) + { + if (newInstantiationCopyPolicy != instantiationCopyPolicy) + { + NotificationChain msgs = null; + if (instantiationCopyPolicy != null) + msgs = ((InternalEObject)instantiationCopyPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY, null, msgs); + if (newInstantiationCopyPolicy != null) + msgs = ((InternalEObject)newInstantiationCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY, null, msgs); + msgs = basicSetInstantiationCopyPolicy(newInstantiationCopyPolicy, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY, newInstantiationCopyPolicy, newInstantiationCopyPolicy)); + } + + /** + * Returns the value of the 'Clone Copy Policy' containment reference. + * + *+ * If the meaning of the 'Clone Copy Policy' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Clone Copy Policy' containment reference. + * @see #setCloneCopyPolicy(XmlCloneCopyPolicy) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_CloneCopyPolicy() + * @model containment="true" + * @generated + */ + public XmlCloneCopyPolicy getCloneCopyPolicy() + { + return cloneCopyPolicy; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCloneCopyPolicy(XmlCloneCopyPolicy newCloneCopyPolicy, NotificationChain msgs) + { + XmlCloneCopyPolicy oldCloneCopyPolicy = cloneCopyPolicy; + cloneCopyPolicy = newCloneCopyPolicy; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY, oldCloneCopyPolicy, newCloneCopyPolicy); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCloneCopyPolicy Clone Copy Policy}' containment reference. + * + * + * @param value the new value of the 'Clone Copy Policy' containment reference. + * @see #getCloneCopyPolicy() + * @generated + */ + public void setCloneCopyPolicy(XmlCloneCopyPolicy newCloneCopyPolicy) + { + if (newCloneCopyPolicy != cloneCopyPolicy) + { + NotificationChain msgs = null; + if (cloneCopyPolicy != null) + msgs = ((InternalEObject)cloneCopyPolicy).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY, null, msgs); + if (newCloneCopyPolicy != null) + msgs = ((InternalEObject)newCloneCopyPolicy).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY, null, msgs); + msgs = basicSetCloneCopyPolicy(newCloneCopyPolicy, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY, newCloneCopyPolicy, newCloneCopyPolicy)); + } + + /** + * Returns the value of the 'Named Stored Procedure Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlNamedStoredProcedureQuery}. + * + *+ * If the meaning of the 'Named Stored Procedure Queries' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Named Stored Procedure Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer_NamedStoredProcedureQueries() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Primary Key' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Primary Key' containment reference. + * @see #setPrimaryKey(XmlPrimaryKey) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_1_1_PrimaryKey() + * @model containment="true" + * @generated + */ + public XmlPrimaryKey getPrimaryKey() + { + return primaryKey; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetPrimaryKey(XmlPrimaryKey newPrimaryKey, NotificationChain msgs) + { + XmlPrimaryKey oldPrimaryKey = primaryKey; + primaryKey = newPrimaryKey; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY, oldPrimaryKey, newPrimaryKey); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getPrimaryKey Primary Key}' containment reference. + * + * + * @param value the new value of the 'Primary Key' containment reference. + * @see #getPrimaryKey() + * @generated + */ + public void setPrimaryKey(XmlPrimaryKey newPrimaryKey) + { + if (newPrimaryKey != primaryKey) + { + NotificationChain msgs = null; + if (primaryKey != null) + msgs = ((InternalEObject)primaryKey).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY, null, msgs); + if (newPrimaryKey != null) + msgs = ((InternalEObject)newPrimaryKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY, null, msgs); + msgs = basicSetPrimaryKey(newPrimaryKey, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY, newPrimaryKey, newPrimaryKey)); + } + + /** + * Returns the value of the 'Cache Interceptor' containment reference. + * + *+ * If the meaning of the 'Cache Interceptor' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cache Interceptor' containment reference. + * @see #setCacheInterceptor(XmlClassReference) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_0_CacheInterceptor() + * @model containment="true" + * @generated + */ + public XmlClassReference getCacheInterceptor() + { + return cacheInterceptor; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCacheInterceptor(XmlClassReference newCacheInterceptor, NotificationChain msgs) + { + XmlClassReference oldCacheInterceptor = cacheInterceptor; + cacheInterceptor = newCacheInterceptor; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR, oldCacheInterceptor, newCacheInterceptor); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCacheInterceptor Cache Interceptor}' containment reference. + * + * + * @param value the new value of the 'Cache Interceptor' containment reference. + * @see #getCacheInterceptor() + * @generated + */ + public void setCacheInterceptor(XmlClassReference newCacheInterceptor) + { + if (newCacheInterceptor != cacheInterceptor) + { + NotificationChain msgs = null; + if (cacheInterceptor != null) + msgs = ((InternalEObject)cacheInterceptor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR, null, msgs); + if (newCacheInterceptor != null) + msgs = ((InternalEObject)newCacheInterceptor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR, null, msgs); + msgs = basicSetCacheInterceptor(newCacheInterceptor, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR, newCacheInterceptor, newCacheInterceptor)); + } + + /** + * Returns the value of the 'Query Redirectors' containment reference. + * + *+ * If the meaning of the 'Query Redirectors' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Query Redirectors' containment reference. + * @see #setQueryRedirectors(XmlQueryRedirectors) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_0_QueryRedirectors() + * @model containment="true" + * @generated + */ + public XmlQueryRedirectors getQueryRedirectors() + { + return queryRedirectors; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetQueryRedirectors(XmlQueryRedirectors newQueryRedirectors, NotificationChain msgs) + { + XmlQueryRedirectors oldQueryRedirectors = queryRedirectors; + queryRedirectors = newQueryRedirectors; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS, oldQueryRedirectors, newQueryRedirectors); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getQueryRedirectors Query Redirectors}' containment reference. + * + * + * @param value the new value of the 'Query Redirectors' containment reference. + * @see #getQueryRedirectors() + * @generated + */ + public void setQueryRedirectors(XmlQueryRedirectors newQueryRedirectors) + { + if (newQueryRedirectors != queryRedirectors) + { + NotificationChain msgs = null; + if (queryRedirectors != null) + msgs = ((InternalEObject)queryRedirectors).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS, null, msgs); + if (newQueryRedirectors != null) + msgs = ((InternalEObject)newQueryRedirectors).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS, null, msgs); + msgs = basicSetQueryRedirectors(newQueryRedirectors, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS, newQueryRedirectors, newQueryRedirectors)); + } + + /** + * Returns the value of the 'Access Methods' containment reference. + * + *+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @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__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__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__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Fetch Groups' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup}. + * + *+ * If the meaning of the 'Fetch Groups' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Fetch Groups' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroupContainer_2_1_FetchGroups() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Class Extractor' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Class Extractor' containment reference. + * @see #setClassExtractor(XmlClassReference) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_1_ClassExtractor() + * @model containment="true" + * @generated + */ + public XmlClassReference getClassExtractor() + { + return classExtractor; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetClassExtractor(XmlClassReference newClassExtractor, NotificationChain msgs) + { + XmlClassReference oldClassExtractor = classExtractor; + classExtractor = newClassExtractor; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR, oldClassExtractor, newClassExtractor); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getClassExtractor Class Extractor}' containment reference. + * + * + * @param value the new value of the 'Class Extractor' containment reference. + * @see #getClassExtractor() + * @generated + */ + public void setClassExtractor(XmlClassReference newClassExtractor) + { + if (newClassExtractor != classExtractor) + { + NotificationChain msgs = null; + if (classExtractor != null) + msgs = ((InternalEObject)classExtractor).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR, null, msgs); + if (newClassExtractor != null) + msgs = ((InternalEObject)newClassExtractor).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR, null, msgs); + msgs = basicSetClassExtractor(newClassExtractor, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR, newClassExtractor, newClassExtractor)); + } + + /** + * Returns the value of the 'Parent Class' attribute. + * + *+ * If the meaning of the 'Parent Class' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Parent Class' attribute. + * @see #setParentClass(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlTypeMapping_2_1_ParentClass() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getParentClass() + { + return parentClass; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getParentClass Parent Class}' attribute. + * + * + * @param value the new value of the 'Parent Class' attribute. + * @see #getParentClass() + * @generated + */ + public void setParentClass(String newParentClass) + { + String oldParentClass = parentClass; + parentClass = newParentClass; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS, oldParentClass, parentClass)); + } + + /** + * Returns the value of the 'Partitioning' containment reference. + * + *+ * If the meaning of the 'Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Partitioning' containment reference. + * @see #setPartitioning(XmlPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_Partitioning() + * @model containment="true" + * @generated + */ + public XmlPartitioning_2_2 getPartitioning() + { + return partitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntity#getPartitioning Partitioning}' containment reference. + * + * + * @param value the new value of the 'Partitioning' 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 'Replication Partitioning' containment reference. + * + *+ * If the meaning of the 'Replication Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Replication Partitioning' containment reference. + * @see #setReplicationPartitioning(XmlReplicationPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ReplicationPartitioning() + * @model containment="true" + * @generated + */ + public XmlReplicationPartitioning_2_2 getReplicationPartitioning() + { + return replicationPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntity#getReplicationPartitioning Replication Partitioning}' containment reference. + * + * + * @param value the new value of the 'Replication Partitioning' 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 'Round Robin Partitioning' containment reference. + * + *+ * If the meaning of the 'Round Robin Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Round Robin Partitioning' containment reference. + * @see #setRoundRobinPartitioning(XmlRoundRobinPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RoundRobinPartitioning() + * @model containment="true" + * @generated + */ + public XmlRoundRobinPartitioning_2_2 getRoundRobinPartitioning() + { + return roundRobinPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntity#getRoundRobinPartitioning Round Robin Partitioning}' containment reference. + * + * + * @param value the new value of the 'Round Robin Partitioning' 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 'Pinned Partitioning' containment reference. + * + *+ * If the meaning of the 'Pinned Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pinned Partitioning' containment reference. + * @see #setPinnedPartitioning(XmlPinnedPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_PinnedPartitioning() + * @model containment="true" + * @generated + */ + public XmlPinnedPartitioning_2_2 getPinnedPartitioning() + { + return pinnedPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntity#getPinnedPartitioning Pinned Partitioning}' containment reference. + * + * + * @param value the new value of the 'Pinned Partitioning' 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 'Range Partitioning' containment reference. + * + *+ * If the meaning of the 'Range Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Range Partitioning' containment reference. + * @see #setRangePartitioning(XmlRangePartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_RangePartitioning() + * @model containment="true" + * @generated + */ + public XmlRangePartitioning_2_2 getRangePartitioning() + { + return rangePartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntity#getRangePartitioning Range Partitioning}' containment reference. + * + * + * @param value the new value of the 'Range Partitioning' 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 'Value Partitioning' containment reference. + * + *+ * If the meaning of the 'Value Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Value Partitioning' containment reference. + * @see #setValuePartitioning(XmlValuePartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_ValuePartitioning() + * @model containment="true" + * @generated + */ + public XmlValuePartitioning_2_2 getValuePartitioning() + { + return valuePartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntity#getValuePartitioning Value Partitioning}' containment reference. + * + * + * @param value the new value of the 'Value Partitioning' 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 'Hash Partitioning' containment reference. + * + *+ * If the meaning of the 'Hash Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Hash Partitioning' containment reference. + * @see #setHashPartitioning(XmlHashPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_HashPartitioning() + * @model containment="true" + * @generated + */ + public XmlHashPartitioning_2_2 getHashPartitioning() + { + return hashPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntity#getHashPartitioning Hash Partitioning}' containment reference. + * + * + * @param value the new value of the 'Hash Partitioning' 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 'Union Partitioning' containment reference. + * + *+ * If the meaning of the 'Union Partitioning' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Union Partitioning' containment reference. + * @see #setUnionPartitioning(XmlUnionPartitioning_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPartitioningGroup_2_2_UnionPartitioning() + * @model containment="true" + * @generated + */ + public XmlUnionPartitioning_2_2 getUnionPartitioning() + { + return unionPartitioning; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntity#getUnionPartitioning Union Partitioning}' containment reference. + * + * + * @param value the new value of the 'Union Partitioning' 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 'Partitioned' attribute. + * + *+ * If the meaning of the 'Partitioned' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Partitioned' attribute. + * @see #setPartitioned(String) + * @see org.eclipse.jpt.jpa.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.jpa.eclipselink.core.resource.orm.XmlEntity#getPartitioned Partitioned}' attribute. + * + * + * @param value the new value of the 'Partitioned' 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 'Cascade On Delete' attribute. + * + *+ * If the meaning of the 'Cascade On Delete' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cascade On Delete' attribute. + * @see #setCascadeOnDelete(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_2_CascadeOnDelete() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getCascadeOnDelete() + { + return cascadeOnDelete; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCascadeOnDelete Cascade On Delete}' attribute. + * + * + * @param value the new value of the 'Cascade On Delete' attribute. + * @see #getCascadeOnDelete() + * @generated + */ + public void setCascadeOnDelete(Boolean newCascadeOnDelete) + { + Boolean oldCascadeOnDelete = cascadeOnDelete; + cascadeOnDelete = newCascadeOnDelete; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CASCADE_ON_DELETE, oldCascadeOnDelete, cascadeOnDelete)); + } + + /** + * Returns the value of the 'Index' containment reference. + * + *+ * If the meaning of the 'Index' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Index' containment reference. + * @see #setIndex(XmlIndex_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_2_Index() + * @model containment="true" + * @generated + */ + public XmlIndex_2_2 getIndex() + { + return index; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetIndex(XmlIndex_2_2 newIndex, NotificationChain msgs) + { + XmlIndex_2_2 oldIndex = index; + index = newIndex; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__INDEX, oldIndex, newIndex); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getIndex Index}' containment reference. + * + * + * @param value the new value of the 'Index' containment reference. + * @see #getIndex() + * @generated + */ + public void setIndex(XmlIndex_2_2 newIndex) + { + if (newIndex != index) + { + NotificationChain msgs = null; + if (index != null) + msgs = ((InternalEObject)index).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__INDEX, null, msgs); + if (newIndex != null) + msgs = ((InternalEObject)newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__INDEX, null, msgs); + msgs = basicSetIndex(newIndex, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__INDEX, newIndex, newIndex)); + } + + /** + * Returns the value of the 'Multitenant' containment reference. + * + *+ * If the meaning of the 'Multitenant' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Multitenant' containment reference. + * @see #setMultitenant(XmlMultitenant) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMultitenantHolder_Multitenant() + * @model containment="true" + * @generated + */ + public XmlMultitenant getMultitenant() + { + return multitenant; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetMultitenant(XmlMultitenant newMultitenant, NotificationChain msgs) + { + XmlMultitenant oldMultitenant = multitenant; + multitenant = newMultitenant; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT, oldMultitenant, newMultitenant); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getMultitenant Multitenant}' containment reference. + * + * + * @param value the new value of the 'Multitenant' containment reference. + * @see #getMultitenant() + * @generated + */ + public void setMultitenant(XmlMultitenant newMultitenant) + { + if (newMultitenant != multitenant) + { + NotificationChain msgs = null; + if (multitenant != null) + msgs = ((InternalEObject)multitenant).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT, null, msgs); + if (newMultitenant != null) + msgs = ((InternalEObject)newMultitenant).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT, null, msgs); + msgs = basicSetMultitenant(newMultitenant, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT, newMultitenant, newMultitenant)); + } + + /** + * Returns the value of the 'Named Stored Function Queries' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3}. + * + *+ * If the meaning of the 'Named Stored Function Queries' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Named Stored Function Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_3_NamedStoredFunctionQueries() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Named Plsql Stored Function Queries' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Named Plsql Stored Function Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Named Plsql Stored Procedure Queries' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Named Plsql Stored Procedure Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Plsql Records' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Plsql Records' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Plsql Tables' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Plsql Tables' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_3_PlsqlTables() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct' containment reference. + * @see #setStruct(XmlStruct_2_3) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_3_Struct() + * @model containment="true" + * @generated + */ + public XmlStruct_2_3 getStruct() + { + return struct; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStruct(XmlStruct_2_3 newStruct, NotificationChain msgs) + { + XmlStruct_2_3 oldStruct = struct; + struct = newStruct; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__STRUCT, oldStruct, newStruct); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getStruct Struct}' containment reference. + * + * + * @param value the new value of the 'Struct' containment reference. + * @see #getStruct() + * @generated + */ + public void setStruct(XmlStruct_2_3 newStruct) + { + if (newStruct != struct) + { + NotificationChain msgs = null; + if (struct != null) + msgs = ((InternalEObject)struct).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__STRUCT, null, msgs); + if (newStruct != null) + msgs = ((InternalEObject)newStruct).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__STRUCT, null, msgs); + msgs = basicSetStruct(newStruct, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__STRUCT, newStruct, newStruct)); + } + + /** + * Returns the value of the 'Cache Index' containment reference. + * + *+ * If the meaning of the 'Cache Index' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cache Index' containment reference. + * @see #setCacheIndex(XmlCacheIndex_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_4_CacheIndex() + * @model containment="true" + * @generated + */ + public XmlCacheIndex_2_4 getCacheIndex() + { + return cacheIndex; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCacheIndex(XmlCacheIndex_2_4 newCacheIndex, NotificationChain msgs) + { + XmlCacheIndex_2_4 oldCacheIndex = cacheIndex; + cacheIndex = newCacheIndex; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX, oldCacheIndex, newCacheIndex); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getCacheIndex Cache Index}' containment reference. + * + * + * @param value the new value of the 'Cache Index' containment reference. + * @see #getCacheIndex() + * @generated + */ + public void setCacheIndex(XmlCacheIndex_2_4 newCacheIndex) + { + if (newCacheIndex != cacheIndex) + { + NotificationChain msgs = null; + if (cacheIndex != null) + msgs = ((InternalEObject)cacheIndex).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX, null, msgs); + if (newCacheIndex != null) + msgs = ((InternalEObject)newCacheIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX, null, msgs); + msgs = basicSetCacheIndex(newCacheIndex, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX, newCacheIndex, newCacheIndex)); + } + + /** + * Returns the value of the 'No Sql' containment reference. + * + *+ * If the meaning of the 'No Sql' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'No Sql' containment reference. + * @see #setNoSql(XmlNoSql_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_4_NoSql() + * @model containment="true" + * @generated + */ + public XmlNoSql_2_4 getNoSql() + { + return noSql; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetNoSql(XmlNoSql_2_4 newNoSql, NotificationChain msgs) + { + XmlNoSql_2_4 oldNoSql = noSql; + noSql = newNoSql; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__NO_SQL, oldNoSql, newNoSql); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getNoSql No Sql}' containment reference. + * + * + * @param value the new value of the 'No Sql' containment reference. + * @see #getNoSql() + * @generated + */ + public void setNoSql(XmlNoSql_2_4 newNoSql) + { + if (newNoSql != noSql) + { + NotificationChain msgs = null; + if (noSql != null) + msgs = ((InternalEObject)noSql).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__NO_SQL, null, msgs); + if (newNoSql != null) + msgs = ((InternalEObject)newNoSql).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__NO_SQL, null, msgs); + msgs = basicSetNoSql(newNoSql, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__NO_SQL, newNoSql, newNoSql)); + } + + /** + * Returns the value of the 'Uuid Generator' containment reference. + * + *+ * If the meaning of the 'Uuid Generator' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Uuid Generator' containment reference. + * @see #setUuidGenerator(XmlUuidGenerator_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGeneratorContainer2_4_UuidGenerator() + * @model containment="true" + * @generated + */ + public XmlUuidGenerator_2_4 getUuidGenerator() + { + return uuidGenerator; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetUuidGenerator(XmlUuidGenerator_2_4 newUuidGenerator, NotificationChain msgs) + { + XmlUuidGenerator_2_4 oldUuidGenerator = uuidGenerator; + uuidGenerator = newUuidGenerator; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR, oldUuidGenerator, newUuidGenerator); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getUuidGenerator Uuid Generator}' containment reference. + * + * + * @param value the new value of the 'Uuid Generator' containment reference. + * @see #getUuidGenerator() + * @generated + */ + public void setUuidGenerator(XmlUuidGenerator_2_4 newUuidGenerator) + { + if (newUuidGenerator != uuidGenerator) + { + NotificationChain msgs = null; + if (uuidGenerator != null) + msgs = ((InternalEObject)uuidGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR, null, msgs); + if (newUuidGenerator != null) + msgs = ((InternalEObject)newUuidGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR, null, msgs); + msgs = basicSetUuidGenerator(newUuidGenerator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR, newUuidGenerator, newUuidGenerator)); + } + + /** + * Returns the value of the 'Additional Criteria' containment reference. + * + *+ * If the meaning of the 'Additional Criteria' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Additional Criteria' containment reference. + * @see #setAdditionalCriteria(XmlAdditionalCriteria_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_2_2_AdditionalCriteria() + * @model containment="true" + * @generated + */ + public XmlAdditionalCriteria_2_2 getAdditionalCriteria() + { + return additionalCriteria; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAdditionalCriteria(XmlAdditionalCriteria_2_2 newAdditionalCriteria, NotificationChain msgs) + { + XmlAdditionalCriteria_2_2 oldAdditionalCriteria = additionalCriteria; + additionalCriteria = newAdditionalCriteria; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA, oldAdditionalCriteria, newAdditionalCriteria); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getAdditionalCriteria Additional Criteria}' containment reference. + * + * + * @param value the new value of the 'Additional Criteria' containment reference. + * @see #getAdditionalCriteria() + * @generated + */ + public void setAdditionalCriteria(XmlAdditionalCriteria_2_2 newAdditionalCriteria) + { + if (newAdditionalCriteria != additionalCriteria) + { + NotificationChain msgs = null; + if (additionalCriteria != null) + msgs = ((InternalEObject)additionalCriteria).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA, null, msgs); + if (newAdditionalCriteria != null) + msgs = ((InternalEObject)newAdditionalCriteria).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA, null, msgs); + msgs = basicSetAdditionalCriteria(newAdditionalCriteria, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA, newAdditionalCriteria, newAdditionalCriteria)); + } + + /** + * Returns the value of the 'Exclude Default Mappings' attribute. + * + *+ * If the meaning of the 'Exclude Default Mappings' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Exclude Default Mappings' attribute. + * @see #setExcludeDefaultMappings(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntity_ExcludeDefaultMappings() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getExcludeDefaultMappings() + { + return excludeDefaultMappings; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlEntity#getExcludeDefaultMappings Exclude Default Mappings}' attribute. + * + * + * @param value the new value of the 'Exclude Default Mappings' attribute. + * @see #getExcludeDefaultMappings() + * @generated + */ + public void setExcludeDefaultMappings(Boolean newExcludeDefaultMappings) + { + Boolean oldExcludeDefaultMappings = excludeDefaultMappings; + excludeDefaultMappings = newExcludeDefaultMappings; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS, oldExcludeDefaultMappings, excludeDefaultMappings)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__ACCESS_METHODS: + return basicSetAccessMethods(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY: + return basicSetPrimaryKey(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR: + return basicSetCacheInterceptor(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS: + return basicSetQueryRedirectors(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS: + 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: + return basicSetIndex(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT: + return basicSetMultitenant(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES: + return ((InternalEList>)getNamedStoredFunctionQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return ((InternalEList>)getNamedPlsqlStoredFunctionQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return ((InternalEList>)getNamedPlsqlStoredProcedureQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS: + return ((InternalEList>)getPlsqlRecords()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES: + return ((InternalEList>)getPlsqlTables()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: + return basicSetStruct(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR: + return basicSetUuidGenerator(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + return basicSetCacheIndex(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__NO_SQL: + return basicSetNoSql(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: + return basicSetCustomizer(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING: + return basicSetChangeTracking(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__CACHE: + return basicSetCache(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS: + return ((InternalEList>)getConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS: + return ((InternalEList>)getTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS: + return ((InternalEList>)getObjectTypeConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS: + return ((InternalEList>)getStructConverters()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES: + return ((InternalEList>)getNamedStoredProcedureQueries()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES: + return ((InternalEList>)getProperties()).basicRemove(otherEnd, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING: + return basicSetOptimisticLocking(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY: + return basicSetCopyPolicy(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY: + return basicSetInstantiationCopyPolicy(null, msgs); + case EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY: + return basicSetCloneCopyPolicy(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__ACCESS_METHODS: + return getAccessMethods(); + case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS: + return getParentClass(); + case EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY: + return getPrimaryKey(); + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR: + return getCacheInterceptor(); + case EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS: + return getQueryRedirectors(); + case EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS: + return getFetchGroups(); + case EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR: + return getClassExtractor(); + 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: + return getCascadeOnDelete(); + case EclipseLinkOrmPackage.XML_ENTITY__INDEX: + return getIndex(); + case EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT: + return getMultitenant(); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES: + return getNamedStoredFunctionQueries(); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return getNamedPlsqlStoredFunctionQueries(); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return getNamedPlsqlStoredProcedureQueries(); + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS: + return getPlsqlRecords(); + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES: + return getPlsqlTables(); + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: + return getStruct(); + case EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR: + return getUuidGenerator(); + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + return getCacheIndex(); + case EclipseLinkOrmPackage.XML_ENTITY__NO_SQL: + return getNoSql(); + case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: + return getReadOnly(); + case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: + return getCustomizer(); + case EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING: + return getChangeTracking(); + case EclipseLinkOrmPackage.XML_ENTITY__CACHE: + return getCache(); + case EclipseLinkOrmPackage.XML_ENTITY__EXISTENCE_CHECKING: + return getExistenceChecking(); + case EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS: + return getConverters(); + case EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS: + return getTypeConverters(); + case EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS: + return getObjectTypeConverters(); + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS: + return getStructConverters(); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES: + return getNamedStoredProcedureQueries(); + case EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES: + return getProperties(); + case EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING: + return getOptimisticLocking(); + case EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY: + return getCopyPolicy(); + case EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY: + return getInstantiationCopyPolicy(); + case EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY: + return getCloneCopyPolicy(); + case EclipseLinkOrmPackage.XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS: + return getExcludeDefaultMappings(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS: + setParentClass((String)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY: + setPrimaryKey((XmlPrimaryKey)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR: + setCacheInterceptor((XmlClassReference)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS: + setQueryRedirectors((XmlQueryRedirectors)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS: + getFetchGroups().clear(); + getFetchGroups().addAll((Collection extends XmlFetchGroup>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR: + setClassExtractor((XmlClassReference)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; + case EclipseLinkOrmPackage.XML_ENTITY__CASCADE_ON_DELETE: + setCascadeOnDelete((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__INDEX: + setIndex((XmlIndex_2_2)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT: + setMultitenant((XmlMultitenant)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES: + getNamedStoredFunctionQueries().clear(); + getNamedStoredFunctionQueries().addAll((Collection extends XmlNamedStoredFunctionQuery_2_3>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + getNamedPlsqlStoredFunctionQueries().clear(); + getNamedPlsqlStoredFunctionQueries().addAll((Collection extends XmlNamedPlsqlStoredFunctionQuery_2_3>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + getNamedPlsqlStoredProcedureQueries().clear(); + getNamedPlsqlStoredProcedureQueries().addAll((Collection extends XmlNamedPlsqlStoredProcedureQuery_2_3>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS: + getPlsqlRecords().clear(); + getPlsqlRecords().addAll((Collection extends XmlPlsqlRecord_2_3>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES: + getPlsqlTables().clear(); + getPlsqlTables().addAll((Collection extends XmlPlsqlTable>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: + setStruct((XmlStruct_2_3)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR: + setUuidGenerator((XmlUuidGenerator_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NO_SQL: + setNoSql((XmlNoSql_2_4)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: + setReadOnly((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: + setCustomizer((XmlClassReference)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING: + setChangeTracking((XmlChangeTracking)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE: + setCache((XmlCache)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__EXISTENCE_CHECKING: + setExistenceChecking((ExistenceType)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS: + getConverters().clear(); + getConverters().addAll((Collection extends XmlConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS: + getTypeConverters().clear(); + getTypeConverters().addAll((Collection extends XmlTypeConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + getObjectTypeConverters().addAll((Collection extends XmlObjectTypeConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS: + getStructConverters().clear(); + getStructConverters().addAll((Collection extends XmlStructConverter>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES: + getNamedStoredProcedureQueries().clear(); + getNamedStoredProcedureQueries().addAll((Collection extends XmlNamedStoredProcedureQuery>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES: + getProperties().clear(); + getProperties().addAll((Collection extends XmlProperty>)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING: + setOptimisticLocking((XmlOptimisticLocking)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY: + setCopyPolicy((XmlCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY: + setInstantiationCopyPolicy((XmlInstantiationCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY: + setCloneCopyPolicy((XmlCloneCopyPolicy)newValue); + return; + case EclipseLinkOrmPackage.XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS: + setExcludeDefaultMappings((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__ACCESS_METHODS: + setAccessMethods((XmlAccessMethods)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS: + setParentClass(PARENT_CLASS_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY: + setPrimaryKey((XmlPrimaryKey)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR: + setCacheInterceptor((XmlClassReference)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS: + setQueryRedirectors((XmlQueryRedirectors)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS: + getFetchGroups().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR: + setClassExtractor((XmlClassReference)null); + 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; + case EclipseLinkOrmPackage.XML_ENTITY__CASCADE_ON_DELETE: + setCascadeOnDelete(CASCADE_ON_DELETE_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ENTITY__INDEX: + setIndex((XmlIndex_2_2)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT: + setMultitenant((XmlMultitenant)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES: + getNamedStoredFunctionQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + getNamedPlsqlStoredFunctionQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + getNamedPlsqlStoredProcedureQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS: + getPlsqlRecords().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES: + getPlsqlTables().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: + setStruct((XmlStruct_2_3)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR: + setUuidGenerator((XmlUuidGenerator_2_4)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + setCacheIndex((XmlCacheIndex_2_4)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NO_SQL: + setNoSql((XmlNoSql_2_4)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: + setReadOnly(READ_ONLY_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: + setCustomizer((XmlClassReference)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING: + setChangeTracking((XmlChangeTracking)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE: + setCache((XmlCache)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__EXISTENCE_CHECKING: + setExistenceChecking(EXISTENCE_CHECKING_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS: + getConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS: + getTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS: + getObjectTypeConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS: + getStructConverters().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES: + getNamedStoredProcedureQueries().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES: + getProperties().clear(); + return; + case EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING: + setOptimisticLocking((XmlOptimisticLocking)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY: + setCopyPolicy((XmlCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY: + setInstantiationCopyPolicy((XmlInstantiationCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY: + setCloneCopyPolicy((XmlCloneCopyPolicy)null); + return; + case EclipseLinkOrmPackage.XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS: + setExcludeDefaultMappings(EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__ACCESS_METHODS: + return accessMethods != null; + case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS: + return PARENT_CLASS_EDEFAULT == null ? parentClass != null : !PARENT_CLASS_EDEFAULT.equals(parentClass); + case EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY: + return primaryKey != null; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR: + return cacheInterceptor != null; + case EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS: + return queryRedirectors != null; + case EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS: + return fetchGroups != null && !fetchGroups.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR: + return classExtractor != null; + 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: + return CASCADE_ON_DELETE_EDEFAULT == null ? cascadeOnDelete != null : !CASCADE_ON_DELETE_EDEFAULT.equals(cascadeOnDelete); + case EclipseLinkOrmPackage.XML_ENTITY__INDEX: + return index != null; + case EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT: + return multitenant != null; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES: + return namedStoredFunctionQueries != null && !namedStoredFunctionQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES: + return namedPlsqlStoredFunctionQueries != null && !namedPlsqlStoredFunctionQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: + return namedPlsqlStoredProcedureQueries != null && !namedPlsqlStoredProcedureQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS: + return plsqlRecords != null && !plsqlRecords.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES: + return plsqlTables != null && !plsqlTables.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: + return struct != null; + case EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR: + return uuidGenerator != null; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: + return cacheIndex != null; + case EclipseLinkOrmPackage.XML_ENTITY__NO_SQL: + return noSql != null; + case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: + return READ_ONLY_EDEFAULT == null ? readOnly != null : !READ_ONLY_EDEFAULT.equals(readOnly); + case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: + return customizer != null; + case EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING: + return changeTracking != null; + case EclipseLinkOrmPackage.XML_ENTITY__CACHE: + return cache != null; + case EclipseLinkOrmPackage.XML_ENTITY__EXISTENCE_CHECKING: + return existenceChecking != EXISTENCE_CHECKING_EDEFAULT; + case EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS: + return converters != null && !converters.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS: + return typeConverters != null && !typeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS: + return objectTypeConverters != null && !objectTypeConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS: + return structConverters != null && !structConverters.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES: + return namedStoredProcedureQueries != null && !namedStoredProcedureQueries.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES: + return properties != null && !properties.isEmpty(); + case EclipseLinkOrmPackage.XML_ENTITY__OPTIMISTIC_LOCKING: + return optimisticLocking != null; + case EclipseLinkOrmPackage.XML_ENTITY__COPY_POLICY: + return copyPolicy != null; + case EclipseLinkOrmPackage.XML_ENTITY__INSTANTIATION_COPY_POLICY: + return instantiationCopyPolicy != null; + case EclipseLinkOrmPackage.XML_ENTITY__CLONE_COPY_POLICY: + return cloneCopyPolicy != null; + case EclipseLinkOrmPackage.XML_ENTITY__EXCLUDE_DEFAULT_MAPPINGS: + return EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT == null ? excludeDefaultMappings != null : !EXCLUDE_DEFAULT_MAPPINGS_EDEFAULT.equals(excludeDefaultMappings); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class> baseClass) + { + if (baseClass == XmlAccessMethodsHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__ACCESS_METHODS: return EclipseLinkOrmPackage.XML_ACCESS_METHODS_HOLDER__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS: return EclipseLinkOrmV2_1Package.XML_TYPE_MAPPING_21__PARENT_CLASS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping.class) + { + switch (derivedFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlEntity_1_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY: return EclipseLinkOrmV1_1Package.XML_ENTITY_11__PRIMARY_KEY; + default: return -1; + } + } + if (baseClass == XmlEntity_2_0.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR: return EclipseLinkOrmV2_0Package.XML_ENTITY_20__CACHE_INTERCEPTOR; + case EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS: return EclipseLinkOrmV2_0Package.XML_ENTITY_20__QUERY_REDIRECTORS; + default: return -1; + } + } + if (baseClass == XmlFetchGroupContainer_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS: return EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS; + default: return -1; + } + } + if (baseClass == XmlEntity_2_1.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR: return EclipseLinkOrmV2_1Package.XML_ENTITY_21__CLASS_EXTRACTOR; + 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) + { + case EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA: return EclipseLinkOrmV2_2Package.XML_ENTITY_22__ADDITIONAL_CRITERIA; + case EclipseLinkOrmPackage.XML_ENTITY__CASCADE_ON_DELETE: return EclipseLinkOrmV2_2Package.XML_ENTITY_22__CASCADE_ON_DELETE; + case EclipseLinkOrmPackage.XML_ENTITY__INDEX: return EclipseLinkOrmV2_2Package.XML_ENTITY_22__INDEX; + default: return -1; + } + } + if (baseClass == XmlMultitenantHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT: return EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT; + default: return -1; + } + } + if (baseClass == XmlEntity_2_3.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_23__NAMED_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmV2_3Package.XML_ENTITY_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS: return EclipseLinkOrmV2_3Package.XML_ENTITY_23__PLSQL_RECORDS; + case EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES: return EclipseLinkOrmV2_3Package.XML_ENTITY_23__PLSQL_TABLES; + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT: return EclipseLinkOrmV2_3Package.XML_ENTITY_23__STRUCT; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR: return EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlEntity_2_4.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX: return EclipseLinkOrmV2_4Package.XML_ENTITY_24__CACHE_INDEX; + case EclipseLinkOrmPackage.XML_ENTITY__NO_SQL: return EclipseLinkOrmV2_4Package.XML_ENTITY_24__NO_SQL; + default: return -1; + } + } + if (baseClass == XmlReadOnly.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY: return EclipseLinkOrmPackage.XML_READ_ONLY__READ_ONLY; + default: return -1; + } + } + if (baseClass == XmlCustomizerHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER: return EclipseLinkOrmPackage.XML_CUSTOMIZER_HOLDER__CUSTOMIZER; + default: return -1; + } + } + if (baseClass == XmlChangeTrackingHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING: return EclipseLinkOrmPackage.XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING; + default: return -1; + } + } + if (baseClass == XmlCacheHolder.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__CACHE: return EclipseLinkOrmPackage.XML_CACHE_HOLDER__CACHE; + case EclipseLinkOrmPackage.XML_ENTITY__EXISTENCE_CHECKING: return EclipseLinkOrmPackage.XML_CACHE_HOLDER__EXISTENCE_CHECKING; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS; + case EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlQueryContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (derivedFeatureID) + { + case EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES: return EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES; + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @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__ACCESS_METHODS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping_2_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_1Package.XML_TYPE_MAPPING_21__PARENT_CLASS: return EclipseLinkOrmPackage.XML_ENTITY__PARENT_CLASS; + default: return -1; + } + } + if (baseClass == XmlTypeMapping.class) + { + switch (baseFeatureID) + { + default: return -1; + } + } + if (baseClass == XmlEntity_1_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV1_1Package.XML_ENTITY_11__PRIMARY_KEY: return EclipseLinkOrmPackage.XML_ENTITY__PRIMARY_KEY; + default: return -1; + } + } + if (baseClass == XmlEntity_2_0.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_0Package.XML_ENTITY_20__CACHE_INTERCEPTOR: return EclipseLinkOrmPackage.XML_ENTITY__CACHE_INTERCEPTOR; + case EclipseLinkOrmV2_0Package.XML_ENTITY_20__QUERY_REDIRECTORS: return EclipseLinkOrmPackage.XML_ENTITY__QUERY_REDIRECTORS; + default: return -1; + } + } + if (baseClass == XmlFetchGroupContainer_2_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_1Package.XML_FETCH_GROUP_CONTAINER_21__FETCH_GROUPS: return EclipseLinkOrmPackage.XML_ENTITY__FETCH_GROUPS; + default: return -1; + } + } + if (baseClass == XmlEntity_2_1.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_1Package.XML_ENTITY_21__CLASS_EXTRACTOR: return EclipseLinkOrmPackage.XML_ENTITY__CLASS_EXTRACTOR; + 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) + { + case EclipseLinkOrmV2_2Package.XML_ENTITY_22__ADDITIONAL_CRITERIA: return EclipseLinkOrmPackage.XML_ENTITY__ADDITIONAL_CRITERIA; + case EclipseLinkOrmV2_2Package.XML_ENTITY_22__CASCADE_ON_DELETE: return EclipseLinkOrmPackage.XML_ENTITY__CASCADE_ON_DELETE; + case EclipseLinkOrmV2_2Package.XML_ENTITY_22__INDEX: return EclipseLinkOrmPackage.XML_ENTITY__INDEX; + default: return -1; + } + } + if (baseClass == XmlMultitenantHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_MULTITENANT_HOLDER__MULTITENANT: return EclipseLinkOrmPackage.XML_ENTITY__MULTITENANT; + default: return -1; + } + } + if (baseClass == XmlEntity_2_3.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_3Package.XML_ENTITY_23__NAMED_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmV2_3Package.XML_ENTITY_23__NAMED_PLSQL_STORED_FUNCTION_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_FUNCTION_QUERIES; + case EclipseLinkOrmV2_3Package.XML_ENTITY_23__NAMED_PLSQL_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY__NAMED_PLSQL_STORED_PROCEDURE_QUERIES; + case EclipseLinkOrmV2_3Package.XML_ENTITY_23__PLSQL_RECORDS: return EclipseLinkOrmPackage.XML_ENTITY__PLSQL_RECORDS; + case EclipseLinkOrmV2_3Package.XML_ENTITY_23__PLSQL_TABLES: return EclipseLinkOrmPackage.XML_ENTITY__PLSQL_TABLES; + case EclipseLinkOrmV2_3Package.XML_ENTITY_23__STRUCT: return EclipseLinkOrmPackage.XML_ENTITY__STRUCT; + default: return -1; + } + } + if (baseClass == XmlGeneratorContainer2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_GENERATOR_CONTAINER2_4__UUID_GENERATOR: return EclipseLinkOrmPackage.XML_ENTITY__UUID_GENERATOR; + default: return -1; + } + } + if (baseClass == XmlEntity_2_4.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmV2_4Package.XML_ENTITY_24__CACHE_INDEX: return EclipseLinkOrmPackage.XML_ENTITY__CACHE_INDEX; + case EclipseLinkOrmV2_4Package.XML_ENTITY_24__NO_SQL: return EclipseLinkOrmPackage.XML_ENTITY__NO_SQL; + default: return -1; + } + } + if (baseClass == XmlReadOnly.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_READ_ONLY__READ_ONLY: return EclipseLinkOrmPackage.XML_ENTITY__READ_ONLY; + default: return -1; + } + } + if (baseClass == XmlCustomizerHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CUSTOMIZER_HOLDER__CUSTOMIZER: return EclipseLinkOrmPackage.XML_ENTITY__CUSTOMIZER; + default: return -1; + } + } + if (baseClass == XmlChangeTrackingHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CHANGE_TRACKING_HOLDER__CHANGE_TRACKING: return EclipseLinkOrmPackage.XML_ENTITY__CHANGE_TRACKING; + default: return -1; + } + } + if (baseClass == XmlCacheHolder.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CACHE_HOLDER__CACHE: return EclipseLinkOrmPackage.XML_ENTITY__CACHE; + case EclipseLinkOrmPackage.XML_CACHE_HOLDER__EXISTENCE_CHECKING: return EclipseLinkOrmPackage.XML_ENTITY__EXISTENCE_CHECKING; + default: return -1; + } + } + if (baseClass == XmlConverterContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY__CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY__TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__OBJECT_TYPE_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY__OBJECT_TYPE_CONVERTERS; + case EclipseLinkOrmPackage.XML_CONVERTER_CONTAINER__STRUCT_CONVERTERS: return EclipseLinkOrmPackage.XML_ENTITY__STRUCT_CONVERTERS; + default: return -1; + } + } + if (baseClass == XmlQueryContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_QUERY_CONTAINER__NAMED_STORED_PROCEDURE_QUERIES: return EclipseLinkOrmPackage.XML_ENTITY__NAMED_STORED_PROCEDURE_QUERIES; + default: return -1; + } + } + if (baseClass == XmlPropertyContainer.class) + { + switch (baseFeatureID) + { + case EclipseLinkOrmPackage.XML_PROPERTY_CONTAINER__PROPERTIES: return EclipseLinkOrmPackage.XML_ENTITY__PROPERTIES; + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + 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: "); + result.append(readOnly); + result.append(", existenceChecking: "); + result.append(existenceChecking); + result.append(", excludeDefaultMappings: "); + result.append(excludeDefaultMappings); + result.append(')'); + return result.toString(); + } + + public TextRange getReadOnlyTextRange() { + return getAttributeTextRange(EclipseLink.READ_ONLY); + } + + public TextRange getParentClassTextRange() { + return getAttributeTextRange(EclipseLink2_1.PARENT_CLASS); + } + + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlEntity(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildClassTranslator(), + buildParentClassTranslator(), + buildAccessTranslator(), + buildCacheableTranslator(), + buildMetadataCompleteTranslator(), + buildReadOnlyTranslator(), + buildExistenceCheckingTranslator(), + buildExcludeDefaultMappingsTranslator(), + buildDescriptionTranslator(), + buildAccessMethodsTranslator(), + XmlMultitenant.buildTranslator(EclipseLink2_3.MULTITENANT, EclipseLinkOrmPackage.eINSTANCE.getXmlMultitenantHolder_Multitenant()), + buildAdditionalCriteriaTranslator(), + buildCustomizerTranslator(), + buildChangeTrackingTranslator(), + buildTableTranslator(), + buildSecondaryTableTranslator(), + XmlStruct.buildTranslator(EclipseLink2_3.STRUCT, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntity_2_3_Struct()), + buildPrimaryKeyJoinColumnTranslator(), + buildNoSqlTranslator(), + buildCascadeOnDeleteTranslator(), + buildIndexTranslator(), + buildIdClassTranslator(), + buildPrimaryKeyTranslator(), + buildInheritanceTranslator(), + buildDiscriminatorValueTranslator(), + buildDiscriminatorColumnTranslator(), + buildClassExtractorTranslator(), + buildOptimisticLockingTranslator(), + buildCacheTranslator(), + buildCacheInterceptorTranslator(), + buildCacheIndexTranslator(), + buildFetchGroupsTranslator(), + buildConverterTranslator(), + buildTypeConverterTranslator(), + buildObjectTypeConverterTranslator(), + buildStructConverterTranslator(), + buildCopyPolicyTranslator(), + buildInstantiationCoypPolicyTranslator(), + buildCloneCopyPolicyTranslator(), + buildSequenceGeneratorTranslator(), + buildTableGeneratorTranslator(), + XmlUuidGenerator.buildTranslator(EclipseLink2_4.UUID_GENERATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlGeneratorContainer2_4_UuidGenerator()), + XmlPartitioning.buildTranslator(EclipseLink2_2.PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioning()), + XmlReplicationPartitioning.buildTranslator(EclipseLink2_2.REPLICATION_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_ReplicationPartitioning()), + XmlRoundRobinPartitioning.buildTranslator(EclipseLink2_2.ROUND_ROBIN_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_RoundRobinPartitioning()), + XmlPinnedPartitioning.buildTranslator(EclipseLink2_2.PINNED_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_PinnedPartitioning()), + XmlRangePartitioning.buildTranslator(EclipseLink2_2.RANGE_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_RangePartitioning()), + XmlValuePartitioning.buildTranslator(EclipseLink2_2.VALUE_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_ValuePartitioning()), + XmlHashPartitioning.buildTranslator(EclipseLink2_2.HASH_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_HashPartitioning()), + XmlUnionPartitioning.buildTranslator(EclipseLink2_2.UNION_PARTITIONING, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_UnionPartitioning()), + buildPartitionedTranslator(), + buildNamedQueryTranslator(), + buildNamedNativeQueryTranslator(), + buildNamedStoredProcedureQueryTranslator(), + XmlNamedStoredFunctionQuery.buildTranslator(EclipseLink2_3.NAMED_STORED_FUNCTION_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntity_2_3_NamedStoredFunctionQueries()), + XmlNamedPlsqlStoredProcedureQuery.buildTranslator(EclipseLink2_3.NAMED_PLSQL_STORED_PROCEDURE_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntity_2_3_NamedPlsqlStoredProcedureQueries()), + XmlNamedPlsqlStoredFunctionQuery.buildTranslator(EclipseLink2_3.NAMED_PLSQL_STORED_FUNCTION_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntity_2_3_NamedPlsqlStoredFunctionQueries()), + XmlPlsqlRecord.buildTranslator(EclipseLink2_3.PLSQL_RECORD, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntity_2_3_PlsqlRecords()), + XmlPlsqlTable.buildTranslator(EclipseLink2_3.PLSQL_TABLE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntity_2_3_PlsqlTables()), + buildSqlResultSetMappingTranslator(), + buildQueryRedirectorsTranslator(), + buildExcludeDefaultListenersTranslator(), + buildExcludeSuperclassListenersTranslator(), + buildEntityListenersTranslator(), + buildPrePersistTranslator(), + buildPostPersistTranslator(), + buildPreRemoveTranslator(), + buildPostRemoveTranslator(), + buildPreUpdateTranslator(), + buildPostUpdateTranslator(), + buildPostLoadTranslator(), + buildPropertyTranslator(), + buildAttributeOverrideTranslator(), + buildAssociationOverrideTranslator(), + Attributes.buildTranslator()}; + } + + protected static Translator buildCustomizerTranslator() { + return XmlClassReference.buildTranslator(EclipseLink.CUSTOMIZER, EclipseLinkOrmPackage.eINSTANCE.getXmlCustomizerHolder_Customizer()); + } + + protected static Translator buildChangeTrackingTranslator() { + return XmlChangeTracking.buildTranslator(EclipseLink.CHANGE_TRACKING, EclipseLinkOrmPackage.eINSTANCE.getXmlChangeTrackingHolder_ChangeTracking()); + } + + protected static Translator buildPrimaryKeyTranslator() { + return XmlPrimaryKey.buildTranslator(EclipseLink1_1.PRIMARY_KEY, EclipseLinkOrmV1_1Package.eINSTANCE.getXmlEntity_1_1_PrimaryKey()); + } + + protected static Translator buildClassExtractorTranslator() { + return XmlClassReference.buildTranslator(EclipseLink2_1.CLASS_EXTRACTOR, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlEntity_2_1_ClassExtractor()); + } + + protected static Translator buildOptimisticLockingTranslator() { + return XmlOptimisticLocking.buildTranslator(EclipseLink.OPTIMISTIC_LOCKING, EclipseLinkOrmPackage.eINSTANCE.getXmlEntity_OptimisticLocking()); + } + + protected static Translator buildCacheTranslator() { + return XmlCache.buildTranslator(EclipseLink.CACHE, EclipseLinkOrmPackage.eINSTANCE.getXmlCacheHolder_Cache()); + } + + protected static Translator buildCacheInterceptorTranslator() { + return XmlClassReference.buildTranslator(EclipseLink2_0.CACHE_INTERCEPTOR, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlEntity_2_0_CacheInterceptor()); + } + + protected static Translator buildCacheIndexTranslator() { + return XmlCacheIndex.buildTranslator(EclipseLink2_4.CACHE_INDEX, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlEntity_2_4_CacheIndex()); + } + + protected static Translator buildFetchGroupsTranslator() { + return XmlFetchGroup.buildTranslator(EclipseLink2_1.FETCH_GROUP, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlFetchGroupContainer_2_1_FetchGroups()); + } + + protected static Translator buildQueryRedirectorsTranslator() { + return XmlQueryRedirectors.buildTranslator(EclipseLink2_0.QUERY_REDIRECTORS, EclipseLinkOrmV2_0Package.eINSTANCE.getXmlEntity_2_0_QueryRedirectors()); + } + + protected static Translator buildConverterTranslator() { + return XmlConverter.buildTranslator(EclipseLink.CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_Converters()); + } + + protected static Translator buildTypeConverterTranslator() { + return XmlTypeConverter.buildTranslator(EclipseLink.TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_TypeConverters()); + } + + protected static Translator buildObjectTypeConverterTranslator() { + return XmlObjectTypeConverter.buildTranslator(EclipseLink.OBJECT_TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_ObjectTypeConverters()); + } + + protected static Translator buildStructConverterTranslator() { + return XmlStructConverter.buildTranslator(EclipseLink.STRUCT_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_StructConverters()); + } + + protected static Translator buildCopyPolicyTranslator() { + return XmlCopyPolicy.buildTranslator(EclipseLink.COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlEntity_CopyPolicy()); + } + + protected static Translator buildInstantiationCoypPolicyTranslator() { + return XmlInstantiationCopyPolicy.buildTranslator(EclipseLink.INSTANTIATION_COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlEntity_InstantiationCopyPolicy()); + } + + protected static Translator buildCloneCopyPolicyTranslator() { + return XmlCloneCopyPolicy.buildTranslator(EclipseLink.CLONE_COPY_POLICY, EclipseLinkOrmPackage.eINSTANCE.getXmlEntity_CloneCopyPolicy()); + } + + protected static Translator buildReadOnlyTranslator() { + return new Translator(EclipseLink.READ_ONLY, EclipseLinkOrmPackage.eINSTANCE.getXmlReadOnly_ReadOnly(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildExistenceCheckingTranslator() { + return new Translator(EclipseLink.EXISTENCE_CHECKING, EclipseLinkOrmPackage.eINSTANCE.getXmlCacheHolder_ExistenceChecking(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildExcludeDefaultMappingsTranslator() { + return new Translator(EclipseLink.EXCLUDE_DEFAULT_MAPPINGS, EclipseLinkOrmPackage.eINSTANCE.getXmlEntity_ExcludeDefaultMappings(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildNamedStoredProcedureQueryTranslator() { + return XmlNamedStoredProcedureQuery.buildTranslator(EclipseLink.NAMED_STORED_PROCEDURE_QUERY, EclipseLinkOrmPackage.eINSTANCE.getXmlQueryContainer_NamedStoredProcedureQueries()); + } + + protected static Translator buildPropertyTranslator() { + return XmlProperty.buildTranslator(EclipseLink.PROPERTY, EclipseLinkOrmPackage.eINSTANCE.getXmlPropertyContainer_Properties()); + } + + protected static Translator buildAccessMethodsTranslator() { + return XmlAccessMethods.buildTranslator(EclipseLink.ACCESS_METHODS, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethodsHolder_AccessMethods()); + } + + protected static Translator buildParentClassTranslator() { + return new Translator(EclipseLink2_1.PARENT_CLASS, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlTypeMapping_2_1_ParentClass(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildAdditionalCriteriaTranslator() { + return XmlAdditionalCriteria.buildTranslator(EclipseLink2_2.ADDITIONAL_CRITERIA, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntity_2_2_AdditionalCriteria()); + } + + protected static Translator buildCascadeOnDeleteTranslator() { + return CascadeType.buildTranslator(EclipseLink2_2.CASCADE_ON_DELETE, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlEntity_2_2_CascadeOnDelete()); + } + + 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()); + } + + protected static Translator buildPartitionedTranslator() { + return new Translator(EclipseLink2_2.PARTITIONING_GROUP__PARTITIONED, EclipseLinkOrmV2_2Package.eINSTANCE.getXmlPartitioningGroup_2_2_Partitioned()); + } + + protected static Translator buildNoSqlTranslator() { + return XmlNoSql.buildTranslator(EclipseLink2_4.NO_SQL, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlEntity_2_4_NoSql()); + } + + // *********** content assist ************ + + public TextRange getParentClassCodeAssistTextRange() { + return getAttributeCodeAssistTextRange(EclipseLink2_1.PARENT_CLASS); + } + + public boolean parentClassTouches(int pos) { + TextRange textRange = this.getParentClassCodeAssistTextRange(); + return (textRange != null) && (textRange.touches(pos)); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntityMappings.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntityMappings.java new file mode 100644 index 0000000000..3a60f1f597 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlEntityMappings.java @@ -0,0 +1,1449 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import java.util.HashMap; +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.Path; +import org.eclipse.core.runtime.content.IContentType; +import org.eclipse.emf.common.notify.Notification; +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.common.core.internal.utility.translators.SimpleRootTranslator; +import org.eclipse.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.core.resource.orm.SqlResultSetMapping; +import org.eclipse.jpt.jpa.core.resource.orm.XmlNamedNativeQuery; +import org.eclipse.jpt.jpa.core.resource.orm.XmlNamedQuery; +import org.eclipse.jpt.jpa.core.resource.orm.XmlSequenceGenerator; +import org.eclipse.jpt.jpa.eclipselink.core.internal.plugin.JptJpaEclipseLinkCorePlugin; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_1.EclipseLink1_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v1_2.EclipseLink1_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLink2_0; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlEntityMappings_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlEntityMappings_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLink2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.EclipseLinkOrmV2_3Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlEntityMappings_2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredFunctionQuery_2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedPlsqlStoredProcedureQuery_2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlNamedStoredFunctionQuery_2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlPlsqlRecord_2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_3.XmlTenantDiscriminatorColumn_2_3; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLink2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlEntityMappings_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_5.EclipseLink2_5; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Entity Mappings'. + * + * 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. + * + * @version 2.3 + * @since 2.1 + * + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings() + * @model kind="class" + * @generated + */ +public class XmlEntityMappings extends org.eclipse.jpt.jpa.core.resource.orm.XmlEntityMappings implements XmlEntityMappings_2_1, XmlEntityMappings_2_2, XmlEntityMappings_2_3, XmlEntityMappings_2_4, XmlConverterContainer, XmlQueryContainer +{ + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The cached value of the '{@link #getPartitioning() Partitioning}' containment reference list. + * + * + * @see #getPartitioning() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @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.jpa.eclipselink.core.resource.orm.XmlEntityMappings#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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 'Partitioning' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2}. + * + *+ * If the meaning of the 'Partitioning' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Partitioning' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_Partitioning() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Replication Partitioning' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Replication Partitioning' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_ReplicationPartitioning() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Round Robin Partitioning' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Round Robin Partitioning' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_RoundRobinPartitioning() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Pinned Partitioning' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Pinned Partitioning' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_PinnedPartitioning() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Range Partitioning' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Range Partitioning' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_RangePartitioning() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Value Partitioning' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Value Partitioning' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_ValuePartitioning() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Hash Partitioning' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Hash Partitioning' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_HashPartitioning() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Union Partitioning' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Union Partitioning' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_2_UnionPartitioning() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Tenant Discriminator Columns' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Tenant Discriminator Columns' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_3_TenantDiscriminatorColumns() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Named Stored Function Queries' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Named Stored Function Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_3_NamedStoredFunctionQueries() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Named Plsql Stored Function Queries' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Named Plsql Stored Function Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Named Plsql Stored Procedure Queries' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Named Plsql Stored Procedure Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Plsql Records' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Plsql Records' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_3_PlsqlRecords() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Plsql Tables' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Plsql Tables' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_3_PlsqlTables() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Uuid Generators' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Uuid Generators' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlEntityMappings_2_4_UuidGenerators() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Object Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Named Stored Procedure Queries' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Named Stored Procedure Queries' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlQueryContainer_NamedStoredProcedureQueries() + * @model containment="true" + * @generated + */ + public EListeclipselink-orm.xml
mapping files.
+ * @see org.eclipse.jpt.jpa.core.resource.ResourceMappingFile.Root#CONTENT_TYPE
+ */
+ public static final IContentType CONTENT_TYPE = JptJpaEclipseLinkCorePlugin.instance().getContentType("orm"); //$NON-NLS-1$
+
+
+ // ********** default runtime path **********
+
+ public static final String DEFAULT_RUNTIME_PATH_NAME = "META-INF/eclipselink-orm.xml"; //$NON-NLS-1$
+
+ public static final IPath DEFAULT_RUNTIME_PATH = new Path(DEFAULT_RUNTIME_PATH_NAME);
+
+
+ // ********** translators **********
+
+ private static final Translator ROOT_TRANSLATOR = buildRootTranslator();
+
+ public static Translator getRootTranslator() {
+ return ROOT_TRANSLATOR;
+ }
+
+ private static Translator buildRootTranslator() {
+ return new SimpleRootTranslator(JPA.ENTITY_MAPPINGS, EclipseLinkOrmPackage.eINSTANCE.getXmlEntityMappings(), buildTranslatorChildren());
+ }
+
+ private static Translator[] buildTranslatorChildren() {
+ return new Translator[] {
+ buildVersionTranslator(SCHEMA_LOCATIONS),
+ buildNamespaceTranslator(EclipseLink.SCHEMA_NAMESPACE),
+ buildSchemaNamespaceTranslator(),
+ buildSchemaLocationTranslator(EclipseLink.SCHEMA_NAMESPACE, SCHEMA_LOCATIONS),
+ buildDescriptionTranslator(),
+ XmlPersistenceUnitMetadata.buildTranslator(JPA.PERSISTENCE_UNIT_METADATA, OrmPackage.eINSTANCE.getXmlEntityMappings_PersistenceUnitMetadata()),
+ buildPackageTranslator(),
+ buildSchemaTranslator(),
+ buildCatalogTranslator(),
+ buildAccessTranslator(),
+ buildAccessMethodsTranslator(),
+ XmlTenantDiscriminatorColumn.buildTranslator(EclipseLink2_3.TENANT_DISCRIMINATOR_COLUMN, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntityMappings_2_3_TenantDiscriminatorColumns()),
+ XmlConverter.buildTranslator(EclipseLink.CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_Converters()),
+ XmlTypeConverter.buildTranslator(EclipseLink.TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_TypeConverters()),
+ XmlObjectTypeConverter.buildTranslator(EclipseLink.OBJECT_TYPE_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_ObjectTypeConverters()),
+ XmlStructConverter.buildTranslator(EclipseLink.STRUCT_CONVERTER, EclipseLinkOrmPackage.eINSTANCE.getXmlConverterContainer_StructConverters()),
+ XmlSequenceGenerator.buildTranslator(JPA.SEQUENCE_GENERATOR, OrmPackage.eINSTANCE.getXmlEntityMappings_SequenceGenerators()),
+ XmlTableGenerator.buildTranslator(JPA.TABLE_GENERATOR, OrmPackage.eINSTANCE.getXmlEntityMappings_TableGenerators()),
+ XmlUuidGenerator.buildTranslator(EclipseLink2_4.UUID_GENERATOR, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlEntityMappings_2_4_UuidGenerators()),
+ 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()),
+ XmlNamedStoredFunctionQuery.buildTranslator(EclipseLink2_3.NAMED_STORED_FUNCTION_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntityMappings_2_3_NamedStoredFunctionQueries()),
+ XmlNamedPlsqlStoredProcedureQuery.buildTranslator(EclipseLink2_3.NAMED_PLSQL_STORED_PROCEDURE_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntityMappings_2_3_NamedPlsqlStoredProcedureQueries()),
+ XmlNamedPlsqlStoredFunctionQuery.buildTranslator(EclipseLink2_3.NAMED_PLSQL_STORED_FUNCTION_QUERY, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntityMappings_2_3_NamedPlsqlStoredFunctionQueries()),
+ XmlPlsqlRecord.buildTranslator(EclipseLink2_3.PLSQL_RECORD, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntityMappings_2_3_PlsqlRecords()),
+ XmlPlsqlTable.buildTranslator(EclipseLink2_3.PLSQL_TABLE, EclipseLinkOrmV2_3Package.eINSTANCE.getXmlEntityMappings_2_3_PlsqlTables()),
+ SqlResultSetMapping.buildTranslator(JPA.SQL_RESULT_SET_MAPPING, OrmPackage.eINSTANCE.getXmlEntityMappings_SqlResultSetMappings()),
+ XmlMappedSuperclass.buildTranslator(JPA.MAPPED_SUPERCLASS, OrmPackage.eINSTANCE.getXmlEntityMappings_MappedSuperclasses()),
+ XmlEntity.buildTranslator(JPA.ENTITY, OrmPackage.eINSTANCE.getXmlEntityMappings_Entities()),
+ XmlEmbeddable.buildTranslator(JPA.EMBEDDABLE, OrmPackage.eINSTANCE.getXmlEntityMappings_Embeddables()),
+ };
+ }
+
+ protected static Translator buildAccessMethodsTranslator() {
+ return XmlAccessMethods.buildTranslator(EclipseLink.ACCESS_METHODS, EclipseLinkOrmPackage.eINSTANCE.getXmlAccessMethodsHolder_AccessMethods());
+ }
+}
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchAttribute.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchAttribute.java
new file mode 100644
index 0000000000..fe964a2c0e
--- /dev/null
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchAttribute.java
@@ -0,0 +1,214 @@
+/*******************************************************************************
+ * 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.jpa.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.common.core.internal.utility.translators.SimpleTranslator;
+import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl;
+import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1;
+import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package;
+import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchAttribute_2_1;
+import org.eclipse.wst.common.internal.emf.resource.Translator;
+
+/**
+ *
+ * A representation of the model object 'Xml Fetch Attribute'.
+ *
+ *
+ *
+ * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchAttribute()
+ * @model kind="class"
+ * @generated
+ */
+public class XmlFetchAttribute extends EBaseObjectImpl implements XmlFetchAttribute_2_1
+{
+ /**
+ * The default value of the '{@link #getName() Name}' attribute.
+ *
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() Name}' attribute.
+ *
+ *
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ protected XmlFetchAttribute()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return EclipseLinkOrmPackage.Literals.XML_FETCH_ATTRIBUTE;
+ }
+
+ /**
+ * Returns the value of the 'Name' attribute.
+ *
+ * + * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchAttribute_2_1_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.jpa.eclipselink.core.resource.orm.XmlFetchAttribute#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_FETCH_ATTRIBUTE__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_ATTRIBUTE__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_ATTRIBUTE__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_ATTRIBUTE__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_ATTRIBUTE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @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()}; + } + + private static Translator buildNameTranslator() { + return new Translator(EclipseLink2_1.NAME, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlFetchAttribute_2_1_Name(), Translator.DOM_ATTRIBUTE); + } +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchGroup.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchGroup.java new file mode 100644 index 0000000000..d95739c98e --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlFetchGroup.java @@ -0,0 +1,360 @@ +/******************************************************************************* + * 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +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.EStructuralFeature; +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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLinkOrmV2_1Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlFetchGroup_2_1; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Fetch Group'. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup() + * @model kind="class" + * @generated + */ +public class XmlFetchGroup extends EBaseObjectImpl implements XmlFetchGroup_2_1 +{ + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The default value of the '{@link #getLoad() Load}' attribute. + * + * + * @see #getLoad() + * @generated + * @ordered + */ + protected static final Boolean LOAD_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLoad() Load}' attribute. + * + * + * @see #getLoad() + * @generated + * @ordered + */ + protected Boolean load = LOAD_EDEFAULT; + + /** + * The cached value of the '{@link #getAttributes() Attributes}' containment reference list. + * + * + * @see #getAttributes() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup_2_1_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.jpa.eclipselink.core.resource.orm.XmlFetchGroup#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_FETCH_GROUP__NAME, oldName, name)); + } + + /** + * Returns the value of the 'Attributes' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchAttribute}. + * + *+ * If the meaning of the 'Attributes' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attributes' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup_2_1_Attributes() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Load' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Load' attribute. + * @see #setLoad(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlFetchGroup_2_1_Load() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getLoad() + { + return load; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlFetchGroup#getLoad Load}' attribute. + * + * + * @param value the new value of the 'Load' attribute. + * @see #getLoad() + * @generated + */ + public void setLoad(Boolean newLoad) + { + Boolean oldLoad = load; + load = newLoad; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_FETCH_GROUP__LOAD, oldLoad, load)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_GROUP__ATTRIBUTES: + return ((InternalEList>)getAttributes()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_GROUP__NAME: + return getName(); + case EclipseLinkOrmPackage.XML_FETCH_GROUP__LOAD: + return getLoad(); + case EclipseLinkOrmPackage.XML_FETCH_GROUP__ATTRIBUTES: + return getAttributes(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_GROUP__NAME: + setName((String)newValue); + return; + case EclipseLinkOrmPackage.XML_FETCH_GROUP__LOAD: + setLoad((Boolean)newValue); + return; + case EclipseLinkOrmPackage.XML_FETCH_GROUP__ATTRIBUTES: + getAttributes().clear(); + getAttributes().addAll((Collection extends XmlFetchAttribute>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_GROUP__NAME: + setName(NAME_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_FETCH_GROUP__LOAD: + setLoad(LOAD_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_FETCH_GROUP__ATTRIBUTES: + getAttributes().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FETCH_GROUP__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case EclipseLinkOrmPackage.XML_FETCH_GROUP__LOAD: + return LOAD_EDEFAULT == null ? load != null : !LOAD_EDEFAULT.equals(load); + case EclipseLinkOrmPackage.XML_FETCH_GROUP__ATTRIBUTES: + return attributes != null && !attributes.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", load: "); + result.append(load); + 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(), + buildLoadTranslator(), + buildAttributesTranslator()}; + } + + private static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlFetchGroup_2_1_Name(), Translator.DOM_ATTRIBUTE); + } + + private static Translator buildAttributesTranslator() { + return XmlFetchAttribute.buildTranslator(EclipseLink2_1.ATTRIBUTE, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlFetchGroup_2_1_Attributes()); + } + + protected static Translator buildLoadTranslator() { + return new Translator(EclipseLink2_1.FETCH_GROUP__LOAD, EclipseLinkOrmV2_1Package.eINSTANCE.getXmlFetchGroup_2_1_Load(), Translator.DOM_ATTRIBUTE); + } + +} diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlField.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlField.java new file mode 100644 index 0000000000..cc9ed7f17f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlField.java @@ -0,0 +1,220 @@ +/******************************************************************************* + * Copyright (c) 2012 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.jpa.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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Field'. + * + * 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. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlField() + * @model kind="class" + * @generated + */ +public class XmlField extends EBaseObjectImpl implements XmlField_2_4 +{ + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlField() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_FIELD; + } + + /** + * Returns the value of the 'Name' attribute. + * + *+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlField_2_4_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.jpa.eclipselink.core.resource.orm.XmlField#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_FIELD__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FIELD__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FIELD__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FIELD__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_FIELD__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @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, + EclipseLinkOrmPackage.eINSTANCE.getXmlField(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(JPA.NAME, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlField_2_4_Name(), Translator.DOM_ATTRIBUTE); + } +} // XmlField diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlHashPartitioning.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlHashPartitioning.java new file mode 100644 index 0000000000..a3b5f4b7fc --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/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.jpa.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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl; +import org.eclipse.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Hash Partitioning'. + * + * 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. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlHashPartitioning() + * @model kind="class" + * @generated + */ +public class XmlHashPartitioning extends EBaseObjectImpl implements XmlHashPartitioning_2_2 +{ + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlHashPartitioning() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_HASH_PARTITIONING; + } + + /** + * Returns the value of the 'Name' attribute. + * + *+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.jpt.jpa.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.jpa.eclipselink.core.resource.orm.XmlHashPartitioning#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' 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)); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_HASH_PARTITIONING__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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, + EclipseLinkOrmPackage.eINSTANCE.getXmlHashPartitioning(), + 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.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlId.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlId.java new file mode 100644 index 0000000000..a37cb0c8fd --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlId.java @@ -0,0 +1,1323 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +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.EStructuralFeature; +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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlId_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlIndex_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLink2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlCacheIndex_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlField_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlGeneratorContainer2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlId_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlUuidGenerator_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Id'. + * + * 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. + * + * @version 2.3 + * @since 2.1 + * + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId() + * @model kind="class" + * @generated + */ +public class XmlId extends org.eclipse.jpt.jpa.core.resource.orm.XmlId implements XmlId_2_2, XmlId_2_4, XmlAttributeMapping, XmlMutable, XmlConvertibleMapping, XmlConverterContainer +{ + /** + * The cached value of the '{@link #getIndex() Index}' containment reference. + * + * + * @see #getIndex() + * @generated + * @ordered + */ + protected XmlIndex_2_2 index; + + /** + * The cached value of the '{@link #getUuidGenerator() Uuid Generator}' containment reference. + * + * + * @see #getUuidGenerator() + * @generated + * @ordered + */ + protected XmlUuidGenerator_2_4 uuidGenerator; + + /** + * The cached value of the '{@link #getField() Field}' containment reference. + * + * + * @see #getField() + * @generated + * @ordered + */ + protected XmlField_2_4 field; + + /** + * The cached value of the '{@link #getCacheIndex() Cache Index}' containment reference. + * + * + * @see #getCacheIndex() + * @generated + * @ordered + */ + protected XmlCacheIndex_2_4 cacheIndex; + + /** + * The cached value of the '{@link #getAccessMethods() Access Methods}' containment reference. + * + * + * @see #getAccessMethods() + * @generated + * @ordered + */ + protected XmlAccessMethods accessMethods; + + /** + * The cached value of the '{@link #getProperties() Properties}' containment reference list. + * + * + * @see #getProperties() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Attribute Type' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Attribute Type' attribute. + * @see #setAttributeType(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAttributeMapping_AttributeType() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getAttributeType() + { + return attributeType; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId#getAttributeType Attribute Type}' attribute. + * + * + * @param value the new value of the 'Attribute Type' attribute. + * @see #getAttributeType() + * @generated + */ + public void setAttributeType(String newAttributeType) + { + String oldAttributeType = attributeType; + attributeType = newAttributeType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__ATTRIBUTE_TYPE, oldAttributeType, attributeType)); + } + + /** + * Returns the value of the 'Index' containment reference. + * + *+ * If the meaning of the 'Index' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Index' containment reference. + * @see #setIndex(XmlIndex_2_2) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId_2_2_Index() + * @model containment="true" + * @generated + */ + public XmlIndex_2_2 getIndex() + { + return index; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetIndex(XmlIndex_2_2 newIndex, NotificationChain msgs) + { + XmlIndex_2_2 oldIndex = index; + index = newIndex; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__INDEX, oldIndex, newIndex); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId#getIndex Index}' containment reference. + * + * + * @param value the new value of the 'Index' containment reference. + * @see #getIndex() + * @generated + */ + public void setIndex(XmlIndex_2_2 newIndex) + { + if (newIndex != index) + { + NotificationChain msgs = null; + if (index != null) + msgs = ((InternalEObject)index).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__INDEX, null, msgs); + if (newIndex != null) + msgs = ((InternalEObject)newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__INDEX, null, msgs); + msgs = basicSetIndex(newIndex, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__INDEX, newIndex, newIndex)); + } + + /** + * Returns the value of the 'Field' containment reference. + * + *+ * If the meaning of the 'Field' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Field' containment reference. + * @see #setField(XmlField_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId_2_4_Field() + * @model containment="true" + * @generated + */ + public XmlField_2_4 getField() + { + return field; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetField(XmlField_2_4 newField, NotificationChain msgs) + { + XmlField_2_4 oldField = field; + field = newField; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__FIELD, oldField, newField); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId#getField Field}' containment reference. + * + * + * @param value the new value of the 'Field' containment reference. + * @see #getField() + * @generated + */ + public void setField(XmlField_2_4 newField) + { + if (newField != field) + { + NotificationChain msgs = null; + if (field != null) + msgs = ((InternalEObject)field).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__FIELD, null, msgs); + if (newField != null) + msgs = ((InternalEObject)newField).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__FIELD, null, msgs); + msgs = basicSetField(newField, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__FIELD, newField, newField)); + } + + /** + * Returns the value of the 'Cache Index' containment reference. + * + *+ * If the meaning of the 'Cache Index' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Cache Index' containment reference. + * @see #setCacheIndex(XmlCacheIndex_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlId_2_4_CacheIndex() + * @model containment="true" + * @generated + */ + public XmlCacheIndex_2_4 getCacheIndex() + { + return cacheIndex; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCacheIndex(XmlCacheIndex_2_4 newCacheIndex, NotificationChain msgs) + { + XmlCacheIndex_2_4 oldCacheIndex = cacheIndex; + cacheIndex = newCacheIndex; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__CACHE_INDEX, oldCacheIndex, newCacheIndex); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId#getCacheIndex Cache Index}' containment reference. + * + * + * @param value the new value of the 'Cache Index' containment reference. + * @see #getCacheIndex() + * @generated + */ + public void setCacheIndex(XmlCacheIndex_2_4 newCacheIndex) + { + if (newCacheIndex != cacheIndex) + { + NotificationChain msgs = null; + if (cacheIndex != null) + msgs = ((InternalEObject)cacheIndex).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__CACHE_INDEX, null, msgs); + if (newCacheIndex != null) + msgs = ((InternalEObject)newCacheIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__CACHE_INDEX, null, msgs); + msgs = basicSetCacheIndex(newCacheIndex, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__CACHE_INDEX, newCacheIndex, newCacheIndex)); + } + + /** + * Returns the value of the 'Uuid Generator' containment reference. + * + *+ * If the meaning of the 'Uuid Generator' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Uuid Generator' containment reference. + * @see #setUuidGenerator(XmlUuidGenerator_2_4) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlGeneratorContainer2_4_UuidGenerator() + * @model containment="true" + * @generated + */ + public XmlUuidGenerator_2_4 getUuidGenerator() + { + return uuidGenerator; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetUuidGenerator(XmlUuidGenerator_2_4 newUuidGenerator, NotificationChain msgs) + { + XmlUuidGenerator_2_4 oldUuidGenerator = uuidGenerator; + uuidGenerator = newUuidGenerator; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR, oldUuidGenerator, newUuidGenerator); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId#getUuidGenerator Uuid Generator}' containment reference. + * + * + * @param value the new value of the 'Uuid Generator' containment reference. + * @see #getUuidGenerator() + * @generated + */ + public void setUuidGenerator(XmlUuidGenerator_2_4 newUuidGenerator) + { + if (newUuidGenerator != uuidGenerator) + { + NotificationChain msgs = null; + if (uuidGenerator != null) + msgs = ((InternalEObject)uuidGenerator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR, null, msgs); + if (newUuidGenerator != null) + msgs = ((InternalEObject)newUuidGenerator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR, null, msgs); + msgs = basicSetUuidGenerator(newUuidGenerator, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__UUID_GENERATOR, newUuidGenerator, newUuidGenerator)); + } + + /** + * Returns the value of the 'Mutable' attribute. + * + *+ * If the meaning of the 'Mutable' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Mutable' attribute. + * @see #setMutable(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMutable_Mutable() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getMutable() + { + return mutable; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId#getMutable Mutable}' attribute. + * + * + * @param value the new value of the 'Mutable' attribute. + * @see #getMutable() + * @generated + */ + public void setMutable(Boolean newMutable) + { + Boolean oldMutable = mutable; + mutable = newMutable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__MUTABLE, oldMutable, mutable)); + } + + /** + * Returns the value of the 'Convert' attribute. + * + *+ * If the meaning of the 'Convert' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Convert' attribute. + * @see #setConvert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConvertibleMapping_Convert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getConvert() + { + return convert; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId#getConvert Convert}' attribute. + * + * + * @param value the new value of the 'Convert' attribute. + * @see #getConvert() + * @generated + */ + public void setConvert(String newConvert) + { + String oldConvert = convert; + convert = newConvert; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__CONVERT, oldConvert, convert)); + } + + /** + * Returns the value of the 'Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter}. + * + *+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_TypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Object Type Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Object Type Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_ObjectTypeConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Struct Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Struct Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_StructConverters() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Access Methods' containment reference isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Access Methods' containment reference. + * @see #setAccessMethods(XmlAccessMethods) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlAccessMethodsHolder_AccessMethods() + * @model containment="true" + * @generated + */ + public XmlAccessMethods getAccessMethods() + { + return accessMethods; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetAccessMethods(XmlAccessMethods newAccessMethods, NotificationChain msgs) + { + XmlAccessMethods oldAccessMethods = accessMethods; + accessMethods = newAccessMethods; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS, oldAccessMethods, newAccessMethods); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlId#getAccessMethods Access Methods}' containment reference. + * + * + * @param value the new value of the 'Access Methods' 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_ID__ACCESS_METHODS, null, msgs); + if (newAccessMethods != null) + msgs = ((InternalEObject)newAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS, null, msgs); + msgs = basicSetAccessMethods(newAccessMethods, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_ID__ACCESS_METHODS, newAccessMethods, newAccessMethods)); + } + + /** + * Returns the value of the 'Properties' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlProperty}. + * + *+ * If the meaning of the 'Properties' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Properties' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlPropertyContainer_Properties() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex_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.jpa.eclipselink.core.resource.orm.XmlIndex#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_INDEX__NAME, oldName, name)); + } + + /** + * Returns the value of the 'Schema' attribute. + * + *+ * If the meaning of the 'Schema' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Schema' attribute. + * @see #setSchema(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex_2_2_Schema() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getSchema() + { + return schema; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex#getSchema Schema}' attribute. + * + * + * @param value the new value of the 'Schema' attribute. + * @see #getSchema() + * @generated + */ + public void setSchema(String newSchema) + { + String oldSchema = schema; + schema = newSchema; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_INDEX__SCHEMA, oldSchema, schema)); + } + + /** + * Returns the value of the 'Catalog' attribute. + * + *+ * If the meaning of the 'Catalog' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Catalog' attribute. + * @see #setCatalog(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex_2_2_Catalog() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getCatalog() + { + return catalog; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex#getCatalog Catalog}' attribute. + * + * + * @param value the new value of the 'Catalog' attribute. + * @see #getCatalog() + * @generated + */ + public void setCatalog(String newCatalog) + { + String oldCatalog = catalog; + catalog = newCatalog; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_INDEX__CATALOG, oldCatalog, catalog)); + } + + /** + * Returns the value of the 'Table' attribute. + * + *+ * If the meaning of the 'Table' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Table' attribute. + * @see #setTable(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex_2_2_Table() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getTable() + { + return table; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex#getTable Table}' attribute. + * + * + * @param value the new value of the 'Table' attribute. + * @see #getTable() + * @generated + */ + public void setTable(String newTable) + { + String oldTable = table; + table = newTable; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_INDEX__TABLE, oldTable, table)); + } + + /** + * Returns the value of the 'Unique' attribute. + * + *+ * If the meaning of the 'Unique' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Unique' attribute. + * @see #setUnique(Boolean) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex_2_2_Unique() + * @model dataType="org.eclipse.emf.ecore.xml.type.BooleanObject" + * @generated + */ + public Boolean getUnique() + { + return unique; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlIndex#getUnique Unique}' attribute. + * + * + * @param value the new value of the 'Unique' attribute. + * @see #getUnique() + * @generated + */ + public void setUnique(Boolean newUnique) + { + Boolean oldUnique = unique; + unique = newUnique; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_INDEX__UNIQUE, oldUnique, unique)); + } + + /** + * Returns the value of the 'Column Names' attribute list. + * The list contents are of type {@link java.lang.String}. + * + *+ * If the meaning of the 'Column Names' attribute list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Column Names' attribute list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlIndex_2_2_ColumnNames() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public EList+ * The following features are supported: + *
+ * If the meaning of the 'Join Fetch' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Join Fetch' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @see #setJoinFetch(XmlJoinFetchType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch_JoinFetch() + * @model + * @generated + */ + XmlJoinFetchType getJoinFetch(); + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetch#getJoinFetch Join Fetch}' attribute. + * + * + * @param value the new value of the 'Join Fetch' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @see #getJoinFetch() + * @generated + */ + void setJoinFetch(XmlJoinFetchType value); + + /** + * Return the {@link TextRange} for the join-fetch element. + */ + TextRange getJoinFetchTextRange(); +} \ No newline at end of file diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetchType.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetchType.java new file mode 100644 index 0000000000..aa19b9044f --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinFetchType.java @@ -0,0 +1,242 @@ +/******************************************************************************* + * Copyright (c) 2009 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.jpa.eclipselink.core.resource.orm; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * + * A representation of the literals of the enumeration 'Xml Join Fetch Type', + * and utility methods for working with them. + * + * 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. + * + * @version 2.1 + * @since 2.1 + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetchType() + * @model + * @generated + */ +public enum XmlJoinFetchType implements Enumerator +{ + /** + * The 'INNER' literal object. + * + * + * @see #INNER_VALUE + * @generated + * @ordered + */ + INNER(0, "INNER", "INNER"), + + /** + * The 'OUTER' literal object. + * + * + * @see #OUTER_VALUE + * @generated + * @ordered + */ + OUTER(1, "OUTER", "OUTER"); + + /** + * The 'INNER' literal value. + * + *+ * If the meaning of 'INNER' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #INNER + * @model + * @generated + * @ordered + */ + public static final int INNER_VALUE = 0; + + /** + * The 'OUTER' literal value. + * + *+ * If the meaning of 'OUTER' literal object isn't clear, + * there really should be more of a description here... + *
+ * + * @see #OUTER + * @model + * @generated + * @ordered + */ + public static final int OUTER_VALUE = 1; + + /** + * An array of all the 'Xml Join Fetch Type' enumerators. + * + * + * @generated + */ + private static final XmlJoinFetchType[] VALUES_ARRAY = + new XmlJoinFetchType[] + { + INNER, + OUTER, + }; + + /** + * A public read-only list of all the 'Xml Join Fetch Type' enumerators. + * + * + * @generated + */ + public static final List+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinField_2_4_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.jpa.eclipselink.core.resource.orm.XmlJoinField#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_JOIN_FIELD__NAME, oldName, name)); + } + + /** + * Returns the value of the 'Referenced Field Name' attribute. + * + *+ * If the meaning of the 'Referenced Field Name' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Referenced Field Name' attribute. + * @see #setReferencedFieldName(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinField_2_4_ReferencedFieldName() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getReferencedFieldName() + { + return referencedFieldName; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinField#getReferencedFieldName Referenced Field Name}' attribute. + * + * + * @param value the new value of the 'Referenced Field Name' attribute. + * @see #getReferencedFieldName() + * @generated + */ + public void setReferencedFieldName(String newReferencedFieldName) + { + String oldReferencedFieldName = referencedFieldName; + referencedFieldName = newReferencedFieldName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_JOIN_FIELD__REFERENCED_FIELD_NAME, oldReferencedFieldName, referencedFieldName)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FIELD__NAME: + return getName(); + case EclipseLinkOrmPackage.XML_JOIN_FIELD__REFERENCED_FIELD_NAME: + return getReferencedFieldName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FIELD__NAME: + setName((String)newValue); + return; + case EclipseLinkOrmPackage.XML_JOIN_FIELD__REFERENCED_FIELD_NAME: + setReferencedFieldName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FIELD__NAME: + setName(NAME_EDEFAULT); + return; + case EclipseLinkOrmPackage.XML_JOIN_FIELD__REFERENCED_FIELD_NAME: + setReferencedFieldName(REFERENCED_FIELD_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_JOIN_FIELD__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case EclipseLinkOrmPackage.XML_JOIN_FIELD__REFERENCED_FIELD_NAME: + return REFERENCED_FIELD_NAME_EDEFAULT == null ? referencedFieldName != null : !REFERENCED_FIELD_NAME_EDEFAULT.equals(referencedFieldName); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", referencedFieldName: "); + result.append(referencedFieldName); + result.append(')'); + return result.toString(); + } + + // ********** translators ********** + + public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { + return new SimpleTranslator( + elementName, + structuralFeature, + EclipseLinkOrmPackage.eINSTANCE.getXmlJoinField(), + buildTranslatorChildren()); + } + + private static Translator[] buildTranslatorChildren() { + return new Translator[] { + buildNameTranslator(), + buildReferencedFieldNameTranslator(), + }; + } + + protected static Translator buildNameTranslator() { + return new Translator(EclipseLink2_4.JOIN_FIELD__NAME, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlJoinField_2_4_Name(), Translator.DOM_ATTRIBUTE); + } + + protected static Translator buildReferencedFieldNameTranslator() { + return new Translator(EclipseLink2_4.JOIN_FIELD__REFERENCED_FIELD_NAME, EclipseLinkOrmV2_4Package.eINSTANCE.getXmlJoinField_2_4_ReferencedFieldName(), Translator.DOM_ATTRIBUTE); + } +} // XmlJoinField diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinTable.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinTable.java new file mode 100644 index 0000000000..2130b58880 --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlJoinTable.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.jpa.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.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlJoinTable_2_2; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * A representation of the model object 'Xml Join Table'. + * + * 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. + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinTable() + * @model kind="class" + * @generated + */ +public class XmlJoinTable extends org.eclipse.jpt.jpa.core.resource.orm.XmlJoinTable implements XmlJoinTable_2_2 +{ + /** + * The default value of the '{@link #getCreationSuffix() Creation Suffix}' attribute. + * + * + * @see #getCreationSuffix() + * @generated + * @ordered + */ + protected static final String CREATION_SUFFIX_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCreationSuffix() Creation Suffix}' attribute. + * + * + * @see #getCreationSuffix() + * @generated + * @ordered + */ + protected String creationSuffix = CREATION_SUFFIX_EDEFAULT; + + /** + * + * + * @generated + */ + protected XmlJoinTable() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return EclipseLinkOrmPackage.Literals.XML_JOIN_TABLE; + } + + /** + * Returns the value of the 'Creation Suffix' attribute. + * + *+ * If the meaning of the 'Creation Suffix' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Creation Suffix' attribute. + * @see #setCreationSuffix(String) + * @see org.eclipse.jpt.jpa.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.jpa.eclipselink.core.resource.orm.XmlJoinTable#getCreationSuffix Creation Suffix}' attribute. + * + * + * @param value the new value of the 'Creation Suffix' 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)); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case EclipseLinkOrmPackage.XML_JOIN_TABLE__CREATION_SUFFIX: + setCreationSuffix(CREATION_SUFFIX_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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); + } + + /** + * + * + * @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.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToMany.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToMany.java new file mode 100644 index 0000000000..685591f9fd --- /dev/null +++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/model/src/org/eclipse/jpt/jpa/eclipselink/core/resource/orm/XmlManyToMany.java @@ -0,0 +1,2129 @@ +/******************************************************************************* + * Copyright (c) 2008, 2012 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.jpa.eclipselink.core.resource.orm; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +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.EStructuralFeature; +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.common.core.internal.utility.translators.EmptyTagBooleanTranslator; +import org.eclipse.jpt.common.core.internal.utility.translators.SimpleTranslator; +import org.eclipse.jpt.common.core.utility.TextRange; +import org.eclipse.jpt.jpa.core.resource.orm.CascadeType; +import org.eclipse.jpt.jpa.core.resource.orm.JPA; +import org.eclipse.jpt.jpa.core.resource.orm.OrmPackage; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride; +import org.eclipse.jpt.jpa.core.resource.orm.XmlAttributeOverride; +import org.eclipse.jpt.jpa.core.resource.orm.v2_0.JPA2_0; +import org.eclipse.jpt.jpa.core.resource.orm.v2_0.OrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLink2_0; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.EclipseLinkOrmV2_0Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlCollectionMapping_2_0; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlManyToMany_2_0; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_0.XmlMapKeyAssociationOverrideContainer_2_0; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.EclipseLink2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_1.XmlManyToMany_2_1; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLink2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.EclipseLinkOrmV2_2Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlHashPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlManyToMany_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioningGroup_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlPinnedPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRangePartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlReplicationPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlRoundRobinPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlUnionPartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_2.XmlValuePartitioning_2_2; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLink2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.EclipseLinkOrmV2_4Package; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlJoinField_2_4; +import org.eclipse.jpt.jpa.eclipselink.core.resource.orm.v2_4.XmlManyToMany_2_4; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * + * + * A representation of the model object 'Xml Many To Many'. + * + * 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. + * + * @version 2.3 + * @since 2.1 + * + * + * + * + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlManyToMany() + * @model kind="class" + * @generated + */ +public class XmlManyToMany extends org.eclipse.jpt.jpa.core.resource.orm.XmlManyToMany implements XmlManyToMany_2_0, XmlManyToMany_2_1, XmlManyToMany_2_2, XmlManyToMany_2_4, XmlAttributeMapping, XmlJoinFetch +{ + /** + * The cached value of the '{@link #getMapKeyAssociationOverrides() Map Key Association Overrides}' containment reference list. + * + * + * @see #getMapKeyAssociationOverrides() + * @generated + * @ordered + */ + protected EList+ * If the meaning of the 'Join Fetch' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Join Fetch' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @see #setJoinFetch(XmlJoinFetchType) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlJoinFetch_JoinFetch() + * @model + * @generated + */ + public XmlJoinFetchType getJoinFetch() + { + return joinFetch; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#getJoinFetch Join Fetch}' attribute. + * + * + * @param value the new value of the 'Join Fetch' attribute. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlJoinFetchType + * @see #getJoinFetch() + * @generated + */ + public void setJoinFetch(XmlJoinFetchType newJoinFetch) + { + XmlJoinFetchType oldJoinFetch = joinFetch; + joinFetch = newJoinFetch == null ? JOIN_FETCH_EDEFAULT : newJoinFetch; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__JOIN_FETCH, oldJoinFetch, joinFetch)); + } + + /** + * Returns the value of the 'Map Key Association Overrides' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.core.resource.orm.XmlAssociationOverride}. + * + *+ * If the meaning of the 'Map Key Association Overrides' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Map Key Association Overrides' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlMapKeyAssociationOverrideContainer_2_0_MapKeyAssociationOverrides() + * @model containment="true" + * @generated + */ + public EList+ * If the meaning of the 'Map Key Convert' attribute isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Map Key Convert' attribute. + * @see #setMapKeyConvert(String) + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlCollectionMapping_2_0_MapKeyConvert() + * @model dataType="org.eclipse.emf.ecore.xml.type.String" + * @generated + */ + public String getMapKeyConvert() + { + return mapKeyConvert; + } + + /** + * Sets the value of the '{@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlManyToMany#getMapKeyConvert Map Key Convert}' attribute. + * + * + * @param value the new value of the 'Map Key Convert' attribute. + * @see #getMapKeyConvert() + * @generated + */ + public void setMapKeyConvert(String newMapKeyConvert) + { + String oldMapKeyConvert = mapKeyConvert; + mapKeyConvert = newMapKeyConvert; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, EclipseLinkOrmPackage.XML_MANY_TO_MANY__MAP_KEY_CONVERT, oldMapKeyConvert, mapKeyConvert)); + } + + /** + * Returns the value of the 'Converters' containment reference list. + * The list contents are of type {@link org.eclipse.jpt.jpa.eclipselink.core.resource.orm.XmlConverter}. + * + *+ * If the meaning of the 'Converters' containment reference list isn't clear, + * there really should be more of a description here... + *
+ * + * @return the value of the 'Converters' containment reference list. + * @see org.eclipse.jpt.jpa.eclipselink.core.resource.orm.EclipseLinkOrmPackage#getXmlConverterContainer_Converters() + * @model containment="true" + * @generated + */ + public EList